Skip to content

Instantly share code, notes, and snippets.

View foi's full-sized avatar

Alexander Kupchenko foi

View GitHub Profile
@roock
roock / echo-server.yml
Last active February 17, 2022 05:08 — forked from chukaofili/echo-server.yml
Echo Server Deployment
apiVersion: v1
kind: Namespace
metadata:
name: echoserver
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: echoserver
namespace: echoserver
@derekjn
derekjn / install_zmq.sh
Created November 16, 2016 19:44
Install ZeroMQ 4.2.0
#!/bin/bash
wget https://github.com/zeromq/libzmq/releases/download/v4.2.0/zeromq-4.2.0.tar.gz && \
tar -xvf zeromq-4.2.0.tar.gz && \
cd zeromq-4.2.0/ && \
./autogen.sh && \
./configure --enable-static --prefix=/usr && \
make && \
sudo make install && \
sudo ldconfig
@mistificator
mistificator / Plurk Time Jumper (Tampermonkey edition).user.js
Created April 19, 2015 20:10
Go back to the past timeline at plurk.com
// ==UserScript==
// @name Plurk Time Jumper (Tampermonkey edition)
// @namespace http://www.plurk.com/
// @description Go back to the past timeline
// @include http://www.plurk.com/*
// @include https://www.plurk.com/*
// @author WiselySong, Mist Poryvaev
// @version 1.4
// @grant none
// ==/UserScript==
@ArseniyShestakov
ArseniyShestakov / client.conf
Last active October 8, 2016 01:55
OpenVPN config without HMAC
client
dev tun
proto tcp
remote 1.2.3.4 443
ca ca.crt
cert client1.crt
key client1.key
resolv-retry infinite
@raelgc
raelgc / Email Server (Windows Only).md
Last active May 5, 2024 16:43
Setup a Local Only Email Server (Windows Only)
@kinopyo
kinopyo / ruby_http_post.rb
Created June 24, 2011 06:04
Pure ruby code posting form data with parameters, and get the response.
require 'net/http'
require 'uri'
#1: Simple POST
res = Net::HTTP.post_form(URI.parse('http://www.example.com/search.cgi'),
{'q' => 'ruby', 'max' => '50'})
puts res.body
#2: POST with basic authentication
res = Net::HTTP.post_form(URI.parse('http://jack:pass@www.example.com/todo.cgi'),