Skip to content

Instantly share code, notes, and snippets.

View orzklv's full-sized avatar
🏴
For me, open source is a moral thing.

Orzklv orzklv

🏴
For me, open source is a moral thing.
View GitHub Profile
@orzklv
orzklv / archwsl.md
Last active February 23, 2023 07:11
How to install Arch Linux on WSL from scratch tutorial
#Written Sept 30 2009
#This program fscked the mind of Adam Domurad; It is not completely efficient for sure but I was more concerned with making a working interpreter
#You can use as many as 256 nested loops on a 8 bit cell interpreter
#NOTE code will be parsed a lot faster without comment characters
#[first place 0 at start and place code input, working out if its a comment and correcting [ -> 1, ] -> 2, + -> 3, - -> 4, > -> 5, < -> 6, . -> 7, , -> 8]
#[Ascii: + is 43, , is 44, - is 45, . is 46, < is 60, > is 62, [ is 91, ] is 93]
#[Data used is 8 + Data used by subprogram * 2 + non-comment instructions in subprogram.]
#[It is possible but a good deal more complex to not use double the data the subprogram uses, the data pointer would have to be stored]
#[numerically and then shifted through the data area, and then restored.]
->->>>-
@orzklv
orzklv / example.sh
Last active February 7, 2021 19:15
Start shell from current working space directory
#!/bin/sh
# shellcheck disable=SC2164
cd "$( dirname "$0" )"
@orzklv
orzklv / java.reg
Last active December 18, 2020 16:02
Set up scoop based OpenJDK on Window's Machine
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft\Java Runtime Environment]
"CurrentVersion"="15.0.1"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft\Java Runtime Environment\14.0]
"JavaHome"="C:\\Users\\Genemator\\Scoop\\apps\\openjdk\\current"
"MicroVersion"="0"
@orzklv
orzklv / any.py
Created October 7, 2020 07:12
True error handled python importing
#
# Starting import process here
#
# Global scopic functions
from __future__ import print_function
# Loading installed modules
try:
print('Importing "os" Module')
@orzklv
orzklv / test.js
Created October 7, 2020 07:10
Handwritten endpoint node.js test
/**
* @name Test CI
* @version 0.1.0 alpha
* @description Express REST API Server for any purpose
*/
const isReachable = require("is-reachable");
const colors = require("colors");
const fetch = require("node-fetch");
const port = require("../apps/config/server.config");