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
$ git pull origin classify | |
* branch classify -> FETCH_HEAD | |
Updating 8e66760..1255dbf | |
error: The following untracked working tree files would be overwritten by merge: | |
words | |
Please move or remove them before you can merge. | |
Aborting | |
$ rm words | |
rm: remove regular file ‘words’? y | |
$ git pull origin classify |
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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
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
"""Transformdict: a mapping that transforms keys on lookup | |
This module and ``test_transformdict.py`` were extracted from a | |
patch contributed to Python by Antoine Pitrou implementing his | |
PEP 455 -- Adding a key-transforming dictionary to collections. | |
As of Nov. 14, 2014, the patch was not yet merged to Python 3.5 | |
(which is in pre-alpha). The patch is ``transformdict3.patch``, | |
part of issue #18986: Add a case-insensitive case-preserving dict. |
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
def runningUniq(anArray, compare=lambda x,y: x==y): | |
""" non-memory efficient linear deduplicator """ | |
retAr = [] | |
for n, elem in enumerate(anArray): | |
if n == 0: | |
last = elem | |
retAr.append(elem) | |
continue | |
if compare(elem, last): |
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
## neat catholic stuff | |
[http://holywar.org/index.htm](http://holywar.org/index.htm) | |
[https://remnantnewspaper.com/web/index.php/articles/item/3640-divine-office-the-prayer-that-built-western-civilization](https://remnantnewspaper.com/web/index.php/articles/item/3640-divine-office-the-prayer-that-built-western-civilization) | |
[https://the-american-catholic.com/tag/father-z/](https://the-american-catholic.com/tag/father-z/) | |
[http://whitesmoke1958.com/introduction.htm](http://whitesmoke1958.com/introduction.htm) | |
[https://web.archive.org/web/20140819132415/http://themcj.com/](https://web.archive.org/web/20140819132415/http://themcj.com/) | |
[http://timstaples.com/](http://timstaples.com/) | |
[http://saintpaul.episcopaloklahoma.org/About%20US/the-sign-of-the-cross-bowing-and-genuflecting-what](http://saintpaul.episcopaloklahoma.org/About%20US/the-sign-of-the-cross-bowing-and-genuflecting-what) |
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
KERNEL!="sd[a-z][0-9]", GOTO="cpx_by_sn_automount_end" | |
ATTRS{vendor}=="Adafruit", ENV{vendor}="$attr{vendor}" | |
ATTRS{serial}=="*", ENV{serial}="$attr{serial}" | |
#import FS infos | |
## this imports ID_FS_UUID | |
IMPORT{program}="/usr/bin/blkid -o udev -p %N" | |
IMPORT{program}="/bin/sh -c \"/usr/bin/echo serial=%E{serial} | /usr/bin/cut -c1-12\"" | |
# Get a label if present, otherwise specify one | |
ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}-%E{serial}" | |
ENV{dir_name}=="", ENV{dir_name}="%E{ID_FS_LABEL_FATBOOT}-%E{serial}" |
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
#!/bin/sh | |
cwd=$PWD | |
# intended use: install oschameleon on centos7 | |
# as root without any bloody care for proper procedures | |
yum upgrade -y | |
yum install epel-release -y | |
yum install wget alien git python-pip gcc -y | |
pip install gevent | |
# adapted from https://pypi.org/project/OSfooler-ng/ |
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
Abi | |
Abiah | |
Abigail | |
Abihail | |
Abishag | |
Abital | |
Achsah | |
Adah | |
Ahlai | |
Aholibamah |
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
Top 5 2020 AMI providers | |
"531415883065" openshift | |
"801119661308" amazon | |
"979382823631" bitnami | |
"330183209093" qbol?-hvm | |
"679593333241" aws-marketplace |
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
import boto3 | |
import secrets | |
import sys | |
def create(): | |
user_data = """#!/bin/sh | |
yum update -y | |
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
yum install -y zsh wireguard-tools""" |
OlderNewer