Skip to content

Instantly share code, notes, and snippets.

@gcsuid
gcsuid / yt101
Last active May 2, 2024 17:59
comment on video
import os
import random
import pickle
import requests
from google_auth_oauthlib.flow import InstalledAppFlow
from google.auth.transport.requests import Request
from googleapiclient.discovery import build
SCOPES = ['https://www.googleapis.com/auth/youtube.force-ssl']
@voltrevo
voltrevo / phrases.md
Last active May 2, 2024 17:56
Test bip39 seedphrases

The following is a well known test seed phrase:

test test test test test test test test test test test junk

During development, it's beneficial to use seedphrases which are obviously meant for testing, so using test for the first 11 words is helpful. Since only 4 bits of 12-word bip39 seedphrases are for the checksum, 1 in 16 phrases are valid by chance. This gives us many additional options for the last word if you need more than one seedphrase:

test test test test test test test test test test test absent
@hernamesbarbara
hernamesbarbara / .bash_profile
Created February 29, 2012 04:59
bash_profile with terminal colors and useful aliases
#!/bin/bash
export TERM=xterm-color
export CLICOLOR=1
export GREP_OPTIONS='--color=auto'
# export LSCOLORS=Exfxcxdxbxegedabagacad
export LSCOLORS=gxfxcxdxbxegedabagacad # Dark lscolor scheme
# Don't put duplicate lines in your bash history
export HISTCONTROL=ignoredups
# increase history limit (100KB or 5K entries)
export HISTFILESIZE=100000
/***************************************************************************/
/* Godot PCK extractor (pckext.cpp) */
/***************************************************************************/
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
@wenhuizhang
wenhuizhang / distributed_systems_readings.md
Last active May 2, 2024 17:50
distributed systems readings

#Distributed System Course List

##Systems

  • Cornell CS 614 - Advanced Course in Computer Systems - Ken Birman teaches this course. The readings cover more distributed systems research than is typical (which I am in favour of!). In fact, there's barely anything on traditional internal OS topics like filesystems or memory management. There's some worthwhile commentary at the bottom of the page.

  • Princeton COS 518 - Advanced Operating Systems - short and snappy reading list of two papers per topic, covering some interesting stuff like buffering inside the operating system, and L4.

@PurpleVibe32
PurpleVibe32 / vmwk17key.txt
Last active May 2, 2024 17:49
Free VMware Workstation Pro 17 full license keys
Install VMWare Workstation PRO 17 (Read it right. PRO!)
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it.
Sub to me on youtube pls - PurpleVibe32
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me.
---
This gist can get off at any time.
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT.
*If you have a problem comment and people will try to help you!
*No virus
@rickybrent
rickybrent / evsieve.sh
Last active May 2, 2024 17:48
tex shura + laptop right-shift + esc to tilde, caps to ctrl for evsieve
#!/bin/bash
# https://github.com/KarsMulder/evsieve
if [[ ! -z "$1" ]]; then
if [[ "${1:0:4}" == "pci-" || "${1:0:9}" == "platform-" ]]; then
input="/dev/input/by-path/$1"
else
input="/dev/input/by-id/$1"
fi
elif [[ -e "/dev/input/by-id/usb-04d9_USB-HID_Keyboard_000000000407-event-kbd" ]]; then
input="/dev/input/by-id/usb-04d9_USB-HID_Keyboard_000000000407-event-kbd"
@vkbo
vkbo / upscaleDS9.py
Last active May 2, 2024 17:48
Script used to upscale ST:DS9 from PAL DVD to HD using Topaz Video AI and Iris V1 model
"""
Upscale: Star Trek Deep Space Nine
Source: PAL DVD
AI Model: Topaz Video AI 3.4, Iris V1
"""
import sys
import subprocess
from pathlib import Path
@AKBANK28
AKBANK28 / javascript-roadmap.md
Created May 2, 2024 17:46 — forked from kamranahmedse/javascript-roadmap.md
Roadmap for JavaScript (Text)

Textual version of the JavaScript roadmap roadmap.sh/javascript

  • Introduction to JavaScript
    • What is JavaScript?
    • History of JavaScript
    • JavaScript Versions
    • How to Run JavaScript
  • All about Variables
    • Rules for naming variables
  • Variable Declarations
@vasanthk
vasanthk / System Design.md
Last active May 2, 2024 17:45
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?