Skip to content

Instantly share code, notes, and snippets.

001101

Block or report user

Report or block 001101

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
@001101
001101 / bitwalletrecover.py
Created Mar 23, 2019 — forked from UdjinM6/bitwalletrecover.py
bitwalletrecover.py - recover compressed private keys from your bitcoin/litecoin/darkcoin wallet. Requires python3, pycoin (https://pypi.python.org/pypi/pycoin), and base58 (https://pypi.python.org/pypi/base58).
View bitwalletrecover.py
## bitwalletrecover.py - recover private keys from your darkcoin wallet
## (this version was not tested with bitcoin/litecoin).
## Requires python3, pycoin (https://pypi.python.org/pypi/pycoin),
## and base58 (https://pypi.python.org/pypi/base58).
##
## Starting with Python 3.4, pip is included by default with the Python binary
## installers. To install pip for older versions 3.x:
##
## sudo apt-get install python3-setuptools
## sudo easy_install3 pip
@001101
001101 / metasploit-install-on-centos.sh
Created Apr 9, 2018 — forked from oogali/metasploit-install-on-centos.sh
Install Ruby 2.1.5 via rbenv, then Metasploit on CentOS
View metasploit-install-on-centos.sh
# install build deps
sudo yum install gcc gcc-c++ make expat-devel gettext-devel libcurl-devel \
libffi-devel libxml2-devel libxslt-devel libyaml-devel postgresql-server \
postgresql-devel readline-devel sqlite-devel openssl-devel ruby-devel \
rubygems autoconf automake bison libtool libpcap-devel
# install rbenv
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
View streamtester.php
<?php
// You can use this file to test different video products in different players
// choose product and options
$product = 'hls'; // hls|stream_packaging|vod
$secure = true;
$staging = false;
$URLonly = false; // true to output only URL, false to output HTML
// no changes required below santa claus - happy holidays 2016
@001101
001101 / InstallingAgOnCentOS.md
Last active Sep 15, 2017 — forked from rkaneko/InstallingAgOnCentOS.md
Installing ag: the silver searcher on CentOS (fast file search tool)
View InstallingAgOnCentOS.md

Installing ag on CentOS

Prerequistes

  • libpcre
  • liblzma

Download, build and install

@001101
001101 / Textroom_Shortcuts
Last active Feb 18, 2017
Textroom keyboard Shortcuts
View Textroom_Shortcuts
TextRoom keyboard shortcuts:
F1 opens help
F2 options
F5 check spelling
F7 opens mind mapping tool
F9 music player
F11 full screen
Ctrl-p print document
@001101
001101 / accounting.sql
Created Feb 18, 2017 — forked from NYKevin/accounting.sql
Basic double-entry bookkeeping system, for PostgreSQL.
View accounting.sql
CREATE TABLE accounts(
id serial PRIMARY KEY,
name VARCHAR(256) NOT NULL
);
CREATE TABLE entries(
id serial PRIMARY KEY,
description VARCHAR(1024) NOT NULL,
amount NUMERIC(20, 2) NOT NULL CHECK (amount > 0.0),
-- Every entry is a credit to one account...
@001101
001101 / gist:23c564611e12bd0d03578bf025a8d492
Created Feb 18, 2017 — forked from carld/gist:87f2453ed622f92f220451b7e8ae6a26
go through all directories, test for .git/ and diff stat two branches
View gist:23c564611e12bd0d03578bf025a8d492
for dir in `find . -type d -depth 1`; do
cd $dir;
if [ -d .git ]; then
if git branch -ra | grep -q "$B2\$"; then
echo $dir;
git diff --shortstat $B1 $B2;
fi
fi
cd ..;
done
@001101
001101 / piwik_opt_out.html
Last active Feb 18, 2017
Piwik Opt Out iFrame Raw
View piwik_opt_out.html
<p><strong>EINSATZ VON PIWIK WEB ANALYTICS </strong></p>
<p>Diese Website benutzt <a href="http://piwik.org/" target="_blank">Piwik</a>, eine Open-Source-Software zur statistischen Auswertung der Besucherzugriffe. Piwik verwendet sog. &ldquo;Cookies&rdquo;, Textdateien, die auf Ihrem Computer gespeichert werden und die eine Analyse der Benutzung der Website durch Sie ermöglichen. Die durch den Cookie erzeugten Informationen über Ihre Benutzung dieses Internetangebotes werden auf dem Server des Anbieters in Deutschland gespeichert. Die IP-Adresse wird sofort nach der Verarbeitung und vor deren Speicherung anonymisiert. Sie können die Installation der Cookies durch eine entsprechende Einstellung Ihrer Browser-Software verhindern. Wir weisen Sie jedoch darauf hin, dass Sie in diesem Fall gegebenenfalls nicht sämtliche Funktionen dieser Website vollumfänglich nutzen können. </p>
<p><strong>Piwik aktivieren/deaktivieren</strong></p>
<iframe style="margin-top: -10px;
@001101
001101 / gist:11d1e3459a1956e4df1e0e1f443e98bc
Created Dec 7, 2016 — forked from jdevalk/gist:5623050
Redirect script sample NGINX code. Make sure this location line sits above the "location /" code in your NGINX config.
View gist:11d1e3459a1956e4df1e0e1f443e98bc
location /redirect/ {
rewrite ^/redirect/(.*)$ /redirect/index.php?id=$1 last;
}
@001101
001101 / .htaccess
Created Dec 7, 2016 — forked from jdevalk/.htaccess
These three files together form an affiliate link redirect script.
View .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index\.php$ - [L]
RewriteRule (.*) ./index.php?id=$1 [L]
</IfModule>
You can’t perform that action at this time.