Skip to content

Instantly share code, notes, and snippets.


  • Internets
Block or report user

Report or block aslian

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
View I'm sorry, couldn't resist..
ok so encodes url and javascript to keep away people/scripts from looking at html source and getting the link, instead of waiting for the link to become available while watching ads.
I googled around for any script that works round this but nothing that was working came up.
So I digged a bit yesterday night, and now, I'm ready to give the solution
var adflyLink, lnk;
var g_cnt = 0;
var scriptContent = document.getElementsByTagName('head')[0].innerHTML;

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

# remap prefix to Control + a
alanbriolat / default.conf
Created Sep 28, 2011
nginx userdir + PHP-FPM
View default.conf
server {
listen 80;
server_name localhost;
# ... other default site stuff, document root, etc. ...
location ~ ^/~(?<userdir_user>.+?)(?<userdir_uri>/.*)?$ {
alias /home/$userdir_user/public_html$userdir_uri;
index index.html index.htm index.php;
autoindex on;
You can’t perform that action at this time.