Skip to content

Instantly share code, notes, and snippets.

View zzzz465's full-sized avatar
:octocat:

jungooji zzzz465

:octocat:
View GitHub Profile
@zzzz465
zzzz465 / .eslint.cjs
Last active August 27, 2023 07:25
my eslint
/* eslint-disable @typescript-eslint/naming-convention */
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {},
plugins: ['@typescript-eslint', 'import', 'unused-imports'],
extends: [
'standard',
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
function mul(vec0: number[], vec1: number[]): number[] {
if (vec0.length < vec1.length) {
const temp = vec0
vec0 = vec1
vec1 = temp
}
const results: number[][] = []
// numbers0.length >= numbers1
@zzzz465
zzzz465 / rust-command-line-utilities.markdown
Created January 25, 2023 06:12 — forked from sts10/rust-command-line-utilities.markdown
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
  • bat: A replacement for cat that provides syntax highlighting and other features.
  • bottom: Yet another cross-platform graphical process/system monitor.
@zzzz465
zzzz465 / init-zsh.sh
Last active July 3, 2022 11:56
개인 zsh 셋업용 스크립트
#!/bin/bash
function zsh_append_plugin {
sed -i -E "s/^plugins=\(([a-zA-Z ]+)\)/plugins=(\1 $1)/g" .zshrc
}
# zsh 설치 및 기본값 설정
cd ~
sudo apt install -y zsh

Keybase proof

I hereby claim:

  • I am zzzz465 on github.
  • I am zzzz465 (https://keybase.io/zzzz465) on keybase.
  • I have a public key ASBBZtMB1lWvVlzTAuwcM_8E0WNo6MQs-LmN7QapfdAxjwo

To claim this, I am signing this object:

@zzzz465
zzzz465 / bash.bat
Created August 16, 2021 02:13
use gitkraken with WSL2 on windows
@REM made by madeline. MIT License
@echo off
wsl.exe -e bash -c "$(wslpath %2)"

FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@zzzz465
zzzz465 / Program.cs
Created March 16, 2020 09:57
Updated Test code
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Linq;
using ColdClear;
namespace TetrisOverlay
{
class Program
{
@zzzz465
zzzz465 / coldclear.cs
Last active March 16, 2020 09:58
C# wrapper API for MinusKelvin/cold-clear Tetris AI
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
/*
write by madeline, 2020/03/15
CCL-2.0
*/
namespace ColdClear
{
@zzzz465
zzzz465 / Program.cs
Last active March 16, 2020 06:52
Test Code
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Linq;
using ColdClear;
namespace TetrisOverlay
{
class Program
{