Skip to content

Instantly share code, notes, and snippets.

View electricgecko's full-sized avatar

Malte Müller electricgecko

View GitHub Profile
(1)
hotel krafft
https://goo.gl/maps/vn8AU5a6uRH2
megagutes frühstück und top-ort, um (2) zu beginnen
(2)
den rhein runtertreiben lassen. dinge in einen wickelfisch packen (gibts im krafft), dann r(h)einspringen.
(3)
schaulager

Keybase proof

I hereby claim:

  • I am electricgecko on github.
  • I am electricgecko (https://keybase.io/electricgecko) on keybase.
  • I have a public key ASBjgdfOA62u4QfCpHkM1nSqHvEP9GEb2fpxOLZE2xofMgo

To claim this, I am signing this object:

@electricgecko
electricgecko / index.php
Created June 24, 2017 19:26
Simple rotonde feed emitter
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: PUT, GET, POST, DELETE, OPTIONS");
header("Access-Control-Allow-Headers: *");
$f = 'feed.json';
$feed = json_decode(file_get_contents($f), true);
echo json_encode($feed, JSON_UNESCAPED_SLASHES);
?>
html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, a, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, input, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
outline: 0;
text-decoration: none;
font-weight: normal;
font-size: 1em;
}
@electricgecko
electricgecko / rotonde-post.php
Last active June 25, 2017 10:53
Super simple and crappy php script to post to Rotonde feeds (→ https://github.com/XXIIVV/vessel.rotonde/blob/master/DIALOG.md)
<?php
ob_start();
session_start();
$userinfo = array(
'USERNAME' => 'FOO'
);
if(isset($_GET['logout'])) {
@electricgecko
electricgecko / → imgsrc
Last active June 16, 2022 23:29
Very simple bookmarklet to initiate a Google reverse image search on the currently displayed image file.
javascript:%20(function%20()%20%7Burl%20=%20location.href;location.href%20=%20'https://www.google.com/searchbyimage?&image_url='+url;%7D());
@electricgecko
electricgecko / bash
Last active August 29, 2015 14:14
Bash configuration
export PATH="/usr/local/mysql/bin:$PATH"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session as a function
export PS1="\n\u@\h/\w > "
export EDITOR=/usr/bin/nano