- 1Password
- Airmail
- Firefox
- iTerm2
- Little Snitch
- mac2imgur
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
# Starting number. | |
fileNumber = 1 | |
while True: | |
# Set a file number (00000000) | |
fileNumberSave = "%08d" % (fileNumber) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
$('.section').each(function(){ | |
var sectionHeight = $(':first-child', this).height(); | |
if(sectionHeight > $(window).innerHeight()) | |
{ | |
$(this).css('height','auto'); | |
} | |
else | |
{ | |
$(this).css({ height: $(window).innerHeight() }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arguments: --no-cache --update $FileName$:../css/$FileNameWithoutExtension$.min.css --style compressed -E "UTF-8" | |
output paths to refresh: $FileNameWithoutExtension$.min.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $e=str_split(file_get_contents('i'));$f=0;$h=0;foreach($e as$i=>$d){$d=='('?$f++:$f--;$f==-1&&$h==0?$h=$i+1:null;}echo $f.' '.$h; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$i = file_get_contents('i'); | |
//$i = '^>v<'; | |
$x = $rx = 0; | |
$y = $ry = 0; | |
foreach (str_split($i) as $n => $dir) { | |
switch ($dir) { | |
case '^': | |
($n % 2 == 0) ? $x++ : $rx++; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Images to Links | |
// @namespace http://www.github.com/jaaaaaaaaaam | |
// @description Changes images to links of themselves if they do not have a parent <a> tag | |
// @include http://* | |
// @include https://* | |
// @require https://code.jquery.com/jquery-1.11.3.min.js | |
// @grant none | |
// ==/UserScript== |
I hereby claim:
- I am jamosaur on github.
- I am jamosaur (https://keybase.io/jamosaur) on keybase.
- I have a public key whose fingerprint is C9B8 428B 2A40 BCDD 6DAE 1545 0B8D DFB7 2FD5 E6BF
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 1; | |
error_log /usr/local/etc/nginx/logs/error.log debug; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ~ \.php$ { | |
try_files $uri = 404; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} |
OlderNewer