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.Reflection.Emit; | |
using System.Runtime.CompilerServices; | |
using System.Threading.Tasks; | |
#nullable disable | |
// The stand up link https://www.youtube.com/watch?v=jaPk6Nt33KM | |
// String vs. string |
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
It indeed seems to work! ;) | |
Have fun! |
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
diff --git a/file.c b/file.c | |
index 6faa5a3..e3af329 100644 | |
--- a/file.c | |
+++ b/file.c | |
@@ -1,26 +1,25 @@ | |
#include <stdio.h> | |
-// Frobs foo heartily | |
-int frobnitz(int foo) | |
+int fib(int n) |
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
# How to use: | |
# with autorestart: start http://boxstarter.org/package/nr/url?TEXT_FILE_URL | |
# without restart: start http://boxstarter.org/package/url?TEXT_FILE_URL | |
# example: start http://boxstarter.org/package/nr/url?https://gist.github.com/user/id/raw/hash/file.txt | |
# More info: | |
# http://boxstarter.org/Learn/WebLauncher | |
Update-ExecutionPolicy Unrestricted |
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
function ShortenPath($longPath) { | |
$id = ([guid]::NewGuid() -split '-')[0] | |
$shortPath = "C:\temp\$id" | |
cmd /c mklink /D /J $shortPath $longPath | Out-Null | |
return $shortPath | |
} |
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
function Main() { | |
RetryCommand ` | |
-maxRetries 5 ` | |
-delayInSeconds 0 ` | |
-command { cmd /c $SIGNTOOL sign /v /debug /sm /t $TIMESTAMP_URL $files } | |
RetryCommand ` | |
-maxRetries 5 ` | |
-delayInSeconds 3 ` | |
-command { . $INSTALLSHIELD $arguments } |
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
package io.igorpopov; | |
import javax.swing.*; | |
import java.awt.event.*; | |
public class ClickCountingApp { | |
public static void main(String args[]) { | |
JButton button = new JButton("Button never pressed..."); | |
button.addActionListener(new ButtonListener()); |
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
#include "Ifx.h" | |
#define TITLE "RegDBSetKeyValueEx & RegDBGetKeyValueEx" | |
export prototype MyFunction(HWND); | |
function MyFunction(hMSI) | |
STRING szKey, szNumName, szNumValue, svNumValue, szTitle, szMsg; | |
NUMBER nType, nSize, nvType, nvSize; | |
begin | |
szKey = "SOFTWARE\\Wow6432Node\\Company Ltd.\\COMPANY\\20144"; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
param ( | |
[string] $MSBUILD = "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe", | |
[string] $GIT = "C:\Program Files (x86)\Git\bin\git.exe" | |
) | |
$nugetCachesDirectory = "$env:LOCALAPPDATA\NuGet\Cache" | |
$buildDirectory = "bin" | |
$solutionFile = "GildedRoseKata.sln" | |
$configuration = "Release" | |
$platform = "Any CPU" |
NewerOlder