Skip to content

Instantly share code, notes, and snippets.

View syranez's full-sized avatar

Michael Nowack syranez

  • Würzburg, Germany
View GitHub Profile
@syranez
syranez / catpron_bookmarklet
Last active October 12, 2015 00:08
Catpron Bookmarklet. (Best viewed in Firefox) (Improved version)
javascript:var f=document.createElement("style");f.setAttribute("type","text/css");f.innerHTML='*:before{content:"CAT";color:green;font-size:xx-large;}*:after{content:"PRON";text-decoration:blink;color:red;font-size:xx-large;}';document.body.appendChild(f);
  1. Apple MacBook Air 13" (2.047,99 € inkl. MwSt)
  • 2,0 GHz Intel Dual-Core Core i7 Prozessor (Turbo Boost bis zu 3,2 GHz)
  • 8 GB 1600 MHz DDR3L SDRAM
  • Beleuchtete Tastatur (Englisch, International) & Benutzerhandbuch (Englisch)
  • AppleCare Protection Plan für MacBook Air / 13-inch MacBook Pro - Auto-enroll
  1. Asus G75VW-T1124V (1.629,00 € inkl. MwSt)
15 "win": {¬
14 "slot1": {¬
13 "type": "Edelholz",¬
12 "count": 1600¬
11 },¬
10 "slot2": {¬
9
^_^ (master)[16:57][syranez@elis:~/test3]$ git clone https://github.com/Syranez/npm-module-skeleton.git
Cloning into 'npm-module-skeleton'...
Username for 'github.com':
@syranez
syranez / ioool.md
Created September 14, 2012 19:41
My NAS

NAS

Use Gentoo as base system for all non-storage work. Use FreeNAS with KVM for storage work.

  • two 3 TB drives, raid 1, dm-crypt
    • hard drive backup
    • 3 TB storage
  • expandable up to 6 TB
  • software raid
  • stylish
@syranez
syranez / heise.de.js
Created September 5, 2012 17:09
Fix strange font size in paragraphs after first.
$("#news .meldung_wrapper p").css({"font-size": "1em"});
@syranez
syranez / lame_macro-1.md
Created July 22, 2012 11:20
lame macro example in vim

Todo: Delete the second 'o'.

foobar
foobar
foobar
foobar
foobar

In vim with macro:

@syranez
syranez / parser-test.js
Created July 21, 2012 20:53
Busterjs-Testcase for nolp-parser.
var buster = require("buster");
var fs = require("fs");
var parser = require("../../lib/nolp/parser.js");
buster.testCase("parse_dataset-1", {
"setUp": function setUp (done) {
var file = "./data/dataset-1.html";
@syranez
syranez / syranez.gpg
Created July 20, 2012 21:27
My gpg public key.
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.17 (GNU/Linux)
mQINBFAJ1iIBEADT/5kFFV/fEmdH4y5jUutwKAf5hS0oIYeImuXmrfVFpNROOF/f
B9lLRPUfZa4MerSmPzwdf4O/JG5L8Cm0CBwI0Sovxzj2856RG4r9hvSuIsVRamN6
Qf1RWh+sgY2JyvDFXvQKoS/U/3UISr1Seh8G+GgDlnFchEzv4ZXODCXMcu73n3ke
z5g/aO6d18OG7LuPuZCei3GRKU6AyheO+puOv/LQ/R+clOU5ByCecxrarbA6eT8L
6jceQnB0+gTOlvYGLeQXWHmoaNvkqi2S+1p9ZNSsMb3f1Dv6FciZwardgQ95/E1l
1ax9n8mhXzLtkRuKxP+tZ2BkMzxSo2Px5t92Z1hRCtOqap7toPlZwyBsrs6IPArJ
7qnWijBBA1MaZIeFlhgcdedXOxJJEiiw0Pe51GrG0TPSUcYgSZWTkBBolG1ju9u7
@syranez
syranez / gist:3132070
Created July 17, 2012 21:05
dhl-tracking: 1.1.1-beta ups test
[2255][ups][syranez@elis:~/repos/dhl]$ node test/ups.js
not yet :(
Step: 0 at Monday, July 16th 2012, 02:40 on United States that: Order Processed: Ready for UPS
Step: 1 at Monday, July 16th 2012, 09:02 on that: Origin Scan
Step: 2 at Monday, July 16th 2012, 10:05 on Obetz, OH, United States that: Departure Scan
Step: 3 at Monday, July 16th 2012, 10:06 on that: Arrival Scan
Step: 4 at Monday, July 16th 2012, 11:50 on Columbus, OH, United States that: Departure Scan
Step: 5 at Tuesday, July 17th 2012, 06:34 on Koeln, Germany that: Package data processed by brokerage. Waiting for clearance.
Step: 6 at Tuesday, July 17th 2012, 12:43 on that: Arrival Scan
Step: 7 at Tuesday, July 17th 2012, 01:48 on Louisville, KY, United States that: Export Scan