[System.Environment]::SetEnvironmentVariable('DOTNET_CLI_UI_LANGUAGE','en-US')
$env:DOTNET_CLI_UI_LANGUAGE
en-US
or
- Go to location where dotnet is installed
- Go to "dotnet-install-directory\sdk\sdk-version"
public static uint Stein(uint value1, uint value2) | |
{ | |
if (value1 == 0) return value2; | |
if (value2 == 0) return value1; | |
if (value1 == value2) return value1; | |
bool value1IsEven = (value1 & 1u) == 0; | |
bool value2IsEven = (value2 & 1u) == 0; | |
if (value1IsEven && value2IsEven) |
# -*- coding: utf-8 -*- | |
from datetime import datetime | |
import sublime_plugin | |
class TimestampCommand(sublime_plugin.EventListener): | |
"""Expand `isoD`, `now`, `datetime`, `utcnow`, `utcdatetime`, | |
`date` and `time` | |
""" |
Nuget command line – uninstall package from all projects | |
> Get-Project -All | Uninstall-Package <package name> |
// testar cores em javascript | |
function shuffle(array) { | |
var currentIndex = array.length, temporaryValue, randomIndex; | |
// While there remain elements to shuffle... | |
while (0 !== currentIndex) { | |
// Pick a remaining element... | |
randomIndex = Math.floor(Math.random() * currentIndex); | |
currentIndex -= 1; |
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. | |
## | |
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore | |
# User-specific files | |
*.rsuser | |
*.suo | |
*.user | |
*.userosscache |
#tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0 | |
//#addin nuget:?package=Cake.ClickTwice | |
#addin nuget:?package=Cake.Powershell&version=0.4.7 | |
#r "C:\Users\lukia\source\repos\Cake\ClickTwice\src\Cake.ClickTwice\bin\Debug\Cake.ClickTwice.dll" | |
#r "C:\Users\lukia\source\repos\Cake\ClickTwice\src\Cake.ClickTwice\bin\Debug\ClickTwice.Handlers.AppDetailsPage.dll" | |
////////////////////////////////////////////////////////////////////// | |
// ARGUMENTS | |
////////////////////////////////////////////////////////////////////// |
# SetAssemblyInfoVersion.ps1 | |
# | |
# Set the version in all the AssemblyInfo.cs or AssemblyInfo.vb files in any subdirectory. | |
# | |
# usage: | |
# from cmd.exe: | |
# powershell.exe .\SetAssemblyInfoVersion.ps1 2.8.3.0 | |
# | |
# from powershell.exe prompt: | |
# .\SetAssemblyInfoVersion.ps1 2.8.3.0 |
/// <binding AfterBuild='default' Clean='clean' /> | |
/* | |
This file is the main entry point for defining Gulp tasks and using Gulp plugins. | |
Click here to learn more. http://go.microsoft.com/fwlink/?LinkId=518007 | |
*/ | |
var gulp = require('gulp'); | |
var del = require('del'); | |
var plumber = require('gulp-plumber'); | |
var concat = require('gulp-concat'); |
[System.Environment]::SetEnvironmentVariable('DOTNET_CLI_UI_LANGUAGE','en-US')
$env:DOTNET_CLI_UI_LANGUAGE
en-US
or