Test: Embed Sketchup model in wordpress (via Tinkerpad)

Published mars 16th, 2018 by

* not really a chatbot, more like a multibranched scripted conversation.

Posted in Testing

Web accessibility test using wave.webaim.org

Published november 10th, 2017 by

The purpose of this post is to add different types of content to check if it validates when running it through Wave (web accessibility evaluation tool), available at http://wave.webaim.org or as a google extension.


Posted in Testing

Trumps speech according to speech recognition

Published januar 20th, 2017 by

The following text is an automatic transcription of Donald Trump's inaugoration speech, made using the vanilla window.SpeechRecognition in javascript, code provided by the lovely Wes Bos with a few small additions by me.


Posted in Testing

Drawing with JS part 1

Published januar 14th, 2017 by

A few experiments using javascript to draw or generate graphics.


Via http://printingcode.runemadsen.com/examples/

See the Pen Rune.js 3 Manipulates the outline of a polygon by changing the position of its vectors. by Morten Skogly (@mskogly) on CodePen.

See the Pen Rune.js 8 Loop by Morten Skogly (@mskogly) on CodePen.

See the Pen Rune.js 4 Noise by Morten Skogly (@mskogly) on CodePen.

See the Pen Rune.js 5 Pintori Noise by Morten Skogly (@mskogly) on CodePen.

Autoruns, generates random polygon. Click rerun to … rerun.

See the Pen Rune by Morten Skogly (@mskogly) on CodePen.

Via http://printingcode.runemadsen.com/lecture-form-2/
Documentation: http://runemadsen.github.io/rune.js/documentation.html

See the Pen Rune.js 2 by Morten Skogly (@mskogly) on CodePen.

Vanilla js using canvas, via https://javascript30.com/

Click and drag to draw.

See the Pen Html5 canvas – Drawing 1 by Morten Skogly (@mskogly) on CodePen.

See the Pen Html5 canvas – Drawing 2 by Morten Skogly (@mskogly) on CodePen.

Posted in Art, Code, Testing


Published september 10th, 2014 by

Universell utforming test:
Party & bullshit




Test youmax plugin
[youmaxpro id=»11434″ name=»NRK P3 Playlist of channel»]

waltz no.1 elliott smith




spotify:search:track:castle on the hill artist:ed sheeran

Castle on the hill Ed Sheeran





Using coauthors plus in your theme

Published januar 1st, 2013 by

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: http://pappmaskin.no/2013/01/test-coauthors-plus/?debug=1

<!-- start coathors kode -->
			$debug = 0;
			$debug =  $_GET["debug"];
			if (function_exists('get_coauthors') && $debug ==1) {
				echo "Sorry for the mess, site under construction"; 
				$coauthors = get_coauthors(); // $post_id ?
				<?php foreach( $coauthors as $coauthor ) : ?> 
				<?php $profilbilde = "";?>
				<div class="author-wrap">
				<div class="b_metaboks">
				<div class="b_skribent"> <a href="<?php echo site_url(); ?>/author/<?php echo $coauthor->user_login; ?>" title="Les artiklene til <?php echo $coauthor->display_name; ?>"><?php echo $coauthor->display_name; ?></a></div>
				<div class="b_epost"><a href="mailto:<?php echo $coauthor->user_email; ?>"><?php echo $coauthor->user_email; ?></a></div>
				<div class="b_bilde">
				<a href="<?php echo site_url(); ?>/author/<?php echo $coauthor->user_login; ?>" title="">
				<?php			 if($coauthor->profilbilde != "") { ?>
					<img alt="" src="<?php echo $coauthor->profilbilde; ?> " class="avatar avatar-100 photo" height="100" width="100"></a> 
					<?php } //end if coauthor profilbilde
				else {
				echo get_avatar($coauthor->user_email, $size = '100', $default = '' );
					//echo get_avatar(get_the_author_meta('user_email') , $size = '100', $default = '' );
				} //end else coauthor profilbilde ?>
				<div style="clear:both;"></div>                                      
				</div> <!-- avslutt .author-wrap -->
				<?php endforeach; //coauthors?>
				<?php } //end check function exists get coauthors ?>
			<!-- end coathors kode -->

Posted in Code, Testing

Pappmaskin.no according to wordle

Published august 31st, 2009 by

Wordle - Pappmaskin.no

Playing with Wordle. Cool way to make a quick visualization of your projects or websites.

Posted in Testing

«It’s friday and I’m in love», a Spotify collaborative playlist

Published mars 21st, 2009 by

I am a huge big fan of Spotify, it is basically running 24/7 at work and at home, but yesterday I wanted to test the collaborative playlist feature. I made a Spotify playlist called «It’s friday and I’m in love» and inviting people on Twitter to join in. The result was really interesting. We created a very strange soundtrack indeed, but I feel like people respected the theme set by the playlist name and first song, and without being explicitly asked to do so. The list even got Rick-rolled by someone adding «Never gonna give you up» on every other line (and then regretted and removed them again), which in my opinion is the ultimate honor.

Cute and social experiment, it almost feels like magic when you see the list growing by the minute.

Spotify is still very barren when it comes to social features, the collab lists is basically the only way you can interact with people at this point, but I am sure this will be expanded upon with new releases of the software, or with plugins. It sucks to not be able to see who adds a particular song, or to be able to comment and talk to people, so hopefully it won’t take too long before such features are added.

The list, as of March 21 2009:

Ps: All links open directly in the Spotify application. I you don’t have it installed you are out of luck. Read more about how I put it online at the bottom of this post.

Open the whole playlist: It’s friday and I’m in love

Or click on each track to listen to it:

Rick Astley – Never Gonna Give You Up

The Cure – Friday I’m in Love

The Levellers – What A Beautiful Day

The Cure – Just Like Heaven

Nena – 99 Luftballons

The Cure – Friday I’m in Love

Kiss – Love Gun

Katrina and the Waves – Walking On Sunshine

Billy Idol – Rebel Yell

Michael Jackson & The Jackson 5 – The Love You Save

Bo Kaspers Orkester – Dansa på min grav

Duffy – Mercy

Perry Como – Magic Moments

Beastie Boys – Girls

Yeah Yeah Yeahs – Date With the Night

The Lionheart Brothers – 50 Souls And A Discobowl

La Bionda – I Wanna Be Your Lover

Walter Wanderley – O Samba Brasileiro

Sufjan Stevens – Chicago

Ulf Lundell – Stackars jack

Norway – Jesus Girl

Yeah Yeah Yeahs – Gold Lion

Modest Mouse – Little Motel

The Thrills – Whatever Happened to Corey Haim?

Neil Young – Out on the Weekend

The Go! Team – Doing It Right

Stan Getz – Samba De Uma Nota So

Death Cab for Cutie – Marching Bands of Manhattan

Eels – Somebody Loves You

Copy – Thanks to the Pen

A Tribe Called Quest – Can I Kick It?

Belle and Sebastian – The Boy Done Wrong Again

A Tribe Called Quest – What?

Daryl Hall & John Oates – Rich Girl

Cab Calloway – Minnie The Moocher (The Ho-De-Ho Song)

Gerard Joling – Somewhere Over The Rainbow (Reggae Version)

Jason Mraz – I’m Yours

Rob Swift – Queens Lounge 2

Åge Aleksandersen – Fotbaill

The Doobie Brothers – What a Fool Believes

Steely Dan – Kid Charlemagne

Waylon Jennings – I’m A Ramblin’ Man

Grinderman – No Pussy Blues

Yelle – Jogging

Yelle – Ce jeu

Pixies – Where Is My Mind?

Mott The Hoople – All the Young Dudes

Bears – Girl With Clouds

Hasse Alfredson – Öl

Todd Rundgren – Can We Still Be Friends

Åge Aleksandersen – Rosalita

Wilco – Jesus, Etc.

The Highwaymen (Waylon Jennings, Willie Nelson, Johnny Cash, Kris Kristofferson) – Highwayman

Catherine Feeny – Hurricane Glass

The Band – The Weight

David Bowie – The Jean Genie

Gösta Jonsson – Samling vid pumpen

Åge Aleksandersen – Dains me dæ

Åge Aleksandersen – Ljus och värme

Åge Aleksandersen – Langt igjæn til Royal Albert Hall

Tom Waits – Christmas Card From a Hooker in Minneapolis

Yo La Tengo – Gentle Hour

TV on the Radio – Heroes

Pet Shop Boys – I Wouldn’t Normally Do This Kind Of Thing

Jokke – Paranoid

Eagles Of Death Metal – I Want You So Hard (Boy’s Bad News)

The Smiths – William It Was Really Nothing

Jackie Davis – Manana (Is Soon Enough For Me)

Poor Rich Ones – I Was Made For Loving You

Wall Of Voodoo – Mexican Radio

Paul Hardcastle – 19

Bryan Ferry – The Way You Look Tonight

The Magnetic Fields – Too Drunk to Dream

Bon Jovi – Livin’ on a Prayer

Foo Fighters – Monkey Wrench

Marit Larsen – Ten Steps

Vømmøl Spellmannslag – Auksjonsvisa

Flight Of The Conchords – Hiphopopotamus vs. Rhymenoceros (feat. Rhymenoceros and the Hiphopopotamus)

Flight Of The Conchords – Business Time

The Be Good Tanyas – When Doves Cry

Curt Haagers – Fågeldansen

Pulp – Babies

Flight Of The Conchords – The Prince of Parties

Grace Jones – La Vie En Rose

The Wiseguys – The Bounce

Infected Mushroom – Artillery

Terence Trent D’Arby – Sign Your Name

Paul Simon – How the Heart Approaches What It Yearns

The Cardigans – And Then You Kissed Me

Wyclef Jean featuring Mary J. Blige – 911

Chris Isaak – Wicked Game

Nick Cave & The Bad Seeds – Something’s Gotten Hold of My Heart

Queens Of The Stone Age – Feel Good Hit of the Summer

