-
Other
- http://emberjs.jsbin.com/rwjblue/251/edit?html,js,output - Opening a window and communicate with it.
- http://emberjs.jsbin.com/rwjblue/55/edit - Using liquid-fire animations in globals mode.
- http://emberjs.jsbin.com/rwjblue/151/edit?js,output - Modify computed dependent keys after initialization.
-
POJO's
- http://emberjs.jsbin.com/rwjblue/253/edit?js,output - Defining computed properties on a POJO.
-
Routing
- http://emberjs.jsbin.com/rwjblue/254/ - Shows route hook ordering.
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
public string GetExceptionMessage(Exception exception) | |
{ | |
DateTime now = System.DateTime.Now; | |
StringBuilder error = new StringBuilder(); | |
error.AppendLine("\nException classes:\t"); | |
error.Append(GetExceptionTypeStack(exception)); | |
error.AppendLine("\nException messages:\t"); | |
error.Append(GetExceptionMessageStack(exception)); |
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 | |
# doesn't remove packages. just beginning/sharing script for the install. | |
if [ -e /etc/redhat-release ]; then | |
yum install -y gcc gcc-c++ make autoconf automake e2fsprogs-devel glibc-devel libuuid-devel | |
elif [ -e /etc/debian_version ]; then | |
apt-get install -y build-essential uuid-dev | |
else | |
echo "sorry, this script only installs on RedHat/CentOS or Debian/Ubuntu boxes" | |
exit 2 |
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
public static class AzureEmulatorManager | |
{ | |
public static AzureStorageEmulatorManager Storage = AzureStorageEmulatorManager.Instance; | |
public static AzureComputeEmulatorManager Compute = AzureComputeEmulatorManager.Instance; | |
} | |
public class AzureStorageEmulatorManager | |
{ | |
private const string StorageEmulatorProcessName = "DSServiceLDB"; | |
private const string EmulatorPath = @"C:\Program Files\Microsoft SDKs\Windows Azure\Emulator\csrun.exe"; |
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; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.ComponentModel; | |
using System.ComponentModel.DataAnnotations; | |
using System.Diagnostics.CodeAnalysis; | |
using System.Globalization; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; |
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
sudo apt-get -y install curl | |
echo "Add repos" | |
#Chrome | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
# VirtualBox | |
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - | |
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian saucy contrib" >> /etc/apt/sources.list.d/virtualbox.list' | |
# Spotify |
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
<?xml version="1.0" encoding="utf-8"?> | |
<key name="Software"> | |
<key name="ConEmu"> | |
<key name=".Vanilla" modified="2015-04-27 12:06:15" build="150420"> | |
<value name="StartType" type="hex" data="02"/> | |
<value name="CmdLine" type="string" data=""/> | |
<value name="StartTasksFile" type="string" data=""/> | |
<value name="StartTasksName" type="string" data="{PowerShell (Admin)}"/> | |
<value name="StartFarFolders" type="hex" data="00"/> | |
<value name="StartFarEditors" type="hex" data="00"/> |
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
var oauth2 = require('./lib/simple-oauth2.js')({ | |
clientID: 'roclient', | |
clientSecret: 'secret', | |
site: 'http://id.conube.com.br', | |
tokenPath: '/connect/token' | |
}); | |
var request, result, error; | |
var params = { |
This file has been truncated, but you can view the full file.
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
[ | |
"01001000", | |
"01001001", | |
"01001010", | |
"01002000", | |
"01002001", | |
"01002010", | |
"01002020", | |
"01003000", | |
"01003001", |
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
[ | |
"0161001", | |
"0161002", | |
"0161003", | |
"0161099", | |
"0162801", | |
"0162802", | |
"0162803", | |
"0162899", | |
"0163600", |
OlderNewer