This file contains 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
#NoEnv ;Recommended for performance and compatibility with future AutoHotkey releases. | |
#Warn ;Recommended for catching common errors. | |
Process, Priority,, High | |
SetBatchLines, -1 ;Have the script run at maximum speed | |
/* | |
This script forces VMWare Workstation into a fake full screen mode across two monitors (will only work if the guest OS auto-fits to the window). | |
For my setup the left edge of the VMWare window is placed at -1922px. | |
I wanted the window to span from my left monitor to my center monitor both of which are 1080p. | |
The extra 2px to the left is to move the left window border completely out of view. |
This file contains 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
#Persistent | |
#NoEnv ;Recommended for performance and compatibility with future AutoHotkey releases. | |
#Warn ;Recommended for catching common errors. | |
SendMode Input ;Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ;Ensures a consistent starting directory. | |
DetectHiddenWindows, On | |
DetectHiddenText, On | |
//Edit ENTER-USB-NAME in line 36 to be the name of the USB drive you want an action performed on. |
This file contains 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
// ----------------------------------------------------- | |
// _mixins.scss | |
@mixin make-grid-columns-float-custom($class, $index) { | |
$classname: ".col-" + $class + "-" + $index; | |
#{$classname} { | |
float: left; | |
} | |
} | |
@function rmod($val1) { |
This file contains 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
// ==UserScript== | |
// @name jsmonkey-gcsearch additional Google search filters | |
// @namespace http://techexplored.com | |
// @description Adds 2 custom search filters to limit search results to the past 6 months or 2 years. | |
// @contributor petermac- | |
// @version 2014.05.09 | |
// | |
// @icon http://www.google.com/favicon.ico | |
// @include /(http|https)?://.*\.google\.[^\/]+?/(#.*|search\?.*)?$/ | |
// @grant none |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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 | |
MUSER="$1" | |
MPASS="$2" | |
MDB="$3" | |
# Detect paths | |
MYSQL=$(which mysql) | |
AWK=$(which awk) | |
GREP=$(which grep) |
This file contains 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 | |
dscacheutil -flushcache | |
sudo killall -HUP mDNSResponder |
This file contains 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
# Return to the directory you were in before executing your last cd command. | |
cd - | |
# Run your last entered command as sudo. | |
sudo !! | |
# Shows who’s currently logged in to your system. | |
w | |
# Attaches line numbers to text. |
This file contains 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
// ==UserScript== | |
// @name YouTube Likes | |
// @description Displays number of likes and dislikes of YouTube videos. | |
// @namespace http://turplepurtle.com | |
// @author TurplePurtle | |
// @version 2.0.1 | |
// @include http://www.youtube.com/* | |
// @include https://www.youtube.com/* | |
// ==/UserScript== |
OlderNewer