Skip to content

Instantly share code, notes, and snippets.

View ljcucc's full-sized avatar
🐺
uwu

the IT.Wolf ljcucc

🐺
uwu
View GitHub Profile
class Prompt {
rl;
constructor() {
const { stdin: input, stdout: output } = require('node:process');
const readline = require('node:readline');
this.rl = readline.createInterface({ input, output });
}
@ljcucc
ljcucc / main.dart
Last active October 3, 2022 02:22
uxn
import "dart:typed_data";
var program = Uint8List.fromList(<int>[
0xa0, 0x01, 0x38, 0x80, 0x10, 0x37, 0xa0, 0x01,
0x15, 0xa0, 0x06, 0x29, 0x2e, 0xa0, 0x01, 0x35,
0xa0, 0x06, 0x29, 0x2e, 0x00, 0x56, 0x61, 0x72,
0x76, 0x61, 0x72, 0x61, 0x27, 0x73, 0x20, 0x55,
0x6e, 0x69, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x20,
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20,
0x31, 0x2e, 0x30, 0x0a, 0x00, 0x3e, 0x20, 0x00,
@ljcucc
ljcucc / setup.sh
Created August 29, 2022 03:00
Setup script of my workspace on termux
# setup proot
pkg install proot-distro
proot-distro install debian
proot-distro login debian
# basic setup
sudo apt install vim
# setup user
adduser ljcucc
@ljcucc
ljcucc / isr-machine.ipynb
Last active March 21, 2022 12:15
ISR Machine.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ljcucc
ljcucc / solutions-for-ubuntus.md
Last active March 11, 2020 09:18
solutions for ubuntus
@ljcucc
ljcucc / crosh_ssh.json
Created August 30, 2019 12:12
ljcucc's crosh terminal config (including gruvbox palettes, powerline font)
{
"magic":"nassh-prefs",
"version":1,
"nassh":{
"profile-ids":[
]
},
"hterm":{
"deefault":{
@ljcucc
ljcucc / .tmux.conf
Last active June 11, 2020 16:49
ljcucc's tmux config file
#shell history
set -g history-limit 10000
#Command button
unbind C-b
set -g prefix C-a
set -g base-index 1
set -g pane-base-index 1
@ljcucc
ljcucc / .vimrc
Last active June 11, 2020 16:37
ljcucc's vim profile - for linux, raspberry pi, android termux and chromebook
" Installation:
" *Install vim-plug
" *Install packages by typing :PlugInstall to install all packages
" basic setup
set number "display line number
" set clipboard=unnamedplus
set clipboard=unnamed
syntax on
set t_Co=256
@ljcucc
ljcucc / .vimrc
Last active September 21, 2018 14:19
vimrc for windows
syntax on
" Enable xTerm in windows
if has('win32') && !has('gui_running') && !empty($CONEMUBUILD)
set term=xterm
set t_Co=256 "init 256 color support
let &t_AB="\e[48;5;%dm"
let &t_AF="\e[38;5;%dm"
colorscheme monokai "source : https://github.com/crusoexia/vim-monokai
inoremap <Char-0x07F> <BS> "Make backspace work in ConEmu