Skip to content

Instantly share code, notes, and snippets.


Daku DakuTree

View GitHub Profile
troniez / Crying with NGINX Regex, IF statement, and module http
Last active Oct 6, 2020
Crying with NGINX Regex matching, IF statement and module http rewrite $1 $2 meaning
View Crying with NGINX Regex, IF statement, and module http

If Statement and common condition

Syntax:	if (condition) { ... }
Default:	—
Context:	server, location

A condition may be any of the following:


The Scammiest Scam To Yet Anonymity Scam

I'm still holding out for this being a hoax, a big joke, and that they're going to cancel the kickstarter any minute. It'd be quite the cute "lessons learned" about anonymity scams. However, I will be treating it from here on out as a genuine scam. (As of May 2nd, the kickstarter has been cancelled, after the strangest attempt to reply to this imaginable. Good riddance.)

This absolutely ridiculous thing was brought to my attention by a friend and since it was late at night I thought I must be delirious in how absurdly over the top fake it seemed. So I slept on it, woke up, and found that it had gotten a thousand dollars more funding and was every bit as flabbergasting as I thought it was.

Since I realize that not everyone has spent their entire lives studying computers – and such people are the targets of such scams –

MaximumJoe / Joe's E-H Classic
Last active Nov 9, 2017
Changes to pre-0.307 view.
View Joe's E-H Classic
@namespace url(;
@-moz-document regexp('https://e-hentai\\.org/(?!tools).*') {
/* misc */
p{padding:3px 1px;margin:0}
hieblmedia / .gitignore
Last active Jul 13, 2021
Gitignore - Exclude all except specific subdirectory
View .gitignore
# If all files excluded and you will include only specific sub-directories
# the parent path must matched before.
# Un-ignore the affected subdirectory
CFJSGeek / sortObj.js
Last active Jan 13, 2021
JS: Sort a JavaScript object by key in alphabetical order case insensitive. Thanks to Arne Martin Aurlien and Ivan Krechetov for inspiration. #snippet
View sortObj.js
* Sort JavaScript Object
* CF Webtools : Chris Tierney
* obj = object to sort
* order = 'asc' or 'desc'
function sortObj( obj, order ) {
"use strict";
var key,
rdmarsh /
Last active Jan 6, 2021
Clean up the Raspbian default build for the Raspberry Pi

Remove unused packages on Raspberry Pi

(this is worth looking at, which is basically this:

apt-get purge --auto-remove scratch debian-reference-en dillo idle3 python3-tk idle python-pygame python-tk lightdm gnome-themes-standard gnome-icon-theme raspberrypi-artwork gvfs-backends gvfs-fuse desktop-base lxpolkit netsurf-gtk zenity xdg-utils mupdf gtk2-engines alsa-utils  lxde lxtask menu-xdg gksu midori xserver-xorg xinit xserver-xorg-video-fbdev libraspberrypi-dev libraspberrypi-doc dbus-x11 libx11-6 libx11-data libx11-xcb1 x11-common x11-utils lxde-icon-theme gconf-service gconf2-common


Warning: this will probably break something. If you need sound, don't remove the "alsa" packages

sudo apt-get --yes purge xserver-common x11-xfs-utils x11-xserver-utils xinit libsmbclient blt gvfs gvfs-backends gvfs-daemons gvfs-fuse idle idle-python2.7 idle-python3.2 idle3 libaudio2 libice6 liblightdm-gobject-1-0 libobrender27 libpulse0 libqt4-svg libqt
azu / pixiv API.user.js
Created Jan 5, 2010
View pixiv API.user.js
// ==UserScript==
// @name pixiv API
// @namespace
// @include*
// ==/UserScript==
// API 資料
var pxvAPI = ""
// 検索結果のオブジェクト
var result = [];
var user = {