Skip to content

Instantly share code, notes, and snippets.

View Alex4386's full-sized avatar
💭
졸업시켜줘

Sanghee Park Alex4386

💭
졸업시켜줘
View GitHub Profile
@Alex4386
Alex4386 / apply_to_idrac.bat
Last active March 15, 2024 08:49
iDRAC 6 SSL Certificate Deploy Tool - with certbot
@echo off
echo Dell iDRAC 6 SSL Key upload system
echo.
echo ===[credentials]===
set default_hostname=your.idrac.address
rem Host Section
set /p host="Host (Default. %default_hostname%): "
IF NOT DEFINED host (
@Alex4386
Alex4386 / wa.ssss
Created July 9, 2020 15:30
와ㅏㅏㅏㅏㅏ
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/alex4386/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
@Alex4386
Alex4386 / hate-python.md
Last active January 1, 2021 14:21
Reasons I hate PYTHON. (Includes Jokes)

Why I FURIOUSLY hate Python

This is my version of hate-typescript.md.

Warning: I have only used python for only an year and This definately includes several humors,
So DON'T TAKE THIS THAT SERIOUSLY. I don't want to make a freak'in programming language war or something

Abstract

Python is powerful doesn't scale and fast slow without extensions and precompiling;
plays well bad during collaborative programming with others;
runs everywhere everywhere except your dependency modules;

@Alex4386
Alex4386 / LICENSE
Last active October 11, 2020 19:41 — forked from rithvikvibhu/LICENSE
Get tokens for Google Home Foyer API
MIT License
Copyright (c) 2020 Rithvik Vibhu, Alex4386
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@Alex4386
Alex4386 / MacStyleKorEngSwitcher.ahk
Last active October 14, 2020 09:45
AutoHotKey Script for Switching English and Korean IME just like Mac!
CapsLock::
If capslockHeldDown
return
capslockHeldDown := true
capslockTriggeredAction := false
SetTimer, WaitForCapsLockTrigger, 300
return
@Alex4386
Alex4386 / directory.ts
Created October 20, 2020 11:25
TypeScript (a.k.a. AnyScript) Implementation of Google Drive Navigator
/* eslint-disable @typescript-eslint/camelcase */
import { drive_v3 } from "googleapis";
import { GaxiosResponse } from "gaxios";
import mime from "mime";
import fs, { ReadStream } from "fs";
import File from "./file";
import path from "path";
import { escapeSingleQuotes } from "../util";
class Directory extends File {
const fs = require('fs');
const escaped = fs.readFileSync('pushing.escaped.ansi', { encoding: 'utf-8' });
const unescaped = escaped.replace(/\\x1b/g, '\x1b');
fs.writeFileSync('pushing.ansi', unescaped);
@Alex4386
Alex4386 / icantspeaksushi.txt
Last active December 13, 2020 14:54
How to speak "Sorry, I don't speak sushi" in sushi.
すみません、私は寿司が話せません。
@Alex4386
Alex4386 / volcano.json
Last active January 1, 2021 13:46
Volcanoes of the Japan - PoC data results of https://github.com/Alex4386/jp-earthquake-volcano-archive
[
{
"id": 101,
"region": "sapporo",
"area": 1,
"lastUpdate": "2020-12-24T09:38:28.459Z",
"name": "Shiretoko-Iozan",
"location": "Hokkaido, Japan",
"craters": [
{
@Alex4386
Alex4386 / .update-homebrew.zsh
Last active April 9, 2021 08:31
A shell-script based Automatic homebrew package manager updater for zsh
brew_update_version=$(date +"%Y%m%d")
brew_update_version_file="$HOME/.homebrew-lastupdate"
brew_update_in_progress_file="$HOME/.homebrew-update-in-progress"
brew_upgrade_required=0
test -f "$brew_update_version_file" || brew_upgrade_required=1
if [[ $brew_upgrade_required -eq 0 ]]; then
this_brew_version=$(cat "$brew_update_version_file")
test "$this_brew_version" = "$brew_update_version" || brew_upgrade_required=1