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
<script>alert("hello");</script> |
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
gotoresearch, a leading research and design firm, is conducting a study of people who work in IT, DevOps, networking infrastructure. | |
We are looking for people who can participate in a 45 minute remote interview next week. Individuals who complete the interview will receive $150 for their time. | |
In order to help us identify a diverse group of participants, please click the link below and complete a short survey about yourself. This should take less than 3 minutes to complete. | |
Link for the survey: https://www.surveymonkey.com/r/MVDK75K | |
If you initially qualify to participate, we will contact you to discuss the study. You will be contacted ONLY if you initially qualify. Please do not contact gotoresearch directly. |
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
def _get_trace(): | |
trace = u'' | |
depth = 2 # skip call to this function | |
while True: | |
try: | |
frame = sys._getframe(depth) | |
trace = u'%s:%s\n%s' % ( | |
frame.f_code.co_filename, frame.f_lineno, trace | |
) | |
depth += 1 |
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 | |
# Installs RocksDB | |
# https://github.com/facebook/rocksdb/blob/master/INSTALL.md | |
# http://pyrocksdb.readthedocs.io/en/v0.4/installation.html | |
## | |
set -e | |
set -x | |
sudo yum groupinstall -y "Development Tools" |
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 python | |
# Be sure to execute this with your virtualenv activated | |
from pip._vendor import pkg_resources | |
import sys | |
# The name of the pip package | |
# TODO error checking (when this is no longer a gist) | |
dependency = sys.argv[1] |
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 | |
### BEGIN INIT INFO | |
# Provides: supervisord | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
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
## | |
# "I did [mean that]" | |
# Re-run the suggested git command | |
# Intended to be run as 'idid "!!"' | |
# Place this file in your $PATH | |
# TODO create this as a brew script | |
## | |
declare last='' | |
declare selection_ordinal='1' |
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
[mysql] | |
prompt="[\\u@\\h \\D]\\n[mysql-\\d \\c]>" |
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
## | |
# Log levels for bash scripts | |
# vim: set ft=sh : | |
## | |
# Date format for logging | |
declare -r DATE_FORMAT='+%Y-%m-%d:%H:%M:%S:%:z' | |
## | |
# These are the "methods" that your script will use to do the logging |
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 | |
# | |
# In a situation in which you are ssh'ing into a set of servers, and you are | |
# confident about their trustability, but the current server doesn't "know" | |
# them yet. This script will add their signatures into your known_hosts file | |
# if it is not yet there. | |
## | |
declare KNOWN_HOSTS_FILE="$HOME/.ssh/known_hosts" | |
declare server_ip= |
NewerOlder