Default startup page on Ubuntu guest session

I’ve been setting up some salvaged laptops for a local refugee center, running linux, and wanted to open a webpage automatically with useful information when a user logs on as guest. I did some googling, but found the explanations pretty confusing and convoluted. The solution is pretty simple, when you first figure it out. This… Fortsett å lese Default startup page on Ubuntu guest session

Using coauthors plus in your theme

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /customers/7/5/b/pappmaskin.no/httpd.www/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Had kind of a hard time trying to find documentation for how to implement coauthor plus in single.php or sidebar.php, so I wanted to share the code I used for p3.no/filmpolitiet (remove the debug part when you’re finished testing). Test: https://pappmaskin.no/2013/01/test-coauthors-plus/?debug=1 1 2 3 4 5 6 7 8 9 10 11 12 13 14… Fortsett å lese Using coauthors plus in your theme

Publisert
Kategorisert som Code, Testing

How to make the Get The Image WordPress plugin to work with TimThumb and Related posts

I’ve been using the wordpress plugin ‘Get the Image‘ by developer Justin Tadlock for a while. ‘Get the image’ does a fantastic job searching through posts looking for images, so you don’t have to add thumbnails manually, but it always bothered me that it downscaled images in the html instead of scaling and cropping them… Fortsett å lese How to make the Get The Image WordPress plugin to work with TimThumb and Related posts

Code: Delicious.com + Thumbalizr screenshots + caching

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /customers/7/5/b/pappmaskin.no/httpd.www/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

I’m playing with my Delicious Snapcasa code this weekend to see if I can replace Snapcasa with the thumbalizr.com screenshot-service. Snapcasa was great because it gave me plenty of free captures each month, but it has some serious problems capturing some of the sites I throw at it, and was behaving rather randomly, so it… Fortsett å lese Code: Delicious.com + Thumbalizr screenshots + caching

Playing with SnapCasa screenshots and del.icio.us

Tonights nerdfest will include trying to use the SnapCasa and del.icio.us to generate a lovely page full of thumbnails, one for each url. Ingredients: 1. My 100 latest bookmarked urls from del.icio.us: http://feeds.delicious.com/v2/rss/mskogly?count=100 2. A SnapCasa login account. 3. A server that supports xslt transformation. (I’m running MAMP on my macbook, and pappmaskin is hosted… Fortsett å lese Playing with SnapCasa screenshots and del.icio.us

Processing: Sketch_081001a, and how to embed a sketch in a wordpress post

I downloaded my first copy of Processing (Processing.org) a few years ago, but I have never gotten past the initial few demos and small tutorials. I’ve been interested in generative computer art for many years, ever since I first saw the work of Marius Watz in the mid nineties and had a stint reading dadaist… Fortsett å lese Processing: Sketch_081001a, and how to embed a sketch in a wordpress post

Open source flash-based sound sequenzer

I’ve been thinking alot about making a soundbased installation in Adobe Flash, using sensors and switches, and I’ve gotten around to making a few small eksperiments/prototypes as research, which I’m planning to share on this site later. But I also found this old experiment I wrote in Flash 5 (!) and wanted to share it.… Fortsett å lese Open source flash-based sound sequenzer

Code: Showing a list of youtube videos using gdata and xslt with php

Let’s start with a little demonstration. The section below is made by calling the php-script https://pappmaskin.no/opensource/youtube/youtube.php?s=super&max=9 within an iframe: Why iframe? Just to make it easier to reuse and embed Youtube videos on different sites, and because it makes it easier to try out new ideas without adding messy bits to a larger project. Sort… Fortsett å lese Code: Showing a list of youtube videos using gdata and xslt with php

Code: Gameinfo + Gametrailers + Youtube Mashup

Norsk? Du finner en norsk versjon av denne artikkelen på NrkBeta.no I recently made a Gameinfo service for spiller.no. It pulls in licenced gameinfo from our partner GameXplore though XML, and combines it with a search for related videoes from Youtube before it is presented on the page. Example: FIFA STREET 3 Gameinfo – NRK… Fortsett å lese Code: Gameinfo + Gametrailers + Youtube Mashup