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
$net = new-object -ComObject WScript.Network | |
$net.MapNetworkDrive("r:", "\\romeobox\files", $false, "domain\user", "password") |
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 name="viewport" content="width=device-width" /> | |
<title>$title</title> | |
$styles | |
</head> | |
<body> | |
<h1>$title</h1> |
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
alert(this) | |
window.alert(window) | |
location.href = "http://google.com"; | |
var o = new Object(); | |
o.name = "bob"; | |
o.age = 37; |
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
export rvm_path="$HOME/.rvm" | |
export rvm_pretty_print_flag=1 | |
export rvm_install_on_use_flag=1 | |
export rvm_gemset_create_on_use_flag=1 | |
export rvm_make_flags="-j2" | |
export rvm_trust_rvmrcs_flag=1 |
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
/* CoffeeScript: | |
class Person | |
constructor: (@name, @age) -> | |
@createdAt = new Date() | |
isAdult: => @age > 18 | |
talk: => console.debug("Hello. My name is #{@name} and I'm #{@age} years old.") | |
*/ |
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
using System.Linq; | |
using TweetSharp; | |
public class Example { | |
public static void Main(string[] args) { | |
// Get setting values | |
string consumerKey = Setting.TwitterConsumerKey.GetValue<string>(); | |
string consumerSecret = Setting.TwitterConsumerSecret.GetValue<string>(); |
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> | |
<title><%= "Dynamic Dispatch" %></title> | |
<link rel='stylesheet' href='/stylesheets/application.css' /> | |
<script src='/components/jquery/jquery.min.js' type='text/javascript'></script> | |
<script src='/components/knockout/knockout.js' type='text/javascript'></script> | |
<script type='text/javascript'> | |
function GithubProjectViewModel() { |
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
.flip-container { | |
perspective: 1000; | |
.flipper { | |
transition: 0.6s; /* all .4s ease-in-out */ | |
transform-style: preserve-3d; | |
position: relative; | |
} | |
.front, .back { | |
backface-visibility: hidden; | |
position: absolute; |
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
Get-ChildItem "C:\" -recurse -force | |
| Where-Object { | |
$_.name -like ".*" | |
-and | |
$_.attributes -match 'Hidden' -eq $false | |
} | |
| Set-ItemProperty -Name Attributes -Value ([System.IO.FileAttributes]::Hidden) |
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
osascript -e 'tell application "Safari" to add reading list item "http://totl.net/"' |