I hereby claim:
- I am dryan on github.
- I am dryan (https://keybase.io/dryan) on keybase.
- I have a public key whose fingerprint is 3285 D024 0131 7A03 7787 458A 6088 6B14 0A92 6029
To claim this, I am signing this object:
| #! /bin/sh | |
| # From https://medium.com/@jonathan.leitschuh/zoom-zero-day-4-million-webcams-maybe-an-rce-just-get-them-to-visit-your-website-ac75c83f4ef5 | |
| # turns off video by default for your local user account | |
| defaults write ~/Library/Preferences/us.zoom.config.plist ZDisableVideo 1 | |
| # To prevent the vulnerable server from running on your machine | |
| # (this does not impact Zoom functionality), run these two lines in your Terminal. | |
| pkill "ZoomOpener"; rm -rf ~/.zoomus; touch ~/.zoomus && chmod 000 ~/.zoomus; | |
| pkill "RingCentralOpener"; rm -rf ~/.ringcentralopener; touch ~/.ringcentralopener && chmod 000 ~/.ringcentralopener; | |
| # (You may need to run these lines for each user on your machine.) |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| if [ -f 'package.json' ]; | |
| then | |
| npm install | |
| fi | |
| if [ -f 'bower.json' ]; | |
| then | |
| bower install | |
| fi | |
| if [ -f 'requirements.txt' ]; |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| import subprocess, sys, os, zipfile | |
| try: | |
| import boto | |
| except ImportError: | |
| print 'requires boto. `pip install boto`' | |
| sys.exit(os.EX_UNAVAILABLE) | |
| try: |
| # Hosts/domain names that are valid for this site; required if DEBUG is False | |
| # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts | |
| ALLOWED_HOSTS = [ | |
| 'yourdomain.tld', | |
| '.compute-1.amazonaws.com', # allows viewing of instances directly | |
| ] | |
| import requests | |
| EC2_PRIVATE_IP = None | |
| try: |
| 'use strict'; | |
| var | |
| SCSS_ROOT = 'media', | |
| CSS_ROOT = 'media', | |
| SASS_FRAMEWORKS = 'bower_components', | |
| fs = require('fs'), | |
| path = require('path'), | |
| scssFileMap = {}, | |
| scssFiles = fs.readdirSync(SCSS_ROOT), |
| #! /usr/bin/env python | |
| import sys, os, ConfigParser, argparse | |
| from getpass import getpass | |
| CLOUD_CONFIG_PATH = os.path.expanduser('~/.cloudapp') | |
| CAMPFIRE_CONFIG_PATH = os.path.expanduser('~/.basecamp') | |
| def log(message, error_code = None): | |
| if error_code: |
| # add this to the end of your .bashrc, .zshrc or equivalent | |
| function cd() { | |
| builtin cd "$@" | |
| if [ -f "bin/activate" ] | |
| then | |
| source "bin/activate" | |
| elif [ -f "../bin/activate" ] | |
| then | |
| source "../bin/activate" | |
| else |