link to notes https://git.io/vgpKc
- front-end web engineer
- funemployed, but joining Viki.com in a week
- recently spent 3 months in NYC at the Recurse Center
- retreat for programmers
- where people go to be better at what they do
import os | |
import sys | |
import math | |
import time | |
import threading | |
import webbrowser # To launch the remote debugging page | |
import win32api # | |
import win32con # pip install pywin32 | |
import win32gui # |
--[[The MIT License (MIT) | |
Copyright (c) 2017 IllidanS4 | |
Permission is hereby granted, free of charge, to any person | |
obtaining a copy of this software and associated documentation | |
files (the "Software"), to deal in the Software without | |
restriction, including without limitation the rights to use, | |
copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the |
link to notes https://git.io/vgpKc
/* | |
Simple jQuery Curved Line Plugin for use with Google Maps Api | |
author: Daniel Nanovski | |
modifications: Coen de Jong | |
version: 0.0.2 (Beta) | |
website: http://curved_lines.overfx.net/ | |
License: |
local function CreateNamedRenderTargetForModel(name, model) | |
local handle = 0 | |
if not IsNamedRendertargetRegistered(name) then | |
RegisterNamedRendertarget(name, 0) | |
end | |
if not IsNamedRendertargetLinked(model) then | |
LinkNamedRendertarget(model) | |
end | |
if IsNamedRendertargetRegistered(name) then | |
handle = GetNamedRendertargetRenderId(name) |
IPtables DDOS protection : | |
In my config i assume the server is not a router and already profit from some filtering by the hosting company on shitty | |
networks. | |
I have tested this on ubuntu server 18.04 with the kernel 4.15.0-36-generic. | |
Protect from malformed packet, ACK FIN RST attack and SYN-flood. | |
Flood which profit of TCP-KEEPALIVE (so there a no SYN packet) should be handled by the web server (rate-limit in nginx for | |
exemple). Connlimit can also be helpfull to limit the number of connexion per ip. |
git remote add upstream https://github.com/whoever/whatever.git
git fetch upstream
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2016-05-27-raspbian-jessie.img
) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config
to: