Skip to content

Instantly share code, notes, and snippets.

View robinsk's full-sized avatar
☁️

Robin Skoglund robinsk

☁️
View GitHub Profile
/**
* @fileOverview
* This file is a GreaseMonkey user script containing various Twitter hacks.
*
* Changelog
* ---------
* Version 1.0 (2009-11-07):
* - adds "Following you" to users in following/followers pages
*
* @author <a href="http://twitter.com/robinsk">Robin Skoglund</a>
#!/bin/sh
gconftool-2 -t string -s /desktop/gnome/url-handlers/spotify/command "env WINEPREFIX=\"$HOME/.wine\" wine \"C:\Program Files\Spotify\spotify.exe\" /uri %s"
gconftool-2 -t bool -s /desktop/gnome/url-handlers/spotify/needs_terminal false
gconftool-2 -t bool -s /desktop/gnome/url-handlers/spotify/enabled true
<buffer_manifest>
<refresh_intervals default="20">
</refresh_intervals>
<files>
<file>
<url>http://www.nrk.no/moreogromsdal/siste.rss</url>
<localFileName>83f7dfe2-74f0-40d2-8e61-587f74eef9be.xml</localFileName>
<lastAccess>633942234345690000</lastAccess>
</file>
<file>
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"
applicationComplete="appComplete()"
width="640"
height="480">
<fx:Script>
<![CDATA[
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
</dependency>
<dependency>
$services = [
foo,
bar,
baz,
bat
]
<plugin>
<groupId>org.fusesource.scalate</groupId>
<artifactId>maven-scalate-plugin_${scala.version}</artifactId>
<executions>
<execution>
<goals>
<goal>precompile</goal>
</goals>
</execution>
<%@ val it: no.ok.prk.adm.brukerinfo.Bruker %>
<tr onclick="location = '<%= uri("/bruker/" + it.brukernavn) %>'">
<td><a href="<%= uri("/bruker/" + it.brukernavn) %>"><%= it.brukernavn %></a></td>
<td><%= it.fornavn %> <%= it.etternavn %></td>
<td><%= it.epost %></td>
<td><%= it.brukertypeFormatert %></td>
<td><%= it.organisasjonNavn %></td>
</tr>
# mapping... something to something
"\e1": "©"
"\e2": "@"
"\e3": "£"
"\e4": "$"
"\e5": "âž"
"\e6": "§"
"\e7": "|"
"\e8": "["
"\e9": "]"
@robinsk
robinsk / 1_input.json
Last active August 29, 2015 14:08
JSON-query?
[
{
"id": 1,
"name": "Item number 1"
},
{
"id": 2,
"name": "A second item"
}
]