Suppose you're opening an issue and there's a lot noisey logs that may be useful.
Rather than wrecking readability, wrap it in a <details>
tag!
<details>
Summary Goes Here
#!/bin/bash | |
TMUX_VERSION="2.1" | |
LIBEVENT_VERSION="2.0.20" | |
NCURSES_VERSION="6.0" | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. |
#!/bin/bash | |
# Pushover API key | |
TOKEN="PUSHOVER_API_KEY_HERE" | |
# List of device keys to push to | |
KEYS=( KEY_ONE KEY_TWO ) | |
# Url to monitor | |
URL=https://play.google.com/store/devices/details?id=nexus_4_16gb |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
tmux list-window | awk -F":" '{system("tmux select-window -t "$1"; tmux send-keys C-c; tmux send-keys \"exit\"; tmux send-keys Enter")}'; tmux attach |
#!/bin/bash | |
TARGETDIR=$1 | |
if [ "$TARGETDIR" = "" ]; then | |
TARGETDIR=$(python -c 'import os; print os.path.realpath("local")') | |
fi | |
mkdir -p $TARGETDIR | |
libevent() { | |
curl -LO https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz | |
tar -zxvf libevent-2.0.22-stable.tar.gz |
<html> | |
<head> | |
<title>JQuery.RecurrenceInput Demo</title> | |
<link type="text/css" href="jquery.tools.dateinput.css" rel="stylesheet"></link> | |
<link type="text/css" href="jquery.recurrenceinput.css" rel="stylesheet"></link> | |
<link type="text/css" href="overlays.css" rel="stylesheet"></link> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> | |
# You can wrap this so you onl run it when testing locally against localhost | |
# So only do this when running in DEV environment. | |
prev_setting = OpenSSL::SSL.send(:remove_const, :VERIFY_PEER) | |
OpenSSL::SSL.const_set(:VERIFY_PEER, OpenSSL::SSL::VERIFY_NONE) |
Lists the last commit affecting a file across multiple repositories
Script written in answer of [https://stackoverflow.com/questions/55496873/git-find-last-time-a-file-was-modified-across-multiple-repos]
Python3.6 or above is needed, along with the requests
package (included in
requirements.txt).