Skip to content

Instantly share code, notes, and snippets.

View sysarcher's full-sized avatar
🦀
learning everyday!!

T sysarcher

🦀
learning everyday!!
  • Germany
View GitHub Profile
{
"flags": {
"show-welcome-banner": {
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
},
#import logging
import asyncio
import sys
sys.path.insert(0, "..")
from asyncua import ua, Server
from asyncua.common.methods import uamethod
r1---sn-cvh7knez.googlevideo.com
r2---sn-cvh7knez.googlevideo.com
r3---sn-cvh7knez.googlevideo.com
r4---sn-cvh7knes.googlevideo.com
r5---sn-cvh7knez.googlevideo.com
r6---sn-cvh7knez.googlevideo.com
r7---sn-cvh7knez.googlevideo.com
r8---sn-cvh7knez.googlevideo.com
r9---sn-cvh7knez.googlevideo.com
r10---sn-cvh7knez.googlevideo.com
@sysarcher
sysarcher / mqtt-to-influx-bridge.py
Created June 27, 2019 16:40
A simple bridge I was testing
"""A MQTT to InfluxDB Bridge
This script receives MQTT data and saves those to InfluxDB.
"""
#import re
import json
import paho.mqtt.client as mqtt
@sysarcher
sysarcher / i3-config
Created June 13, 2019 20:46
i3 config that I'm using
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@sysarcher
sysarcher / .bashrc
Created April 26, 2019 07:44
Default Ubuntu .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@sysarcher
sysarcher / nmap-helper.md
Created August 21, 2018 11:26
Get MAC addr using nmap
sudo nmap -n -sn 10.62.226.159/24 | awk '/Nmap scan report/{printf $5;printf " ";getline;getline;print $3;}' 

Keybase proof

I hereby claim:

  • I am sysarcher on github.
  • I am sysarcher (https://keybase.io/sysarcher) on keybase.
  • I have a public key whose fingerprint is 9370 712D 478E 5246 83AD 00CD 62B6 F20E 5D35 9984

To claim this, I am signing this object:

@sysarcher
sysarcher / vmx.S
Created November 16, 2017 14:24 — forked from pdumais/vmx.S
#include "macros.h"
#include "vmx.h"
#include "../memorymap.h"
#define VMWRITE(A,B) mov B,%rbx; mov A,%rax; vmwrite %rbx,%rax
#define VMREAD(A) mov A,%rbx; vmread %rbx,%rax
.global init_hypervisor
.global create_vm
@sysarcher
sysarcher / README.md
Created August 21, 2017 09:11 — forked from kergoth/README.md
Quick prototype of a variable filtered bitbake -e

bitbake-env: improved version of bitbake -e

To install

The script may be run from anywhere, as long as 'bitbake' can be found in your PATH.

Suggestion: alias bbe=bitbake-env