Skip to content

Instantly share code, notes, and snippets.



  • C|^_^|Ɔ
  • GU HQ, 21 Faro System.
View GitHub Profile
View fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<match target="pattern">
<test qual="any" name="family"><string>monospace</string></test>
<edit name="family" mode="assign" binding="same"><string>Iosevka Term</string></edit>
supr /
Last active Sep 29, 2019
# Set next boot to PXE
ipmitool -H -U ADMIN -I lanplus chassis bootdev pxe
# Reset power
ipmitool -H -U ADMIN -I lanplus chassis power reset
supr /
Created Apr 13, 2019
#include <atomic>
#include <iostream>
#include <thread>
#include <vector>
#include <string>
usign namespace std;
atomic<int> lock(0);
supr /
Last active Dec 7, 2018
Simple Linked List, that merges to sorted lists.
#include <iostream>
#include <memory>
#include <optional>
template<typename T>
class mylist;
template<typename T>
class mynode {
supr / README
Created Jun 29, 2018 — forked from xbb/README
IDRAC6 Virtual Console Launcher
Use this as an example on how to start the virtual console without the need of Java Web Start or accessing it from the web interface.
You can use the user and password that you use for the web interface.
You need an old JRE... I used 1.7.0_80 from the Server JRE package, also I have tested successfully 1.7.0_79 with MacOS.
You don't need to install it, just extract it or copy the files in "jre" folder.
Open the viewer.jnlp file that you get by launching the virtual console from the web interface with a text editor.
Note the urls to the jar files. Download the main jar file avctKVM.jar and the libs for your operating system and architecture.
Extract the dlls (.so Linux, .jnilib MacOS) from the jar libs.
#include <atomic>
#include <condition_variable>
#include <iostream>
#include <memory>
#include <thread>
#include <vector>
typedef struct thread_ctx thread_ctx_t;
struct thread_ctx {
supr /
Created Jul 27, 2017 — forked from obfusk/
python equivalent of ruby's binding.pry
import code; code.interact(local=dict(globals(), **locals()))
View supr.coreos.ign
"ignition": {
"version": "2.0.0",
"config": {}
"storage": {},
"systemd": {
"units": [
"name": "etcd2.service",
View Cargo.toml
name = "ed"
version = "0.1.0"
authors = ["p"]
log = "0.3.6"
hyper = "0.10.5"
hyper-native-tls = "0.2.2"
tendril = "0.2.3"