Skip to content

Instantly share code, notes, and snippets.

@contractorwolf
contractorwolf / git-alias-mac-linux.txt
Last active October 19, 2023 13:39
Adding "git browse" to your git commands to open the browser on your git repo
𝚐𝚒𝚝 𝚌𝚘𝚗𝚏𝚒𝚐 --𝚐𝚕𝚘𝚋𝚊𝚕 𝚊𝚕𝚒𝚊𝚜.𝚋𝚛𝚘𝚠𝚜𝚎 '!𝚏() { 𝚛𝚎𝚙𝚘_𝚞𝚛𝚕=$(𝚐𝚒𝚝 𝚌𝚘𝚗𝚏𝚒𝚐 --𝚐𝚎𝚝 𝚛𝚎𝚖𝚘𝚝𝚎.𝚘𝚛𝚒𝚐𝚒𝚗.𝚞𝚛𝚕) && 𝚘𝚙𝚎𝚗 "${𝚛𝚎𝚙𝚘_𝚞𝚛𝚕}"; }; 𝚏'
async function scrollDown() {
const wrapper = document.querySelector("#search-page-list-container");
await new Promise((resolve, reject) => {
var totalHeight = 0;
var distance = 600;
var timer = setInterval(async () => {
var scrollHeightBefore = wrapper.scrollHeight;
wrapper.scrollBy(0, distance);
totalHeight += distance;
@contractorwolf
contractorwolf / key.md
Created March 13, 2021 01:32
Twitter (un)official Consumer Key

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN

Consumer key: IQKbtAYlXLripLGPWd0HUA

@contractorwolf
contractorwolf / log.md
Last active February 25, 2021 03:07 — forked from llSourcell/log.md

Ideas for staying busy for the 100 days of ML code:

titanic tensorflow or scikit learn in colab (again)

denge challenge (city likelyhood of issues)

trump chatbot (RNN or LSTM) http://complx.me/2016-12-31-practical-seq2seq/

trump tweet target identifier