Skip to content

Instantly share code, notes, and snippets.

View GhostNaix's full-sized avatar

Naix GhostNaix

  • CSIE
View GitHub Profile
@GhostNaix
GhostNaix / iperf3 static compile.md
Created February 28, 2024 18:52
Compile Iperf3 static binary on Gentoo

iperf3-static

Compiling Iperf3 statically on gentoo and cross-platform compile as well as on other platforms

Some Warnings

  • Configure doesn't like spaces in directories

Prep

I presumed you are cd into ~ or $HOME

mkdir Compile_Drop
@GhostNaix
GhostNaix / Optin-Microsoft update Windows 7.ps1
Created February 28, 2024 13:41
Optin-Microsoft update in Windows 7 via powershell
$mu = New-Object -ComObject Microsoft.Update.ServiceManager -Strict
$mu.AddService2("7971f918-a847-4430-9279-4a52d1efe18d",7,"")
@GhostNaix
GhostNaix / btop static.md
Last active February 28, 2024 13:46
Compile btop static binary on gentoo

Compile x86-64

make -j$((`nproc`+1)) all STRIP=true STATIC=true

Compile x86

make -j$((`nproc`+1)) CC="gcc -m32" CXX="g++ -m32" all STRIP=true STATIC=true

Compile Arm32

@GhostNaix
GhostNaix / iperf3 static Self compile Openssl.md
Last active February 28, 2024 18:45
Compile Iperf3 static binary on Gentoo with Self compile Openssl [Unmaintained]

iperf3-static - This is no longer maintained new method on my github gist profile

Compiling Iperf3 statically on gentoo and cross-platform compile as well as on other platforms

Some Warnings

  • Configure doesn't like spaces in directories

Prep

I presumed you are cd into ~ or $HOME

mkdir Compile_Drop
@GhostNaix
GhostNaix / install.sh
Created December 20, 2020 13:49 — forked from mkubenka/install.sh
OpenVPN Access Server Letsencrypt
#!/bin/sh
apt-get -y install git bc
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
mkdir /etc/letsencrypt
@GhostNaix
GhostNaix / ansistrm.py
Created May 19, 2018 09:11 — forked from vsajip/ansistrm.py
Python logging: colourising terminal output
#
# Copyright (C) 2010-2012 Vinay Sajip. All rights reserved. Licensed under the new BSD license.
#
import ctypes
import logging
import os
class ColorizingStreamHandler(logging.StreamHandler):
# color names to indices
color_map = {
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@GhostNaix
GhostNaix / LICENCE SUBLIME TEXT
Created December 14, 2017 13:30
Sublime Text 3 Serial key build is 3143
## Sublime Text 3 Serial key build is 3103
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
@GhostNaix
GhostNaix / install_couchdb_jessie.sh
Created September 4, 2017 08:58 — forked from MatthieuLemoine/install_couchdb_jessie.sh
Install CouchDB from source on Debian Jessie
#!/bin/bash
# Inspired by http://verbally.flimzy.com/install-couchdb-1-6-1-debian-8-2-jessie/
# Erlang
echo -e "deb http://packages.erlang-solutions.com/debian jessie contrib" | sudo tee /etc/apt/sources.list.d/erlang-solutions.list
wget -qO - http://packages.erlang-solutions.com/debian/erlang_solutions.asc | sudo apt-key add -
# Update packages
sudo apt-get update