docker run -it --mount source=my-vol,target=c:/app microsoft/dotnet-framework powershell
docker network ls
docker volume create my-vol
docker volume inspect my-vol
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 = alberto.monteiro@live.com | |
[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
import {Parser, Expression, ComputedExpression, Binding, Scope, createOverrideContext} from 'aurelia-binding'; | |
class ComputedListExpression extends Expression { | |
/** | |
* @param {String} expressionStr Expression string for one dependency | |
*/ | |
constructor(expressionStr: string) { | |
super(); | |
const parser = new Parser(); |
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
jQuery("table").find("input[type=checkbox]").each((i,e) => { setTimeout(() => { if(i >= 100) jQuery(e).click(); }, 0); }) |
ç e acento
somente acento
Fonte: https://sqlfromhell.wordpress.com/2010/05/01/ignorando-letras-maiusculas-minusculas-acentos-e-c/
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) |
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
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
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; | |
}; |