This file has been truncated, but you can view the full file.
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
{ | |
"_id" : ObjectId("5706ff815413d466678de3bd"), | |
"id" : "2489651057", | |
"type" : "WatchEvent", | |
"actor" : { | |
"id" : 6894991, | |
"login" : "SametSisartenep", | |
"gravatar_id" : "", | |
"url" : "https://api.github.com/users/SametSisartenep", |
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
declare @TableName sysname = 'TableName' | |
declare @Result varchar(max) = 'public class ' + @TableName + ' | |
{' | |
select @Result = @Result + ' | |
public ' + ColumnType + NullableSign + ' ' + ColumnName + ' { get; set; } | |
' | |
from | |
( | |
select |
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
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ | |
/* ========================================================================== | |
HTML5 display definitions | |
========================================================================== */ | |
/** | |
* Correct `block` display not defined in IE 8/9. | |
*/ |
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
; Paste Date/time stamp as YYYYMMDDHHMMSS hash (Ctrl ;) | |
^;:: Send, %A_Now% | |
return | |
; Paste personally preferred formatted date/time stamp (Ctrl Shift ;) | |
^+;:: | |
FormatTime,CurrentTime,%A_Now%,M/d/yyyy HH:mm:ss | |
Send, %CurrentTime% | |
return |
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.Text; | |
using System.Collections.Generic; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
using OpenQA.Selenium; | |
using OpenQA.Selenium.IE; | |
using OpenQA.Selenium.Support.UI; | |
using System.Threading; | |
//TODO replace with your namespace |
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 set-ip-static ([string]$ip, [string]$strMask, [string]$gateway, [string]$dns1, [string]$dns2, [string]$networkInterface) { | |
netsh interface ipv4 set address name=$networkInterface static $ip $strMask $gateway 1 | |
netsh interface ipv4 delete dnsservers name=$networkInterface all validate=no | |
netsh interface ipv4 set dns name=$networkInterface static addr=$dns1 validate=no | |
netsh interface ipv4 add dnsservers name=$networkInterface addr=$dns2 index=2 validate=no | |
} | |
function set-ip-wi-example { | |
$ip = "192.168.201.25" | |
$strMask = "255.255.255.0" |
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 db-export-data() { | |
$Filepath='D:\DatabaseBackups' # local directory to save build-scripts to | |
$DataSource='MyServer' # server name and instance | |
$Database='MyDatabase'# the database to copy from | |
# set "Option Explicit" to catch subtle errors | |
set-psdebug -strict | |
$ErrorActionPreference = "stop" # you can opt to stagger on, bleeding, if an error occurs | |
# Load SMO assembly, and if we're running SQL 2008 DLLs load the SMOExtended and SQLWMIManagement libraries | |
$ms='Microsoft.SqlServer' | |
$v = [System.Reflection.Assembly]::LoadWithPartialName( "$ms.SMO") |
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 updatePaging() { | |
$find('<%=yourgrid.clientid%>').get_behaviors().get_paging().updatePager( | |
getPageSize(), | |
getPageIndex(), | |
getPageCount()) | |
} | |
function getSequencePageCount() { | |
var count = getResultsCount() / getPageSize() | |
if (count <= 0=) { |
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
OpenEverything() | |
{ | |
IfWinExist, Everything | |
{ | |
WinActivate | |
return | |
} | |
Run, "C:\Program Files (x86)\Github\Wox\Everything\Everything.exe" | |
return | |
} |
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
html,.mediawiki,.TSddqdlwwG { | |
width: 100% | |
; | |
} | |
.WikiaSiteWrapper { | |
background-image: none; | |
background-color: white; | |
margin-top: -55px; | |
width: 100%; |