Skip to content

Instantly share code, notes, and snippets.

@rash0
rash0 / puppeteer_twitterLogin.js
Last active May 2, 2024 13:37
Automate login to twitter with Puppeteer
const puppeteer = require("puppeteer");
const user_email = "email@example.com";
const user_handle = "@example"; //either your handle or phone number
const password = "theEndisNear";
async function fkTwitter() {
const browser = await puppeteer.launch({
headless: false,
});
#!/usr/bin/awk -f
# This program is a copy of guff, a plot device. https://github.com/silentbicycle/guff
# My copy here is written in awk instead of C, has no compelling benefit.
# Public domain. @thingskatedid
# Run as awk -v x=xyz ... or env variables for stuff?
# Assumptions: the data is evenly spaced along the x-axis
# TODO: moving average
@JARVIS-AI
JARVIS-AI / GitHub-SSH.md
Created February 23, 2021 13:31
GitHub SSH Windows 10 WSL2

Add SSH to GitHub

Why another tutorial about SSH on Windows 10 for GitHub ?!

Because EVEN official documentation is messy (At least for me)

So I make a cheatsheet for myself and share it for you

@Meatwo310
Meatwo310 / main.md
Created May 2, 2024 06:50
MinecraftにGPUを使用させる (Windows環境下)

目標

MinecraftにGPUを利用させる

やるべきこと

Minecraftが使用するjavaw.exeがどこにあるのかを調べ、それをシステム設定で登録する

手始めに: javaw.exeの場所を特定する

GPUを使用させたいMinecraftを起動した状態で、タスクマネージャーでjavawと検索し、見つかったプロセスを右クリックして「ファイルの場所を開く」機能を使用する

image

@patriknyblad
patriknyblad / xcrun_simctl_cheatsheet.md
Last active May 2, 2024 13:34
iOS Simulator Terminal Commands `$ xcrun simctl`

Managing iOS Simulators

List all simulators created

$ xcrun simctl list --json

Delete old and unavailable simulators

$ xcrun simctl delete unavailable
#--------------------------------------------------------------------------
# Configuration
#--------------------------------------------------------------------------
# Use Vi mode
setw -g mode-keys vi
# Increase scrollback buffer size
set -g history-limit 10000
# vim:fileencoding=utf-8:foldmethod=marker
shell /bin/zsh --login --interactive
# font_size 20.0
font_size 14.0
font_family BerkeleyMono Nerd Font
bold_font BerkeleyMono Nerd Font Bold
italic_font BerkeleyMono Nerd Font Italic
bold_italic_font BerkeleyMono Nerd Font Bold Italic
@adibhanna
adibhanna / alacritty.yml
Last active May 2, 2024 13:32
Alacritty
font:
size: 18
offset:
y: 16
glyph_offset:
y: 9
normal:
family: "SFMono Nerd Font"
window:
padding:
@NickSeagull
NickSeagull / ubuntu-bloat-removal.sh
Last active May 2, 2024 13:30
Updated Jan 22nd, 2024 - Simple command to remove all "bloatware" from ubuntu
sudo apt-get remove \
aisleriot \
brltty \
duplicity \
empathy \
empathy-common \
example-content \
gnome-accessibility-themes \
gnome-contacts \
gnome-mahjongg \
@akrylysov
akrylysov / README.md
Last active May 2, 2024 13:28
Fast Intel-on-ARM Docker on macOS with Lima and Rosetta

macOS 13 Ventura introduced support of running amd64 binaries with Rosetta inside of arm64 Linux VMs when using Apple Virtualization framework.

Lima VM v0.14.0 and later support the new feature.

Setup:

# Install Docker client and Lima
brew install docker docker-compose docker-credential-helper lima