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
Array.prototype.add = function(el) { | |
this[this.length] = el; | |
return this; | |
}; | |
function toMap(object) { | |
var arr = []; | |
for(var item in object) arr[arr.length] = {key: item, value: object[item]}; | |
return arr; | |
}; |
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
function A(){} /* constructor */ | |
A.prototype = { /* especification of prop and methods of the class A */ | |
num : 5, | |
name : 'test', | |
action : function(){ /*base implementation*/}, | |
alert | |
}; | |
function B(){ /* constructor */ |
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
using System; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Interactivity; | |
namespace Custom.Behaviors | |
{ | |
public class ScrollPositionBehavior : Behavior<ScrollViewer> | |
{ | |
public double Position |
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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using System.Xml; | |
using System.Xml.Linq; | |
namespace GithubWikiDoc | |
{ |
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
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
cinst 1password | |
cinst 7zip | |
cinst 7zip.install | |
cinst AdobeAIR | |
cinst adobereader | |
cinst Atom | |
cinst markdownpad2 |
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
[user] | |
name = Alberto Monteiro | |
email = [email protected] | |
[core] | |
preloadindex = true | |
fscache = true | |
autocrlf = true | |
editor = code -n -w | |
[alias] | |
fetchall = fetch --all --prune |
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
ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, errors) => true; |
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
#r "System.Xml" | |
#r "System.Xml.Linq" | |
#r "System.IO.Compression" | |
#r "System.Data" | |
using System.Xml.Linq; | |
using System.IO.Compression; | |
using System.Data.SqlClient; | |
public void DecompressDatabaseMigration(string migrationName, string databaseName) |
OlderNewer