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
IL_0000: ldloca.s 00 | |
IL_0002: initobj System.Nullable<System.Int32> | |
IL_0008: ldloc.0 | |
IL_0009: stloc.0 | |
IL_000A: ldloca.s 00 | |
IL_000C: call System.Nullable<System.Int32>.get_HasValue | |
IL_0011: brtrue.s IL_0016 | |
IL_0013: ldnull | |
IL_0014: br.s IL_0022 | |
IL_0016: ldloca.s 00 |
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
void Main() | |
{ | |
var makeOutput = @"ASM startup file ...Done. | |
.\make.exe : In file included from ../../../dist/win/bin/ARMToolchain/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_rc | |
c.h:45:0, | |
At line:1 char:1 | |
+ .\make.exe all 2>&1 > abc.txt | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : NotSpecified: (In file include...hal_rcc.h:45:0,:String) [], RemoteException |
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
#!/bin/bash | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | |
echo "deb http://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list | |
sudo apt-get update | |
sudo apt-get install -y mono-devel | |
RIDER_VERSION="2017.3.1" | |
RIDER_WEBNAME="JetBrains.Rider" | |
RIDER_FSNAME="JetBrains\ Rider" | |
RIDER_FN="$RIDER_WEBNAME-$RIDER_VERSION" | |
RIDER_DIR="$RIDER_FSNAME-$RIDER_VERSION" |
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
#!/bin/bash | |
sudo apt update | |
sudo apt -y full-upgrade | |
sudo apt install -y build-essential tcl | |
curl http://download.redis.io/redis-stable.tar.gz | tar xzvf - | |
pushd redis-stable | |
make | |
make test | |
popd | |
sudo mkdir -p /usr/lib/redis |
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
# See comment lines prefixed with ADDED | |
# It might be necessary to delete the existing DockerNAT switch in hyper-v manager | |
<# | |
.SYNOPSIS | |
Manages a MobyLinux VM to run Linux Docker on Hyper-V | |
.DESCRIPTION | |
Creates/Destroys/Starts/Stops A MobyLinux VM to run Docker on Hyper-V | |
.PARAMETER VmName |
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
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
IF NOT EXISTS ( | |
SELECT * | |
FROM sys.databases | |
WHERE NAME = 'autocompletetests' |
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(StreamReader r = new StreamReader("in.csv")) | |
using(StreamWriter w1 = new StreamWriter("out-1.csv")) | |
using(StreamWriter w2 = new StreamWriter("out-2.csv")) | |
using(StreamWriter w3 = new StreamWriter("out-3.csv")) | |
using(StreamWriter w4 = new StreamWriter("out-4.csv")) | |
{ | |
//do stuff | |
} |
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
sudo apt-get update | |
sudo apt-get upgrade -y | |
mkdir ~/mopidytemp | |
cd ~/mopidytemp/ | |
wget https://apt.mopidy.com/mopidy.gpg | |
sudo apt-key add mopidy.gpg | |
sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/mopidy.list | |
sudo apt-get update | |
sudo apt-get install python-dev | |
sudo apt-get install python-pip |
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
if exist %windir%\system32\inetsrv\appcmd.exe %windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.processModel.idleTimeout:00:00:00 | |
if exist %windir%\system32\inetsrv\appcmd.exe %windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.recycling.periodicRestart.time:00:00:00 | |
if exist %windir%\system32\inetsrv\appcmd.exe %windir%\system32\inetsrv\appcmd set config -section:system.applicationHost/applicationPools /+applicationPoolDefaults.recycling.periodicRestart.schedule.[value='04:00:00'] /commit:apphost |