Skip to content

Instantly share code, notes, and snippets.


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
# Your init script
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
# An example hack to log to the console when each text editor is saved.
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
DerZyklop /
Last active Oct 9, 2019 — forked from jorgenpt/
Batches multiple invocations of ksdiff to open in a single Kaleidoscope window if they happen within a few seconds of eachother. This is useful for Kaleidoscope integration with P4V, since it makes a multi-file diff open in a single window. If it doesn't quite pick up all your files, try setting TIMEOUT to more than 4 seconds.
# Commandline tools required for this script:
# pidof (can be installed with `brew install pidof`)
# lockfile (can be installed with `brew install procmail`)
# Number of seconds we wait after a file is received before we consider the
# batch to be completed.
# Title of the tab in Kaleidoscope
DerZyklop / disposable-email-provider-domains
Last active Aug 20, 2019 — forked from michenriksen/disposable-email-provider-domains
List of disposable email provider domains
View disposable-email-provider-domains


  <p-foo [shift]="shift"></p-foo>
  <p-foo [shift]="shift"></p-foo>

  <p-bar [shiftModel]="shiftModel"></p-bar>


View rotateBase64Image90Degree.js
function rotateBase64Image90Degree(base64data) {
var canvas = document.getElementById("c");
var ctx = canvas.getContext("2d");
var image = new Image();
image.src = base64data;
image.onload = function() {
canvas.width = image.height;
canvas.height = image.width;
ctx.rotate(90 * Math.PI / 180);
DerZyklop / function-performance-test.js
Created Nov 2, 2018 — forked from AllThingsSmitty/function-performance-test.js
A quick JavaScript function performance test on the browser console
View function-performance-test.js
var i =;
yourFunction(); - i;
//Or make a helper function, like this:
function performanceTest(testFunction, iterations) {
'use strict';
var sum = 0;
var start =;
for (var i = 0; i < iterations; i++) {
DerZyklop / .htaccess
Last active Oct 12, 2018
Kirby .htaccess
View .htaccess
# Kirby .htaccess for Projects by DerZyklop
# Source:
# Deflate Compression by MimeType
<IfModule mod_deflate.c>
<FilesMatch "\.(js|jpg|jpeg|gif|png|css)$">
ExpiresActive on
ExpiresDefault "access plus 1 month"
SetOutputFilter DEFLATE
uberspace-configure-webserver enable hsts
uberspace-configure-webserver enable nosniff
uberspace-configure-webserver enable xframe_deny
uberspace-configure-webserver enable xxss_protection
View gist:cc5f09edc38e17d20f800d372652dead
* {
-webkit-line-clamp: 3;
DerZyklop / gist:8551498
Created Jan 22, 2014
All terminal colours
View gist:8551498
echo -e '\033[00;30m 00;30m \033[00m \033[02;30m 02;30m \033[00m \033[01;30m 01;30m \033[00m \033[01;40m 01;40m \033[00m
\033[00;31m 00;31m \033[00m \033[02;31m 02;31m \033[00m \033[01;31m 01;31m \033[00m \033[01;41m 01;41m \033[00m
\033[00;32m 00;32m \033[00m \033[02;32m 02;32m \033[00m \033[01;32m 01;32m \033[00m \033[01;42m 01;42m \033[00m
\033[00;33m 00;33m \033[00m \033[02;33m 02;33m \033[00m \033[01;33m 01;33m \033[00m \033[01;43m 01;43m \033[00m
\033[00;34m 00;34m \033[00m \033[02;34m 02;34m \033[00m \033[01;34m 01;34m \033[00m \033[01;44m 01;44m \033[00m
\033[00;35m 00;35m \033[00m \033[02;35m 02;35m \033[00m \033[01;35m 01;35m \033[00m \033[01;45m 01;45m \033[00m
\033[00;36m 00;36m \033[00m \033[02;36m 02;36m \033[00m \033[01;36m 01;36m \033[00m \033[01;46m 01;46m \033[00m
\033[00;37m 00;37m \033[00m \033[02;37m 02;37m \033[00m \033[01;37m 01;37m \033[00m \033[01;47m 01;47m \033[00m'
You can’t perform that action at this time.