Skip to content

Instantly share code, notes, and snippets.

@theblackturtle
theblackturtle / pacman-Qq.txt
Created October 12, 2019 03:06 — forked from icy/pacman-Qq.txt
pacman-Qq.txt
a52dec
acl
acpi
acpid
adobe-source-code-pro-fonts
adwaita-icon-theme
akonadi-contacts
alsa-lib
alsa-plugins
android-tools
@theblackturtle
theblackturtle / auto_git_query
Created August 29, 2019 08:43 — forked from nullenc0de/auto_git_query
Automated Github Queries (Can open 29 tabs at a time)
https://github.com/search?q=BROWSER_STACK_ACCESS_KEY= OR BROWSER_STACK_USERNAME= OR browserConnectionEnabled= OR BROWSERSTACK_ACCESS_KEY=&s=indexed&type=Code
https://github.com/search?q=CHROME_CLIENT_SECRET= OR CHROME_EXTENSION_ID= OR CHROME_REFRESH_TOKEN= OR CI_DEPLOY_PASSWORD= OR CI_DEPLOY_USER=&s=indexed&type=Code
https://github.com/search?q=CLOUDAMQP_URL= OR CLOUDANT_APPLIANCE_DATABASE= OR CLOUDANT_ARCHIVED_DATABASE= OR CLOUDANT_AUDITED_DATABASE=&s=indexed&type=Code
https://github.com/search?q=CLOUDANT_ORDER_DATABASE= OR CLOUDANT_PARSED_DATABASE= OR CLOUDANT_PASSWORD= OR CLOUDANT_PROCESSED_DATABASE=&s=indexed&type=Code
https://github.com/search?q=CONTENTFUL_PHP_MANAGEMENT_TEST_TOKEN= OR CONTENTFUL_TEST_ORG_CMA_TOKEN= OR CONTENTFUL_V2_ACCESS_TOKEN=&s=indexed&type=Code
https://github.com/search?q=-DSELION_BROWSER_RUN_HEADLESS= OR -DSELION_DOWNLOAD_DEPENDENCIES= OR -DSELION_SELENIUM_RUN_LOCALLY=&s=indexed&type=Code
https://github.com/search?q=ELASTICSEARCH_PASSWORD= OR ELASTICSEARCH_USERNAME= OR EMAIL_NOTIFI
@theblackturtle
theblackturtle / alert.js
Created August 20, 2019 02:48 — forked from tomnomnom/alert.js
Ways to alert(document.domain)
// How many ways can you alert(document.domain)?
// Comment with more ways and I'll add them :)
// I already know about the JSFuck way, but it's too long to add (:
// Direct invocation
alert(document.domain);
(alert)(document.domain);
al\u0065rt(document.domain);
al\u{65}rt(document.domain);
window['alert'](document.domain);
@theblackturtle
theblackturtle / getGithubRepoCloneUrls.py
Created July 26, 2019 02:37 — forked from pascalschulz/getGithubRepoCloneUrls.py
This code snippet takes a Github organization name as input, crawls for all its public repositories and returns a list of all the "Git clone URLs" for those repos.
import itertools
import re
import requests as rq
# Your Github organization (e.g. /Github)
organization = "/<company_name>"
response = rq.request("GET", "https://github.com{0}".format(organization))
function replaceFinaleField(object, fieldName, value){
var field = object.class.getDeclaredField(fieldName)
field.setAccessible(true)
field.set(null, value)
}
Java.perform(function(){
// Class containing const that we want to modify
const Build = Java.use("android.os.Build")
{
"mode": "patterns",
"proxySettings": [
{
"address": "127.0.0.1",
"port": 8080,
"username": "",
"password": "",
"type": 1,
"title": "127.0.0.1:8080",
@theblackturtle
theblackturtle / context_cancel.go
Created May 20, 2019 07:46 — forked from fracasula/context_cancel.go
GoLang exiting from multiple go routines with context and wait group
package main
// Here we show how to properly terminate multiple go routines by using a context.
// Thanks to WaitGroup we'll be able to end all go routines gracefully before the main function ends.
import (
"fmt"
"os"
"context"
"sync"
@theblackturtle
theblackturtle / crack-with-navicat-keygen.sh
Created December 13, 2018 12:51 — forked from zthxxx/crack-with-navicat-keygen.sh
crack navicat premuim 12.04 with navicat-keygen
# make sure exist a keychain identity preference named "crack-for-navicat"
# ref: https://github.com/DoubleLabyrinth/navicat-keygen/tree/mac
# to gen a identity,
# https://support.apple.com/kb/PH7173?locale=en_US
# set the Name: crack-for-navicat
# set the Certificates Type: Code Signing
# after created, you need always trust this identity,
# then you can use this commad under to check:
# security find-identity -vp codesigning
@theblackturtle
theblackturtle / Steps.md
Created March 24, 2018 07:13 — forked from SalahAdDin/Steps.md
Instlling React-Native Android Environment in ArchLinux

First step: Install Android SDK

  1. yaourt -S android-sdk android-sdk-platform-tools android-sdk-build-tools
    Note: Maybe you'll have problems with the lasta package: ncurses5-compat-libs. In order to avoid this problem you have to use this command: gpg --recv-keys F7E48EDB. You can find clarification (here)[https://aur.archlinux.org/packages/ncurses5-compat-libs/?comments=all].
  2. yaourt -S genymotion
    Note: You'll need install virtual-box and his modules, yaourt will make for you but you need choos between ArchLinux host modules or DKMS host modules.
  3. echo -e "vboxdrv\nvboxnetflt\nvboxnetadp\nvboxpci" > /etc/modules-load.d/virtualbox.conf
    Note: You need do this with super user because need super user permissions and with sudo, for us at least, doesn't work.
  4. sudo modprobe vboxdrv vboxnetadp vboxnetflt
    Activate for current session.
  5. sudo chmod -R 777 /opt/android-sdk