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
# Instance fields are camelCase and start with _ | |
dotnet_naming_rule.instance_fields_should_be_camel_case.severity = suggestion | |
dotnet_naming_rule.instance_fields_should_be_camel_case.symbols = instance_fields | |
dotnet_naming_rule.instance_fields_should_be_camel_case.style = instance_field_style | |
dotnet_naming_symbols.instance_fields.applicable_kinds = field | |
dotnet_naming_style.instance_field_style.capitalization = camel_case | |
dotnet_naming_style.instance_field_style.required_prefix = _ |
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
param ( | |
# The root directory to perform the pull in | |
$baseDir = ".", | |
# How deep down you want to look for .git folders | |
$depth = 2, | |
# The command you want to perform | |
$cmd = "status" | |
) |
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
param ( | |
# The root directory to perform the pull in | |
$baseDir = ".", | |
# How deep down you want to look for .git folders | |
$depth = 2, | |
# The command you want to perform | |
$cmd = "status" | |
) |
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
#EXTM3U | |
#EXTINF:-1 tvg-name="Skrypin UA", Skrypin UA | |
http://play.lanet.tv/index/1008.m3u8?key=TInsKnAmphl7Rmta&q=max&ssl=false | |
#EXTINF:-1 tvg-name="Ланет INFO", Ланет INFO | |
http://play.lanet.tv/index/2010.m3u8?key=TInsKnAmphl7Rmta&q=max&ssl=false | |
#EXTINF:-1 tvg-name="Ланет LIVE", Ланет LIVE | |
http://play.lanet.tv/index/2008.m3u8?key=TInsKnAmphl7Rmta&q=max&ssl=false | |
#EXTINF:-1 tvg-name="Ланет FLIX", Ланет FLIX | |
http://play.lanet.tv/index/2001.m3u8?key=TInsKnAmphl7Rmta&q=max&ssl=false | |
#EXTINF:-1 tvg-name="Ланет PLAY", Ланет PLAY |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
</head> | |
<body> |
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
// By default the memory limit in Node.js is 512MB. | |
// This will cause FATAL ERROR- JS Allocation failed – process out of memory when processing large data files. | |
// It can be avoided by increasing the memory limit. | |
node --max_old_space_size=1024 server.js // increase to 1gb | |
node --max_old_space_size=2048 server.js // increase to 2gb | |
node --max_old_space_size=3072 server.js // increase to 3gb | |
node --max_old_space_size=4096 server.js // increase to 4gb | |
node --max_old_space_size=5120 server.js // increase to 5gb | |
node --max_old_space_size=6144 server.js // increase to 6gb |
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
[user] | |
name = XXX | |
email = XXX | |
[core] | |
preloadindex = true | |
fscache = true | |
autocrlf = true | |
[http] | |
sslVerify = false | |
[push] |
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
// http://stackoverflow.com/questions/17246309/get-all-user-defined-window-properties | |
(function () { | |
var results, currentWindow, | |
// create an iframe and append to body to load a clean window object | |
iframe = document.createElement('iframe'); | |
iframe.style.display = 'none'; | |
document.body.appendChild(iframe); | |
// get the current list of properties on window | |
currentWindow = Object.getOwnPropertyNames(window); | |
// filter the list against the properties that exist in the clean window |
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 ActionResult Test() | |
{ | |
var sb = new StringBuilder(); | |
using (RouteTable.Routes.GetReadLock()) | |
{ | |
foreach (var routeBase in RouteTable.Routes) | |
{ | |
if (routeBase.GetType().ToString() == "System.Web.Mvc.Routing.LinkGenerationRoute") | |
{ | |
continue; |
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
<table class="result-table"> | |
<tr> | |
<td colspan="2" class="wordwrap"><div class="result-title">@Model.Result.RequestType </div></td> | |
</tr> | |
<tr> | |
<td class="col1">1</td> | |
<td class="col2 wordwrap">@Model.Result.RegistrationNumber</td> | |
</tr> | |
<tr> | |
<td class="col1">2</td> |
NewerOlder