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
ConfigurationManager.AppSettings["SiteSqlServer"] |
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 inputFolder = Folder.selectDialog("Select a folder to process"); | |
var fileList = inputFolder.getFiles("*.*"); //Use whatever extension you want or no extension to select all files | |
// these are our values for the end result width and height (in pixels) of our image | |
//var fWidth = 1200; | |
//var fHeight = 1200; |
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
DECLARE @T TABLE | |
([DbName] SYSNAME, | |
[SettingName] VARCHAR(255), | |
[SettingValue] VARCHAR(255)); | |
INSERT INTO | |
@T | |
EXEC sp_MSForEachDB | |
'SELECT | |
''?'', |
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
//All Files | |
browser-sync start --proxy localhost --files "**.*" | |
//Specific Files | |
browser-sync start --proxy localhost --files "*.ascx,*.css,*.js,*.cshtml" | |
//Specific Files inc. Subfolders | |
browser-sync start --proxy localhost --files "**/*.ascx,**/*.css,**/*.js,**/*.cshtml" |
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
node --inspect --debug-brk foo.js |
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 imageFolder = Folder.selectDialog("Select a folder to process"); | |
var fWidth = prompt("Width", "", "Width2"); | |
var fHeight = prompt("Height", "", "Height2"); | |
if (imageFolder != null) processFolder(imageFolder); | |
function processFolder(folder) { |
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 Newtonsoft.Json; | |
using System.Net; | |
using System.IO; | |
public void postJSON() | |
{ | |
postData pd = new postData(); | |
pd.Name = "Steve"; |
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 void getTeams() | |
{ | |
var json = GET("http://api.football-data.org/v1/competitions/426/teams"); | |
dynamic jsonObj = JsonConvert.DeserializeObject(json); | |
var tm = new TeamManager(); | |
foreach (var obj in jsonObj.teams) | |
{ |
OlderNewer