MC Hammer – U Can’t Touch This

Vanilla Ice – Ice Ice Baby

Buzzcocks – Ever Fallen in Love (With Someone You Shouldn’t’ve)

Jojje Wadenius – Kalles Klätterträd

Queens Of The Stone Age – In My Head

Mojinos Escozios – Mi Barrí de Servesa

Sonic Youth – Teen Age Riot

Prince & The Revolution – Raspberry Beret

Rainbow – Snowman

Prince – Slow Love

Ilene Woods – So This Is Love

Vanilla Ice – Stop That Train

Tenacious D – Tribute

Elvis Costello & The Attractions – The Other Side of Summer

The Magnetic Fields – The Luckiest Guy on the Lower East Side

Tenacious D – Fuck Her Gently

Pixies – Where Is My Mind? (Remastered)

Young MC – Bust a Move

Bros – When Will I Be Famous

New Kids On The Block – Hangin’ Tough

Jahn Teigen – Det Vakreste Som Fins

Jahn Teigen – Min Første Kjærlighet

Jahn Teigen – Optimist

Crowded House – Chocolate Cake

INXS – Need You Tonight

The Clash – Rock the Casbah

Tori Amos – My Favorite Things

I Was a Teenage Satan Worshipper – OMG, Techno Chicks!!!

Jerry Reed – East Bound & Down (Jerry Reed)

Billie Holiday – That Ole Devil Called Love

The White Stripes – I Just Don’t Know What to Do With Myself

Dusty Springfield – I Just Don’t Know What To Do With Myself

The Stooges – I Wanna Be Your Dog

The Stooges – No Fun

The Beach Boys – Kokomo

The Stooges – Down On The Street

Ramones – Judy Is a Punk

The Killers – When You Were Young

The Stone Roses – I Wanna Be Adored

Joy Division – Love Will Tear Us Apart

Jace Everett – Bad Things

The Jesus and Mary Chain – Just Like Honey

Stealers Wheel – Stuck In The Middle With You

George Baker Selection – Little Green Bag

Foals – Cassius

Liam Lynch – Electrician’s Day

The Vines – Autumn Shade II

T. Rex – Cosmic Dancer

T. Rex – Jeepster

The Verve – Bitter Sweet Symphony

The Clash – Clampdown

Jeff Buckley – Eternal Life

Jimi Hendrix Experience – All Along the Watchtower

They Might Be Giants – Infinity

XTC – Senses Working Overtime

The Specials – Our Lips Are Sealed

Depeche Mode – Never Let Me Down Again

Love and Rockets – Motorcycle

The Doors – Back Door Man

Lou Reed – I’m So Free

Boy George – Everything I Own

Morrissey – The More You Ignore Me The Closer I Get

MC Júnior E MC Leonardo – Rap Das Armas

ABBA – Dancing Queen

Kylie Minogue – The Loco-Motion

The The – Dogs Of Lust

Tricky – Hell Is Round the Corner

Tommy Tokyo & Starving For My Gravy – Derail And Demise

Living Colour – Glamour Boys

Mitch Hedberg – Mitch in the S’th

Mikael Wiehe och Ebba Forsberg – Allra minst en morgon

MC Lyte – Cold Rock A Party

Datarock – Fa-Fa-Fa

Nina Simone – Sinnerman

Bon Iver – Flume

Fred Åkerström – Jag ger dig min morgon

Sex Pistols – God Save The Queen

Gorillaz – Feel Good Inc.

Euroboys – One-Way Street

Simian – We Are Your Friends (Radio Edit)

Jay-Z – Brooklyn Go Hard [feat. Santogold]

Lupe Fiasco – Daydreamin’ Featuring Jill Scott

Arctic Monkeys – Dancing Shoes

Known collaborators (based on conversations on Twitter):

Eterg, lastninja1980, _Rolf_, mariusgenser, johanhal, Barstein, degarden, paljoakim, Markussss, nech

How to publish a Spotify playlist on the web the easy way
You might be wondering how I was able to put all the songs from the playlist in the post? Spotify still hasn’t got an API, so my plan was to actually build it by hand. I first tried to mark all the songs in the playlist and CTRL-C/APPLE-C them, but instead of a lovely list of artist and song names I got the http links to all the tracks, so there went that idea. But to my amasement something magic happened when I posted all the urls into Textedit on my macbook! All the urls got transformed into clickable links automatically! All I had to do was save the Textedit document as html and open it in my browser to test it, and it worked like a charm! Just a view source and a copy paste away from this blog post! (I believe the Spotify software needs to be running when you do this).

If you want to copy the nice Spotify URI direct links instead of the HTTP links you have to select all the songs in your list, the right click and choose «Copy Spotify URI».

There are alread plenty of sites where you can share your Spotify playlists, and when those can access a proper API I believe great things will happen. Spotify is already a fantastic product. When people can start adding cool stuff it will explode!

Posted in Social web, Testing, Trends

CoverItLive PirateBay trial #spectrial

Published februar 17th, 2009 by

Popp i nytt vindu

Posted in Testing