Skip to content

Instantly share code, notes, and snippets.

View roblabla's full-sized avatar
🌅
Kernel Dev'ing.

Robin Lambertz roblabla

🌅
Kernel Dev'ing.
View GitHub Profile
- name: TMATE DEBUGGING
run: |
pacman -Sy --noconfirm tmate mingw-w64-x86_64-jq
mkdir $HOME/.ssh
# echo -e 'y\n' | ssh-keygen -q -t rsa -N "" -f $HOME/.ssh/id_rsa
tmate -S /tmp/tmate.sock new-session -d
tmate -S /tmp/tmate.sock wait tmate-ready
TOKEN=$(basename $(tmate -S /tmp/tmate.sock display -p '#{tmate_web}'))
SSH_SESSION=$(tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}')
while true; do
#Uses at51's libfind command to find C51 functions
#@author roblabla
#@category 8051
#@keybinding
#@menupath
#@toolbar
import subprocess
import json
From 02fab06e6b7ece6a442b878a9602f9bcf8edff6e Mon Sep 17 00:00:00 2001
From: roblabla <unfiltered@roblab.la>
Date: Tue, 24 Sep 2019 17:59:44 +0200
Subject: [PATCH] Add darcula support
---
Ghidra/Framework/Docking/Module.manifest | 1 +
Ghidra/Framework/Docking/build.gradle | 2 ++
.../main/java/docking/widgets/AbstractGCellRenderer.java | 5 +++--
.../java/docking/widgets/filter/FilterTextField.java | 2 +-
//! ```cargo
//! [package]
//! edition = "2018"
//!
//! [dependencies]
//!
//! bitfield = "0.13.2"
//! ```
use bitfield::bitfield;
{
// Disable admin for test
"admin": {
"disabled": true
},
"apps": {
"http": {
// Use http to avoid having to provision an ssl cert
"http_port": 4444,
"servers": {
{
// Disable admin for test
"admin": {
"disabled": true
},
"apps": {
"http": {
// Use http to avoid having to provision an ssl cert
"http_port": 4444,
"servers": {
{powerColors={FUEL={r=0.85;g=0.47;b=0.36;};ALTERNATE={r=0.815;g=0.941;b=1;};FOCUS={r=1;g=0.5;b=0.25;};['STAGGER_GREEN']={r=0.52;g=1;b=0.52;};['STAGGER_RED']={r=1;g=0.42;b=0.42;};ARCANECHARGES={r=0.1;g=0.1;b=0.98;};COMBOPOINTS={r=1;g=0.8;b=0;};RUNES={r=0.5;g=0.5;b=0.5;};RUNEOFPOWER={r=0.35;g=0.45;b=0.6;};ENERGY={r=1;g=0.85;b=0.1;};MANA={r=0.3;g=0.5;b=0.85;};CHI={r=0.71;g=1;b=0.92;};AURAPOINTS={r=1;g=0.8;b=0;};MUSHROOMS={r=0.2;g=0.9;b=0.2;};MAELSTROM={r=0;g=0.5;b=1;};PAIN={r=1;g=0;b=0;};SOULSHARDS={r=0.58;g=0.51;b=0.79;};FURY={r=0.788;g=0.259;b=0.992;};['LUNAR_POWER']={r=0.3;g=0.52;b=0.9;};AMMOSLOT={r=0.85;g=0.6;b=0.55;};['RUNIC_POWER']={b=0.6;g=0.45;r=0.35;};STATUE={r=0.35;g=0.45;b=0.6;};INSANITY={r=0.4;g=0;b=0.8;};HOLYPOWER={r=0.95;g=0.9;b=0.6;};['STAGGER_YELLOW']={r=1;g=0.98;b=0.72;};RAGE={r=0.9;g=0.2;b=0.3;};};range={};auras={borderType="light";};healthColors={static={r=0.7;g=0.2;b=0.9;};neutral={r=0.93;g=0.93;b=0;};enemyUnattack={r=0.6;g=0.2;b=0.2;};friendly={r=0.2;g=0.9;b=0.2;};healAbsorb={r=0.68;g=0.47;b
[roblabla@roblab LibHac]$ dotnet clean
Microsoft (R) Build Engine version 16.3.0+0f4c62fea for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 10/17/2019 10:51:45 PM.
1>Project "/home/roblabla/Dropbox/dev/src/csharp/LibHac/LibHac.sln" on node 1 (Clean target(s)).
1>ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
ValidateProjects:
The project "_build" is not selected for building in solution configuration "Debug|Any CPU".
@roblabla
roblabla / Loader_1_0_0.idc
Created September 17, 2019 14:45 — forked from SciresM/Loader_1_0_0.idc
IDCs for the Nintendo Switch's "Loader" sysmodule.
This file has been truncated, but you can view the full file.
#define UNLOADED_FILE 1
#include <idc.idc>
static main(void)
{
// set 'loading idc file' mode
set_inf_attr(INF_GENFLAGS, INFFL_LOADIDC|get_inf_attr(INF_GENFLAGS));
GenInfo(); // various settings
Segments(); // segmentation
import base64
try:
from prompt_toolkit import print_formatted_text
from prompt_toolkit.formatted_text import FormattedText
except:
pass
def iterm2_status(status):
return "\033]133;D;{}\007".format(status)