Skip to content

Instantly share code, notes, and snippets.

DerZyklop

Block or report user

Report or block DerZyklop

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
@DerZyklop
DerZyklop / Preferences.sublime-settings
Last active Aug 29, 2015
Preferences.sublime-settings
View Preferences.sublime-settings
{
"bold_folder_labels": true,
"color_scheme": "Packages/User/Charming (SL).tmTheme",
"convert_tabspaces_on_save": true,
"default_line_ending": "unix",
"detect_indentation": true,
"draw_centered": true,
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"find_selected_text": true,
@DerZyklop
DerZyklop / t5f
Last active Aug 29, 2015
T5F. Mehr Info's dazu gibt's hier: http://www.schnappmatik.de/TFFFFF/
View t5f
Sehr geehrte Damen und Herren,
Folgende Aufforderungen gemäß Bundesdatenschutzgesetz betreffen sämtliche über meine Person gespeicherten Daten, die Sie anhand dieser Adressen identifizieren können:
(bei snail-mail spam deine postadresse(n) eintragen, bei email spam deine email adresse(n), bei sms-spam deine handy-nummer... usw.)
Gemäß Bundesdatenschutzgesetz (BDSG) fordere ich Sie auf:
1. Sie haben mir gegenüber unverzüglich offenzulegen, welche Daten außer den oben aufgeführten Adressen Sie über meine durch diesen Namen/diese Adressen identifizierte Person gespeichert haben, und aus welchen Quellen sämtliche mich betreffenden Daten stammen.
§ 6 Abs. 2, § 28 Abs. 4, § 34 Abs. 1-3 BDSG
@DerZyklop
DerZyklop / rslides.sass
Last active Aug 29, 2015
A simple sass translation for the css of http://responsiveslides.com/
View rslides.sass
.rslides
z-index: 1
position: relative
list-style: none
overflow: hidden
width: 100%
padding: 0
margin: 0
li
-webkit-backface-visibility: hidden
@DerZyklop
DerZyklop / .htaccess
Created Feb 25, 2014
Force www on Domain
View .htaccess
# First, force www on domain, code from:
# http://stackoverflow.com/questions/4916222/htaccess-how-to-force-www-in-a-generic-way
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
@DerZyklop
DerZyklop / switch.scss
Created Mar 17, 2014
CSS3 Switch (Checkbox)
View switch.scss
/* Fancy Checkbox [BEGIN] */
// Emmet: .toggle>input:checkbox#myfancytoggle+label.myfancytoggle>.card
.toggle {
display: flex;
position: relative;
align-self: center;
user-select: none;
border: 1px solid $primary;
View sublime-anonymous.json
{
"font_face": "Anonymous Pro",
"line_padding_top": 1,
"line_padding_bottom": 2,
}
@DerZyklop
DerZyklop / xmlsitemap.php
Created Apr 23, 2014
A xmlsitemap for Kirby CMS without listing the children of "kontakt"
View xmlsitemap.php
<?php
$ignore = array('sitemap', 'error');
foreach ($pages->find('kontakt')->children() as $value) {
array_push($ignore, $value->uri());
}
// send the right header
header('Content-type: text/xml; charset="utf-8"');
@DerZyklop
DerZyklop / back-to-old-commit.sh
Created Apr 28, 2014
git: Set master to old commit
View back-to-old-commit.sh
git checkout master~1 # Checkout previous commit on master
git checkout -b new_master # Create branch for new master
git branch -D master # Delete old master
git branch -mv new_master master # Make new_master master
# source: http://stackoverflow.com/questions/4359681/want-to-change-my-master-to-an-older-commit-how-can-i-do-this
@DerZyklop
DerZyklop / phone-link.php
Created May 21, 2014
How to hyperlink a phone number in PHP
View phone-link.php
@DerZyklop
DerZyklop / git-submodule-healer
Created May 22, 2014
I hate git submodules. This command helps at the most, when i have trouble with it.
View git-submodule-healer
git submodule update --init --recursive
You can’t perform that action at this time.