This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# some useful functions based on practice activities on codeacademy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 versions of my triangle scalar tool |
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
(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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Joe', 'June', 'Harvey' have 'Joe' == TRUE | |
'Joe', 'June', 'Harvey' have 'J' == TRUE # without brackets it checks within items | |
'Joe', 'June', 'Harvey' have ['J'] == FALSE # with brackets to check for an item | |
'Joe', 'June', 'Harvey' have 1 'J' == FALSE | |
'Joe', 'June', 'Harvey' have 2 'J' == TRUE # these are | |
'Joe', 'June', 'Harvey' have 2 of 'J' == TRUE # equivalent | |
'Joe', 'June', 'Harvey' have 2 ('J') == TRUE # expressions |