Skip to content

Instantly share code, notes, and snippets.

@Sh-ui
Sh-ui / PYCX.py
Last active March 31, 2019 17:13
small tool to compile python to an exec file
"""
(PYCX) PYthon to Cython to eXec, a unix command line util
Usage:
pycx FILES... [-o DIR --verbose --delete --run]
pycx --help
Options:
FILES one or more python files to compile
-o --output=DIR output directory
-v --verbose show output while exec compiles
@Sh-ui
Sh-ui / !HyperZshAntibodyTerm.md
Last active May 20, 2021 12:53
My terminal config with hyper terminal oh-my-zsh, and antibody with static loading

Customizing my Terminal

terminal_screenshot

I didn't know anything about shell scripts before I started working on this. I originally downloaded hyper.js and followed the setup guide for spaceship prompt without knowing why I use doing most of what I was doing.

Long story short I later revisted my setup hoping to customize it more and I went down the rabbit hole. I installed antigen, pure prompt, clean prompt; then I went back and switched back to spaceship prompt, and switched from antigen to antibody.

This is what I've settled on now, using zsh, oh-my-zsh, antibody, [spac

@jcefoli
jcefoli / move-recursive.ps1
Last active April 24, 2024 04:23
Powershell: Move Files & Folders In Directory Recursively to Another Directory
<#
Recursively move all files in C:\SourceDir into C:\Destination
Assumes C:\Destination exists already, or there could be problems
#>
Move-Item -Path "C:\SourceDir\*" -Destination "C:\Destination"