Skip to content

Instantly share code, notes, and snippets.

@wyrover
wyrover / client.go
Created January 24, 2019 07:20 — forked from spikebike/client.go
TLS server and client
package main
import (
"crypto/tls"
"crypto/x509"
"fmt"
"io"
"log"
)
@wyrover
wyrover / golang-tls.md
Created January 24, 2019 07:19 — forked from 6174/golang-tls.md
Simple Golang HTTPS/TLS Examples
Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
    
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
openssl ecparam -genkey -name secp384r1 -out server.key
version: 1.0.{build}
branches:
only:
- master
platform: x64
build:
verbosity: normal
@wyrover
wyrover / gist:33df00f4626957881a7568baa0cae996
Last active September 30, 2019 02:30
3rdparty-AppVeyor
version: 1.0.{build}
branches:
only:
- master
image:
- Visual Studio 2017
init:
@wyrover
wyrover / INSTALL
Created March 11, 2017 10:48 — forked from arya-oss/INSTALL.md
Ubuntu 16.04 Developer Tools installation
###### development tools
sudo apt-get install build-essential python-dev git nodejs-legacy npm gnome-tweak-tool openjdk-8-jdk
### Python packages
sudo apt-get install python-pip python-virtualenv python-numpy python-matplotlib
### pip packages
pip install django flask django-widget-tweaks django-ckeditor beautifulsoup4 requests classifier SymPy ipython
;If you are experiencing some wierd behavior with the script (exp. doesn't pick the right abilities) = increase this value -> to 100 or higher
delay := 50
#Include %A_ScriptDir%\lib\diablo3_func.ahk
#Include %A_ScriptDir%\lib\diablo3_get_talentbuild.ahk
#NoEnv
#SingleInstance force
; ===============================================================================================================================
; Title .........: GPU_MEMORY_INFO
; AHK Version ...: 1.1.15.01 x64 Unicode
; Win Version ...: Windows 7 Professional x64 SP1
; Description ...: GPU_MEMORY_INFO
; NVIDIA Graphics Memory Size and Usage in OpenGL
; Version .......: v1.00
; Modified ......: 2014.06.27-2150
; Author(s) .....: jNIzM
; ===============================================================================================================================
#Persistent
Small := 32
Medium := 48
Large := 96
IconSize := Small
hDesktop := GetDesktop()
HalfW := A_ScreenWidth/2
/*
Makes the Gui window NoActivate but Clickable
Usage:
Gui_NoActivate(GuiHwnd, EnableEdit := False, Disable_RButton := False)
Parameters:
GuiHwnd - The Gui's hwnd
EnableEdit - True or False (default). Whether activates the GUI when an Edit Control is focused.
Disable_RButton - True or False (default)