I hereby claim:
- I am sokcuri on github.
- I am sokcuri (https://keybase.io/sokcuri) on keybase.
- I have a public key ASBGPO6bp5nFVmEhVPGZJFU4qD-uQZoqlyamsJZU0IXzzQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| [Unit] | |
| Description=Your awesome nodejs app | |
| After=network.target | |
| [Service] | |
| User=awesome_user_account_name_here | |
| Environment=NODE_ENV=production | |
| ExecStart=/opt/awesomenode/launcher_script.sh | |
| Restart=on-failure |
| // ==UserScript== | |
| // @name Twitter Cramming | |
| // @description Force enable cramming (280 character tweets) on Twitter | |
| // @author Prof. 9 | |
| // @version 0.1 | |
| // @match https://twitter.com/* | |
| // @run-at document-idle | |
| // @namespace prof9.twittercramming | |
| // ==/UserScript== |
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| public class StringHashCollisionGenerator { | |
| public static void main(String[] args) { | |
| if (args.length != 1) { | |
| printUsage(); | |
| System.exit(1); |
| // Dirty overload the native function | |
| var parseInt = function(arg1) { | |
| if (arg1 === "Infinity") { | |
| return NaN; | |
| } | |
| if (arg1 === "Infinity+1") { | |
| return "Infinity1"; | |
| } | |
| if (arg1 === "1+1+1") { | |
| return "3?"; |
Thanks to
Tested successfully on:
$ lsb_release -a
| <?php | |
| // Tor Check : https://gist.github.com/TheRealBastiaan/889b4ec5fafd928e0de2 | |
| function IsTorExitPoint($ip=null){ | |
| $ip = ($ip) ? $ip : $_SERVER['REMOTE_ADDR']; | |
| if (gethostbyname(ReverseIPOctets($ip).".".$_SERVER['SERVER_PORT'].".".ReverseIPOctets($_SERVER['SERVER_ADDR']).".ip-port.exitlist.torproject.org")=="127.0.0.2") { | |
| return true; | |
| } else { | |
| return false; | |
| } | |
| } |
| /* So how does this work? | |
| I'm using ANSI escape sequences to control the behavior of the terminal while | |
| cat is outputting the text. I deliberately place these control sequences inside | |
| comments so the C++ compiler doesn't try to treat them as code.*/ | |
| //[2K[2D[A[2K[A[2K[A[2K[A[2K[A | |
| /*The commands in the fake code comment move the cursor to the left edge and | |
| clear out the line, allowing the fake code to take the place of the real code. | |
| And this explanation uses similar commands to wipe itself out too. */ | |
| //[2K[2D[A[2K[A[2K[A[2K[A | |
| #include <cstdio> |
| #!/bin/sh -e | |
| # | |
| # rc.local | |
| # | |
| # This script is executed at the end of each multiuser runlevel. | |
| # Make sure that the script will "exit 0" on success or any other | |
| # value on error. | |
| # | |
| # In order to enable or disable this script just change the execution | |
| # bits. |