Skip to content

Instantly share code, notes, and snippets.

@x011
x011 / README.md
Created Nov 27, 2018 — forked from magnetikonline/README.md
NSSM - the Non-Sucking Service Manager cheatsheet.
View README.md
@x011
x011 / libssh_server_fingerprints.md
Created Oct 30, 2018 — forked from 0x4D31/libssh_server_fingerprints.md
An analysis of Censys Public Scan 20180807 (only port 22) to estimate the number of servers {potentially} vulnerable to the recent Libssh bug
View libssh_server_fingerprints.md
@x011
x011 / .block
Created May 7, 2018 — forked from mbostock/.block
GeoJSON in Three.js
View .block
license: gpl-3.0
height: 960
border: no
@x011
x011 / LetsEncrypt.md
Created Feb 21, 2018 — forked from davestevens/LetsEncrypt.md
Let’s Encrypt setup for Apache, NGINX & Node.js
View LetsEncrypt.md

Let's Encrypt

Examples of getting certificates from Let's Encrypt working on Apache, NGINX and Node.js servers.

Obtain certificates

I chose to use the manual method, you have to make a file available to verify you own the domain. Follow the commands from running

git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
@x011
x011 / ws-cli.php
Created Nov 12, 2017 — forked from ikwattro/ws-cli.php
php: simple websocket client
View ws-cli.php
<?php
/*
based on: http://stackoverflow.com/questions/7160899/websocket-client-in-php/16608429#16608429
FIRST EXEC PYTHON SCRIPT TO GET HEADERS
*/
$ws = new ws(array
(
'host' => '127.0.0.1',
'port' => 8080,
View gist:de3cdc050c98719d14f1035ffa870330
http://rootzwiki.com/topic/41985-enable-wifi-tether-through-adb/
adb shell input keyevent 3 # home
adb shell am start -a android.intent.action.MAIN -n com.android.settings/.Settings
adb shell input keyevent 20 # down
adb shell input keyevent 20 # down
@x011
x011 / imacros-cheatsheet.md
Created Oct 7, 2016
iMacros Command, Variable, and function reference
View imacros-cheatsheet.md
View gist:13fc221a7032f5fc4b1c
String packageName = "com.android.browser";
String className = "com.android.browser.BrowserActivity";
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.addCategory(Intent.CATEGORY_LAUNCHER);
intent.setClassName(packageName, className);
intent.setData(Uri.parse("https://google.com"));
startActivity(intent);
View google-cloud-storage-upload.php
<?php
require_once("src/Google/Client.php");
require_once("src/Google/Service/Storage.php");
/**
* Connect to Google Cloud Storage API
*/
$client = new Google_Client();
$client->setApplicationName("App Name");