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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Editor</title> | |
<style type="text/css"> | |
body { | |
background-color: #EEE; | |
} | |
header { | |
z-index: 1000; |
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
# Edit some text in $EDITOR and copy it to the clipboard. | |
clip() { | |
$EDITOR ~/.tmp | |
if [ -e "~/.tmp" ]; then | |
cat ~/.tmp | pbcopy | |
rm ~/.tmp | |
fi | |
} |
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
javascript:var links=document.getElementsByTagName('link');for(var i=0,j=links.length;i<j;i++){if(links[i]&&links[i].rel==='stylesheet')links[i].parentElement.removeChild(links[i]); }var styles=document.getElementsByTagName('style');for(var i=0,j=styles.length;i<j;i++){if(styles[i])styles[i].parentElement.removeChild(styles[i]);} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Rock, Paper, Scissors</title> | |
</head> | |
<body> | |
<select id="user-choice"> | |
<option value="0">Rock</option> | |
<option value="1">Paper</option> | |
<option value="2">Scissors</option> |