Skip to content

Instantly share code, notes, and snippets.

View HADMARINE's full-sized avatar
🚩
Accepting chances

Hojoon LEE HADMARINE

🚩
Accepting chances
View GitHub Profile
@HADMARINE
HADMARINE / .zshrc
Last active October 13, 2022 20:05
zsh configuration
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# ENV
export ZSH="$HOME/.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/ohmyzsh/ohmyzsh/wiki/Themes
#include <iostream>
using namespace std;
int factorial(int num);
int main() {
int input_iter;
// input
@HADMARINE
HADMARINE / b_2839.cpp
Created August 22, 2020 06:28
백준 2839: 설탕배달
#include <iostream>
int return_sum(int three_count, int five_count) {
return three_count * 3 + five_count * 5;
}
int main(void) {
int num;
std::cin >> num;
@HADMARINE
HADMARINE / Gnu's Not Unix
Last active July 2, 2020 05:59
G....'s Not Unix!!!
function gnus_not_unix(str){
return str.replace(/GNU/gi, 'GNU\'s Not Unix')
}
function gnu_iter(str,cnt){
let _str = str;
for(let i = 0; i < cnt; i++){
_str = gnus_not_unix(_str);
}
return _str;