Skip to content

Instantly share code, notes, and snippets.

View felixfischer's full-sized avatar

Felix Fischer felixfischer

View GitHub Profile
@felixfischer
felixfischer / dotfiles
Created February 19, 2012 20:59
install dotfiles
git clone https://github.com/felixfischer/dotfiles.git ~/dotfiles
mv -bf ~/dotfiles/* ~/dotfiles/.* ~
rm -rf ~/dotfiles
cd ~
@felixfischer
felixfischer / sc-dl-min.js
Created May 6, 2012 13:58 — forked from duncanbeevers/sc-dl-min.js
Bookmarklet that generates download link for a Soundcloud upload
(function(a){function f(a){var b=a.find(".actionbar");return b.length?b:a.prepend('<div class="actionbar"><div class="actions"><div class="primary"></div></div></div>')}function e(a,b){var c=b.find(".actions"),d=c.find(".download");d.length||c.prepend('<a href="'+a.streamUrl+'" class="download pl-button" download="'+a.title+'" title="'+a.title+'">Download track</a>')}function d(a,b){var d=null;b.hasClass("nano")?d=f(b.closest(".track-title").find(".track")).css({marginLeft:"18px"}):b.hasClass("small")&&(d=f(b.find(".container"))),d&&c(a,d)}function c(a,b){var c=b.find(".download, .mock-download");if(!c.length){var d=$('<a class="pl-button mock-download"><span>Download</span></a>').css({backgroundImage:"url(http://soundcloud.com/images/icons_mini.png?unicorn26)",backgroundRepeat:"no-repeat",backgroundPosition:"-77px -236px",paddingLeft:"18px"}).attr("download",a.title+".mp3");b.find(".primary").append(d),d.attr("href",a.streamUrl)}}function b(a){var b=$.helpers,f=b.getPlayerTrack(b.getPlayerNode(a)),g=a.find("
<h1>HTML Test Page</h1>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
<h2>Heading 2</h2>
I've had twelve years to think about it. And if I had it to do over again, I would have grabbed the phaser and pointed it at you instead of them. Could someone survive inside a transporter buffer for 75 years? Maybe we better talk out here; the observation lounge has turned into a swamp. Now, how the hell do we defeat an enemy that knows us better than we know ourselves?
Blockquote:
<blockquote>Now we know what they mean by 'advanced' tactical training. We know you're dealing in stolen ore. But I wanna talk about the assassination attempt on Lieutenant Worf. The look in your eyes, I recognize it. You used to have it for me. Earl Grey tea, watercress sandwiches... and Bulari
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="de-DE">
<info>
<title>Harvard - Institut für Praxisforschung (Bahr &amp; Frackmann) (German)</title>
<id>http://www.zotero.org/styles/harvard-institut-fur-praxisforschung-de</id>
<link href="http://www.zotero.org/styles/harvard-institut-fur-praxisforschung-de" rel="self"/>
<link href="http://www.zotero.org/styles/harvard7de" rel="template"/>
<link href="http://www.institut-praxisforschung.ch/Portals/0/Jonas/Harvard-Zitierweise.pdf" rel="documentation"/>
<!--please e-mail me about bugs, suggestions etc! saskia.mestern@gmail.com -->
<!-- useful things:
@felixfischer
felixfischer / do-droplet-init.sh
Last active August 29, 2015 14:03
DigitalOcean Droplet initialization
# execute this script by running the following command as root on your droplet
# bash -c "$(curl -fsSL https://gist.githubusercontent.com/felixfischer/8f27e053e8d551e4f417/raw/do-droplet-init.sh)"
echo -e "\n--> Fixing locale warnings\n"
locale-gen de_DE.UTF-8
echo -e "\n--> Updating the system\n"
apt-get update
apt-get -y upgrade
@felixfischer
felixfischer / gitlab2dokku.sh
Last active September 8, 2016 11:51
Install GitLab as Docker Container in Dokku on DigitalOcean's Dokku Droplet (v0.2.3 on Ubuntu 14.04)
# execute this script by running the following command as root on your droplet:
# bash -c "$(curl -fsSL https://gist.githubusercontent.com/felixfischer/09b3925afa33c5e4c60d/raw/gitlab2dokku.sh)"
# inspired by http://blog.bytemark.co.uk/2014/05/23/deploy-gitlab-on-your-own-server-using-dokku
mkdir -p /var/lib/dokku/plugins
cd /var/lib/dokku/plugins
git clone https://github.com/statianzo/dokku-supervisord.git dokku-supervisord
dokku plugins-install
@felixfischer
felixfischer / russian-banks.txt
Last active October 27, 2021 20:54
List of Russian Banks
"AJSIAJSIAJ BANK EVRAZIYa" (OOO)
"ALOR BANK" (OAO)
"ANKOR BANK" (OAO)
"AZIATSKO-TIKhOOKEANSKIJ BANK" (OAO)
"BANK "MBA-MOSKVA" OOO
"BANK KREMLEVSKIJ" OOO
"BANK24.RU"(OAO)
"BMV BANK" OOO
"BNP PARIBA" ZAO
"BRATSKIJ ANKB" OAO
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'