Skip to content

Instantly share code, notes, and snippets.

@squarism
squarism / iterm2.md
Last active April 19, 2024 16:26
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@klange
klange / _.md
Last active April 19, 2024 16:24
12 Years of ToaruOS

12 Years of ToaruOS

This is a repost and update to an imgur album with screenshots of ToaruOS throughout its development, as imgur is no longer a viable platform for maintaining this collection.

Early Development

My first commit in the ToaruOS repository, ecd4fe2bc170b01ad700ff76c16da96993805355, was made on January 15th, 2011. This date has become ToaruOS's "birthday". It would be another six years and two weeks before ToaruOS's first real release, 1.0.

1 - eL4aHBZ - Humble Beginnings

@jinjier
jinjier / 250.csv
Last active April 19, 2024 16:23
JavDB Top 250 movies code list. [Updated at 2024/02]
1 LAFBD-41
2 SSNI-497
3 ABP-984
4 IPX-580
5 IPX-811
6 IPX-177
7 STARS-804
8 SMBD-115
9 ABP-968
10 ABF-017
@TheOnlyWayUp
TheOnlyWayUp / README.md
Last active April 19, 2024 16:23
Like all songs in a Youtube Music Playlist

This script likes all the songs in a Youtube Music Playlist at once.

How to use:

  • Visit a Playlist's page on ytm (URL looks like: https://music.youtube.com/playlist?list=...
  • Press ctrl + shift + j. This opens the Developer Console.
  • Copy the script in this gist (That's in script.js)
  • Paste the code into the Developer Console on the ytm Tab, hit enter.
  • Great, you're done!

Star ⭐ this gist if it was useful. Follows to my GitHub Profile are appreciated.

@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active April 19, 2024 16:21
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
@Klerith
Klerith / pasos-node-typescript.md
Last active April 19, 2024 16:21
Configurar proyecto de Node con TypeScript

Pasos para usar Node con TypeScript con Nodemon

Más información - Docs Oficiales

  1. Instalar TypeScript y tipos de Node, como dependencia de desarrollo
npm i -D typescript @types/node
  1. Inicializar el archivo de configuración de TypeScript ( Se puede configurar al gusto)
@qoomon
qoomon / conventional_commit_messages.md
Last active April 19, 2024 16:20
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default

name: Fleetime Flutter CI/CD Configuration
# Command ini digunakan untuk mentrigger workflow ini menggunakan
# event push tag pada branch master
on:
push:
tags:
- "*.*.*" # on every version tag will build a new android artifact example: v3.1.2+6
jobs:
build:
@wi1k1n
wi1k1n / mouse_pos_show.ahk
Last active April 19, 2024 16:16
AutoHotKey: Mouse Position Helper. Simply run the script and it will show the current cursor coordinates in different CoordModes. Hotkey Strokes are also available to quickly copy current coordinates
#Persistent
CoordMode, ToolTip, screen
SetTimer, WatchCursor, 100
return
WatchCursor:
CoordMode, mouse, Screen ; Coordinates are relative to the desktop (entire screen).
MouseGetPos, x_1, y_1, id_1, control_1
CoordMode, mouse, Window ; Synonymous with Relative and recommended for clarity.
@0xilis
0xilis / No_libAppleArchive_AEA_Reform.m
Created April 19, 2024 14:56
Hacky reforming signed shortcut AEA from apple archive
#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonCryptor.h>
#include <compression.h>
#import <CommonCrypto/CommonHMAC.h>
#import <CommonCrypto/CommonDigest.h>
void dhexPrint(uint8_t *buf, size_t sz) {
printf("buf: ");
int byteOfLine = 0;
for (int i = 0; i < sz; i++) {