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 Converters._ | |
object Puzzle06 extends Runnable { | |
def find(line: String, count: Int): Int = { | |
val result = line.sliding(count).zipWithIndex.find { case (e, i) => | |
e.toSet.size == count | |
} getOrElse { | |
??? | |
} |
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
uuid: main.zig | |
zig build-exe --strip --single-threaded main.zig | |
mv main uuid | |
run: uuid | |
./uuid |
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; | |
public static class Main | |
{ | |
public static void Main(string[] args) | |
{ | |
Console.WriteLine("Hello World"); | |
} | |
} |
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
public class Main | |
{ | |
public static void Main(string[] args) | |
{ | |
Console.WriteLine("Hello World"); | |
} | |
} |
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.Collections.Generic; | |
public class MainClass | |
{ | |
public static IEnumerable<string> Actions() | |
{ | |
try { | |
yield return "try"; | |
} catch (Exception) { |
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
main.exe: main.cs | |
mcs /unsafe main.cs |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <assert.h> | |
#include <pthread.h> | |
#include <fcntl.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <linux/unistd.h> |
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 <linux/module.h> | |
#include <linux/kernel.h> | |
#include <linux/netfilter_ipv4.h> | |
#include <linux/skbuff.h> | |
#include <linux/udp.h> | |
#include <linux/ip.h> | |
/* This function to be called by hook. */ | |
static unsigned int | |
hook_func(unsigned int hooknum, |
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
all: example | |
example: example.c | |
gcc example.c -lotr -o example | |
.PHONY: clean | |
clean: | |
rm -f example |
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/Bridge/Resources/bridge.js b/Bridge/Resources/bridge.js | |
index 3d92710..0da0eb1 100755 | |
--- a/Bridge/Resources/bridge.js | |
+++ b/Bridge/Resources/bridge.js | |
@@ -1,4 +1,4 @@ | |
-/* | |
+/* | |
* @version : 1.8.0 - Bridge.NET | |
* @author : Object.NET, Inc. http://bridge.net/ | |
* @date : 2015-08-17 |
NewerOlder