I hereby claim:
- I am wulfgarpro on github.
- I am wulfgarpro (https://keybase.io/wulfgarpro) on keybase.
- I have a public key ASC8ENkegPmPXmvdtPn9D7MLtZLEmUW4JLAErh-1Zn0p2Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
'use strict'; | |
const net = require('net'); | |
const maxConnections = 200; // Max connections | |
const host = '127.0.0.1'; | |
const port = 80; | |
let connections= []; | |
function Connection(h, p) { |
SRCS = a.c | |
depend: .depend | |
.depend: $(SRCS) | |
rm -f ./.depend | |
$(CC) $(CFLAGS) -MM $^ -MF ./.depend; | |
include .depend |
cmake_minimum_required (VERSION 2.6) | |
option (test "Build all tests." ON) | |
project (Tutorial) | |
set (CMAKE_CXX_FLAGS "-g -Wall") | |
#add_subdirectory (src/tutorial) | |
# The version number. |
#!/usr/bin/python | |
import random | |
lat_a = random.randrange(35, 40) | |
lon_a = random.randrange(-120, -112) | |
lat_b = random.randrange(35, 40) | |
lon_b = random.randrange(-120, -112) | |
kml = ( |
<?xml version="1.0" encoding="UTF-8"?> | |
<kml xmlns="http://www.opengis.net/kml/2.2"> | |
<Folder> | |
<name>Network Links</name> | |
<visibility>0</visibility> | |
<open>0</open> | |
<description>Network link example 1</description> | |
<NetworkLink> | |
<name>Random Placemark</name> | |
<visibility>0</visibility> |
docker ps -a | awk '{ print $1 }' | xargs -I {} docker rm -f {} |
private def setupBoard() { | |
// generate board based on observed patterns (see readme) | |
(1..4).each( { | |
if(it == 1) { | |
(minX..maxX).each( { | |
if(it == minX) { | |
board.put("${it},${minY}", ["NORTH":true,"SOUTH":false,"EAST":true,"WEST":false]) | |
} else if(it == maxX) { | |
board.put("${it},${minY}", ["NORTH":true,"SOUTH":false,"EAST":false,"WEST":true]) | |
} else |
var Person = function(name) { | |
if(name) this.name = name; | |
}; | |
Person.prototype.name = 'No name'; | |
Person.prototype.setName = function(name) { | |
this.name = name; | |
}; | |
Person.prototype.getName = function() { | |
return this.name; | |
}; |
#!/bin/bash | |
iptables --flush | |
iptables --table nat --flush | |
iptables --delete-chain | |
iptables --table nat --delete-chain | |
iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE | |
iptables --append FORWARD --in-interface eth0 -j ACCEPT | |
echo 1 > /proc/sys/net/ipv4/ip_forward |