Skip to content

Instantly share code, notes, and snippets.


Philipp Tempel philipptempel

Block or report user

Report or block philipptempel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
shanselman / gist:5422230
Last active Apr 3, 2020
Evil Blog Comment Spammer just exposed his template through some error and the whole thing showed up in my comments.
View gist:5422230
{I have|I've} been {surfing|browsing} online more than {three|3|2|4} hours today, yet I never found any interesting article like yours. {It's|It
is} pretty worth enough for me. {In my opinion|Personally|In my view}, if all {webmasters|site owners|website owners|web owners} and bloggers made good content as
you did, the {internet|net|web} will be {much more|a lot more}
useful than ever before.|
I {couldn't|could not} {resist|refrain from} commenting. {Very well|Perfectly|Well|Exceptionally well} written!|
{I will|I'll} {right away|immediately} {take hold of|grab|clutch|grasp|seize|snatch}
your {rss|rss feed} as I {can not|can't} {in finding|find|to find} your {email|e-mail} subscription {link|hyperlink} or {newsletter|e-newsletter} service. Do {you have|you've} any?
{Please|Kindly} {allow|permit|let} me {realize|recognize|understand|recognise|know} {so that|in order that} I {may just|may|could} subscribe.
sloria /
Created Oct 16, 2013
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General


  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
lucasfais / gist:1207002
Created Sep 9, 2011
Sublime Text 2 - Useful Shortcuts
View gist:1207002

Sublime Text 2 – Useful Shortcuts (Mac OS X)


⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
ziadoz /
Last active Mar 19, 2020
Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.
fideloper /
Last active Feb 9, 2020
Create vHost Ubuntu Lamp-Server (bash and python)
#! /usr/bin/python
from sys import argv
from os.path import exists
from os import makedirs
from os import symlink
from os import system
import getopt
dgraziotin / timecapsule-handler
Last active Dec 24, 2019
Script to automatically look for Apple TimeCapsule devices and mount/umount them under GNU/Linux. See for info and explanations.
View timecapsule-handler
# This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuck You Want
# To Public License, Version 2, as published by Sam Hocevar. See
# for more details.
# Version 3, enhanced for Ubuntu 13.X+, Fedora 19+, and similar distros.
JonathanBeech / gist:3403282
Created Aug 20, 2012
Terminal: list of useful zsh alias's and functions
View gist:3403282
alias doc='cd ~/Documents'
alias desk='cd ~/Desktop'
alias ren='mv'
alias up='cd ..'
alias ..='cd ..'
alias ...='cd ../..'
alias ls='ls -F'
alias l='ls'
tubalmartin / mobile_detector.php
Created Jan 3, 2012
Lightweight detector of mobile devices, OSs & browsers (PHP)
View mobile_detector.php
* Lightweight detector of mobile devices, OSs & browsers
* Copyright 2012 Túbal Martín (email:
* License: GPL2
if ( ! function_exists('mobile_detector') )
9seconds /
Last active Oct 21, 2017
backup wrapper for borg backup
set -eu -o pipefail
# -----------------------------------------------------------------------------
export LANG=en_US.UTF-8
MAIN_HOMEDIR="$(getent passwd ${MAIN_USER} | cut -f 6 -d ':')"
zmwangx / beamerthemeStanford.sty
Created May 16, 2015
My Beamer theme based on CambridgeUS and Stanford's palettes:
View beamerthemeStanford.sty
% beamerthemeStanford.sty
% Created by Zhiming Wang on August 26, 2014.
% This theme is inspired by the CambridgeUS theme packaged with the
% Beamer LaTeX package. The major colors are taken from Stanford's
% official palettes:
% This work is dedicated by the author to the public domain.
You can’t perform that action at this time.