- clarification with pip install
This file contains hidden or 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
| { | |
| "Arts & Entertainment":[ | |
| "Books & Literature", | |
| "Celebrity Fan/Gossip", | |
| "Fine Art", | |
| "Humor", | |
| "Movies", | |
| "Music", | |
| "Television" | |
| ], |
This file contains hidden or 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/bash | |
| # List of system icons which need to be changed | |
| sys_icons="ApplicationsFolderIcon.icns BurnableFolderIcon.icns \ | |
| DesktopFolderIcon.icns DeveloperFolderIcon.icns DocumentsFolderIcon.icns \ | |
| DownloadsFolder.icns GenericFolderIcon.icns GenericSharepoint.icns \ | |
| GroupFolder.icns LibraryFolderIcon.icns MovieFolderIcon.icns \ | |
| MusicFolderIcon.icns OpenFolderIcon.icns PicturesFolderIcon.icns \ | |
| PublicFolderIcon.icns ServerApplicationsFolderIcon.icns \ | |
| SitesFolderIcon.icns SystemFolderIcon.icns UsersFolderIcon.icns \ |
This file contains hidden or 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
| #/usr/bin/env bash | |
| # Originally based on https://gist.github.com/sindresorhus/7996717 | |
| # by Sindre Sorhus (sindresorhus.com) | |
| # git hook to run a command after `git pull` if a specified file was changed | |
| # Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
| if git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD | grep --quiet -E "package.json"; | |
| then | |
| echo ">>> package.json file has changed <<<" | |
| echo "Deleting current node_modules folder (rm -rf ./node_modules)" |
This file contains hidden or 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 json | |
| import csv | |
| from pprint import pprint | |
| import argparse | |
| parser = argparse.ArgumentParser() | |
| #-db DATABSE -u USERNAME -p PASSWORD -size 20 | |
| parser.add_argument("-o", "--output", help="CSV Output") | |
| parser.add_argument("-i", "--input", help="JSON Input") |
This file contains hidden or 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
| #!/usr/bin/python | |
| import hashlib | |
| import hmac | |
| import base64 | |
| import struct | |
| # c2f563084a8427f4eafd4d1456a9303a99fbbd8ef2099469b004efcce754ea5b | |
| MESSAGE = 'SjpvRwAB4kB7jEpgW5IA8p73ew9ic6VZpFsPnA==' | |
| E_KEY = 'sIxwz7yw62yrfoLGt12lIHKuYrK/S5kLuApI2BQe7Ac=' |
for anyone having issues with docker routing conflicts in the 172 range — i ended up changing the /var/lib/boot2docker/profile by running
docker-machine ssh default
and then modifying it to include EXTRA_ARGS with --bip=10.11.12.1/24 (you can use any private address in here)
/var/lib/boot2docker/profile
- Tesla (Model S,3,X,Y?)
- Raspberry Pi Zero
- Micro USB to USB A cable
- Micro SDHC Card
- Download and install Etcher (https://github.com/balena-io/etcher/releases/download/v1.5.45/balenaEtcher-1.5.45-mac.zip)
- Download Raspbian Lite (Debian distro for Raspbery Pi)
- Copy Raspbian Lite to your SD card (using a USB Micro SD card reader or SD card adapter on your Mac) using Etcher