Skip to content

Instantly share code, notes, and snippets.

@0xnbk
0xnbk / Unicode table
Created July 12, 2020 11:50 — forked from ivandrofly/Unicode table
Unicode table - List of most common Unicode characters *
Unicode table - List of most common Unicode characters *
* This summary list contains about 2000 characters for most common ocidental/latin languages and most printable symbols but not chinese, japanese, arab, archaic and some unprintable.
Contains character codes in HEX (hexadecimal), decimal number, name/description and corresponding printable symbol.
What is Unicode?
Unicode is a standard created to define letters of all languages ​​and characters such as punctuation and technical symbols. Today, UNICODE (UTF-8) is the most used character set encoding (used by almost 70% of websites, in 2013). The second most used character set is ISO-8859-1 (about 20% of websites), but this old encoding format is being replaced by Unicode.
How to identify the Unicode number for a character?
Type or paste a character:
@0xnbk
0xnbk / delicious.html
Created May 31, 2020 06:45 — forked from jgarber623/delicious.html
A sample of the Netscape Bookmark File Format as exported from Delicious.
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<!-- This is an automatically generated file.
It will be read and overwritten.
Do Not Edit! -->
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><A HREF="https://developer.apple.com/library/mac/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/index.html#//apple_ref/doc/-%20uid/TP40014508" ADD_DATE="1414706885" PRIVATE="0" TAGS="javascript,mac,osx,yosemite">JavaScript for Automation Release Notes</A>
<DD>This article describes JavaScript for Automation, a new feature in OS X Yosemite.
@0xnbk
0xnbk / README.md
Created January 30, 2020 16:47 — forked from nikcub/README.md
Facebook PHP Source Code from August 2007
@0xnbk
0xnbk / rails_rce.rb
Created October 6, 2019 10:00 — forked from postmodern/rails_rce.rb
Proof-of-Concept exploit for Rails Remote Code Execution (CVE-2013-0156)
#!/usr/bin/env ruby
#
# Proof-of-Concept exploit for Rails Remote Code Execution (CVE-2013-0156)
#
# ## Advisory
#
# https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion
#
# ## Caveats
#
#!/usr/bin/env python
import sys, os, time
import tweepy
keys = dict(
consumer_key='_YOUR_CONSUMER_KEY',
consumer_secret='_YOUR_SECRET_KEY',
access_token='_YOUR_ACCESS_TOKEN',
access_token_secret='_YOUR_ACCESS_TOKEN_SECRET'
)

Keybase proof

I hereby claim:

  • I am nbkdotdev on github.
  • I am nbkdotdev (https://keybase.io/nbkdotdev) on keybase.
  • I have a public key whose fingerprint is 2A42 71A4 A16E 39D9 4B83 2EAD C842 C3B8 4FBA 9B77

To claim this, I am signing this object:

@0xnbk
0xnbk / .travis.yml
Last active March 16, 2019 09:34
Angular Travis config
language: node_js
node_js:
- "10.4.1"
sudo: true
addons:
chrome: stable
branches:
only:
@0xnbk
0xnbk / gist:b4b2c84de24f1cc1ccd79bf075abd163
Created August 24, 2018 05:31 — forked from molivier/gist:271bba5d67de1583a8e3
Set $GOPATH on Mac OSX : bash_profile
# Edit ~/.bash_profile
export GOPATH=/Users/username/go
export PATH=$GOPATH/bin:$PATH
# Reload profile : source ~/.bash_profile
@0xnbk
0xnbk / gist:ec233c8ac7fce0ead94979d89b966048
Created July 18, 2018 10:41 — forked from Cysu/gist:7596046
Python: PyQt- Move widget to center
fg = self.frameGeometry()
cp = QtGui.QDesktopWidget().availableGeometry().center()
fg.moveCenter(cp)
self.move(fg.topLeft())
@0xnbk
0xnbk / lisk.sample.js
Last active December 15, 2017 07:41
Lisk Sample Code
var LSK = lisk.api({ testnet: true, port: 7000 });
function getAccount (callback) {
LSK.sendRequest('accounts/open', { secret: passphrase }, function (data) {
var accAddress = LSK.getAddressFromSecret(passphrase);
if (data === undefined) {
LSK.sendRequest('accounts', { address : accAddress.address }, function (data_acc) {
var returnObj = {
open: data,
account: data_acc