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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta class="mktoString" mktoName="Variable 1" id="var1" default="This is a variable"> | |
<title></title> | |
<style> | |
body {background:#fff;} | |
</style> | |
</head> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta class="mktoString" mktoName="Variable 1" id="var1" default="This is a variable"> | |
<title></title> | |
<style> | |
body {background:#fff;} | |
</style> | |
</head> |
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
// Execute this function upon a project's "/network/members" page. | |
// - You also need to "inject" jQuery onto that page, first. | |
// Ex: https://github.com/example/test/network/members (replace "example/test" - NO LONGER WORKS) | |
// Ex: https://github.com/google/git-appraise-web/network/members (another example) | |
function add_all_github_forks(){ | |
var matches = window.location.href.match(/github.com[/]\w+[/]([^/]+)/); // [^/]+ used to be \w+, now also captures "-" in names | |
var project_name = ''; | |
if(matches == null){ | |
console.log("no match, quitting early"); | |
return; |
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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Testing IE Compatibility Mode</title> | |
<script src="ieUserAgent.js" type="text/javascript"></script> | |
</head> | |
<body> | |
<div id="results">Results:</div> | |
<script type="text/javascript"> | |
var val = "IE" + ieUserAgent.version; |
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
zi() { | |
if [[ ! -z $1 ]]; then | |
steps=$1; | |
SIZE=`grep 'FontName' ~/.config/Terminal/terminalrc | cut -d' ' -f 2` | |
NEWSIZE=$((SIZE + steps)) | |
REGEXPR='s/FontName.*/FontName=Monospace '$NEWSIZE'/g' | |
sed -i "$REGEXPR" ~/.config/Terminal/terminalrc | |
else | |
echo "Usage: zi [zoom steps]"; | |
fi; |
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
/***** | |
* Adds a "ping" sound whenever a Dell agent responds in the chat | |
* - @author Victor Yap <[email protected]> | |
* NOTES: | |
* - Uses HTML5's <audio> tag (future proof?) | |
* - Originally targetted Chrome with "Custom Javascript for websites" plugin. | |
*****/ | |
/***** | |
* Audio clip from: http://soundbible.com/1441-Elevator-Ding.html |
NewerOlder