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 | |
if [ -z "$1" ]; then | |
echo | |
echo usage: $0 network-interface | |
echo | |
echo e.g. $0 eth0 | |
echo | |
echo shows packets-per-second |
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
# this is a config file for system to recognize WQHD monitor | |
# put this under /etc/X11/xorg.conf.d/ | |
# | |
# Intel Graphics's HDMI(or Single-Link DVI) can not output 2560x1440 at 60Hz, | |
# for its limitation of dot clock | |
# This file provides settings of 2560x1440 by 55Hz using "reduced blanking" | |
# Thanks, http://blog.keshi.org/hogememo/2013/08/27/linux-hdmi-wqhd-tips | |
# and http://www.notebookcheck.net/2560x1440-or-2560x1600-via-HDMI.92840.0.html | |
Section "Device" |
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 | |
#Inspired by http://blog.neutrino.es/2012/git-copy-a-file-or-directory-from-another-repository-preserving-history/ | |
#Copy a file or directory out of a git repository, preserving history! | |
#Creates '/destination/patch/path' with patches that can be applied with git am | |
#e.g. | |
#0001-First-Commit.patch | |
#0002-Second-Commit.patch | |
#... | |
#Usage: copy-git-file.sh /some/repo/interesting/thing /destination/patch/path |