Skip to content

Instantly share code, notes, and snippets.

@taeseunglee
taeseunglee / testVariable.css
Last active April 30, 2018 22:49
css validator test
html, body {
height: auto !important;
background : radial-gradient(rgb(253, 168, 47) 40%, rgb(203, 183, 182) );
background-repeat : no-repeat;
}
#board-info #viewers-area .fa-user:before {
color: rgba(10, 59, 84, 0);
content: url(https://static-cdn.jtvnw.net/badges/v1/ce2ed125-5685-4062-b980-5b4db2d87189/1);
}
#include <linux/string.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/kernel.h>
#include <linux/uaccess.h>
#include <linux/ioctl.h>
obj-m = puzzle.o
CC := arm-none-linux-gnueabi-gcc
KDIR := /work/achroimx_kernel/
PWD := $(shell pwd)
all:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
clean :
@taeseunglee
taeseunglee / intro.md
Created January 1, 2017 17:29 — forked from derhuerst/intro.md
Installing the Z Shell (zsh) on Linux, Mac OS X and Windows

Installing zsh – the easy way

The Z shell (zsh) is a Unix shell [...]. Zsh can be thought of as an extended Bourne shell with a large number of improvements, including some features of bash, ksh, and tcsh.

Z shell – Wikipedia

Read more about ZSH at An Introduction to the Z Shell.

Choose one of the following options.

@taeseunglee
taeseunglee / sudoku.c
Last active December 27, 2016 16:57
solve sudoku(9x9) problem using backtracking algorithm
#include <stdio.h>
#include <stdbool.h>
struct coord{
int x;
int y;
};
/* structure of parameters for play_sudoku function */
struct __sudoku_param {
@taeseunglee
taeseunglee / seg_sieve.c
Last active July 24, 2017 19:49
Segmented Sieve of Eratosthenes
/* Title : Segmented Sieve of Eratosthenes
*
* Find all primes between two large numbers and say 'low' and 'high'.
* We first find all primes in range [2, sqrt(high)+1].
* Then, we use these for finding all primes in each 'segment sieve'
* whose size is sqrt(high) + 1.
* */
#include <stdio.h>
#include <math.h>

Keybase proof

I hereby claim:

  • I am taeseunglee on github.
  • I am taeseunglee (https://keybase.io/taeseunglee) on keybase.
  • I have a public key whose fingerprint is 704C DA38 9F20 B8A9 EC14 6FC8 E486 C584 2C6E 9151

To claim this, I am signing this object:

@taeseunglee
taeseunglee / README.md
Last active November 15, 2016 13:58 — forked from minhoryang/install_git_cspro.sh
RELEASE Tiny Lecture: INSTALL GIT BINARY WITHOUT ROOT/SUDOER @ UBUNTU
  • Description
    If you execute "install_git_cspro.sh" script and set the environment variables, git would be installed on a shared host and we finally use Git. "cspro" is the name of Sogang Univ.'s linux server computer.
    (Why we download curl)We need to use curl for https, so we also install curl.

  • How to execute shell script
    $ source install_git_cspro.sh

@taeseunglee
taeseunglee / git_install.log
Created September 20, 2016 11:15
Install cspro git..... https:인 경우에 안된다 으앙
configure: Setting lib to 'lib' (the default)
configure: Will try -pthread then -lpthread to enable POSIX Threads.
configure: CHECKS for site configuration
configure: CHECKS for programs
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o