Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Jurtly
Jurtly / shellista.py
Created October 2, 2016 21:36 — forked from pudquick/shellista.py
Advanced shell for Pythonista
import os, cmd, sys, re, glob, os.path, shutil, zipfile, tarfile, gzip
# Credits
#
# The python code here was written by pudquick@github
#
# License
#
# This code is released under a standard MIT license.
#
@Jurtly
Jurtly / slap.js
Created June 8, 2016 07:23
Just help from the bonfires FACTORIALIZE A NUMBER
function factorialize(num) {
// factorial is the product of all positive integers less than or equal to n
var i = 1;
var f = 1;
var a;
var maybe = [];
while ( i <= num) {
f = f * i;
i++;
@Jurtly
Jurtly / .htaccess
Created February 9, 2016 02:37 — forked from ludo237/.htaccess
The ultimate .htaccess file. Please feel free to fork it, edit it and let me know what do you think about it.
# Apache configuration file
# httpd.apache.org/docs/2.2/mod/quickreference.html
# Note .htaccess files are an overhead, this logic should be in your Apache
# config if possible: httpd.apache.org/docs/2.2/howto/htaccess.html
# Techniques in here adapted from all over, including:
# Kroc Camen: camendesign.com/.htaccess
# perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/
# Sample .htaccess file of CMS MODx: modxcms.com
# This is the free sample of .htaccess from 6GO s.r.l.
# @author Claudio Ludovico Panetta (@Ludo237)