Skip to content

Instantly share code, notes, and snippets.

@Lightfire228
Lightfire228 / git_hop.py
Last active September 13, 2022 20:00
Git Hop
from pathlib import Path
import argparse
import os
import subprocess
import sys
COMMIT_MSG = '!!hop_temp_commit!!'
CLEAN_MSG = 'nothing to commit, working tree clean'
@Lightfire228
Lightfire228 / git_clone_as_user.py
Last active February 26, 2022 05:40
Git MultiUser Utility
#!/usr/bin/env python
import argparse
import os
import subprocess
import sys
from pathlib import Path
import users
@Lightfire228
Lightfire228 / setup.py
Last active September 22, 2020 16:08
Launch ALL the programs!
# v4.5
# https://gist.github.com/Lightfire228/d9a37e440801a9121cbeeee8df2bf80a
from pywinauto.application import Application
from pywinauto import keyboard
import pyperclip
import subprocess
import time
/* Source 1: https://gist.github.com/jakewtaylor/e92acd697409e53a73ebf8e0145d4c28 */
/* Source 2: https://gist.github.com/samdenty/b96f4df576d05cb123248f8ebfa899b6 */
/* Source 3: https://gist.github.com/Lightfire228/39dc2cf403237a190e79a000912691b2#gistcomment-2841903*/
/* File URI: file:///C:/Path/to/file/style.css */
/* Github Issue: https://github.com/Microsoft/vscode/issues/17777 */
:root {
/** Indentation level. Set this to the same value as "workbench.tree.indent" **/
--indent: 20px;
/** The x offset for the vertical indentation guides **/
@Lightfire228
Lightfire228 / Wave.py
Created January 8, 2018 04:01
Python wave program
import time
import os
width = 236
height = 70
sleep = 0
word = "Hai"