Skip to content

Instantly share code, notes, and snippets.

View chalkpe's full-sized avatar
๐Ÿณ๏ธโ€๐ŸŒˆ

Seol Park chalkpe

๐Ÿณ๏ธโ€๐ŸŒˆ
  • Republic of Korea
View GitHub Profile
@danvk
danvk / chain-examples.ts
Created March 30, 2017 15:38
Full sample code for "A Typed Chain" post
import { chain } from 'chain';
// Open this file in vscode and mouse over the symbols to see their types.
// Wrapped scalar.
const v = chain('hello chain!')
.value();
// Calling methods on wrapped arrays.
const v2 = chain([1, 2, 3])
@HelloWorld017
HelloWorld017 / README.md
Last active January 17, 2022 12:52
Powerline style for Atom

How to

  1. Download powerline.less into ATOM_HOME (default: ~/.atom/)
  2. Add @import './powerline.less'; into your styles.less in ATOM_HOME.
  3. Enjoy! :D

Warning

Powerline could not work on some themes.
Officially supported themes:

  • Atom Dark
  • Atom Light
@rauchg
rauchg / README.md
Last active April 13, 2025 04:29
require-from-twitter
@forabi
forabi / Webpack 2.0.7-beta vs Rollup
Last active August 20, 2024 13:14
Webpack 2 vs Rollup
โฏ rollup --version
rollup version 0.25.3
โฏ time rollup -c ./rollup.js
rollup -c ./rollup.js 4.65s user 0.22s system 118% cpu 4.131 total
โฏ time webpack
Hash: ebb00bbccd954c114d3c
Version: webpack 2.0.7-beta
Time: 3623ms
@davestevens
davestevens / LetsEncrypt.md
Last active November 6, 2024 11:48
Letโ€™s Encrypt setup for Apache, NGINX & Node.js

Let's Encrypt

Examples of getting certificates from Let's Encrypt working on Apache, NGINX and Node.js servers.

Obtain certificates

I chose to use the manual method, you have to make a file available to verify you own the domain. Follow the commands from running

git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
@preco21
preco21 / babel-6.md
Last active March 16, 2023 01:55
Babel 6.x ๊ฐ„๋‹จ ๊ฐ€์ด๋“œ

Babel 6.x ๊ฐ€์ด๋“œ

Babel์€ ์ตœ์‹  ES(2015/NEXT) ํ‘œ์ค€์— ๋งž์ถฐ ์ž‘์„ฑ๋œ ์ฝ”๋“œ๋ฅผ ์•„์ง ํ‘œ์ค€ ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ•˜์ง€ ์•Š์€ ๋ธŒ๋ผ์šฐ์ €์™€ ํ”Œ๋žซํผ์—์„œ๋„ ์ฝ”๋“œ๊ฐ€ ์ž‘๋™ํ•  ์ˆ˜ ์žˆ๋„๋ก ๋งŒ๋“ค์–ด์ฃผ๋Š” ์ฝ”๋“œ transpiler์™€ polyfill ๋„๊ตฌ์˜ ์ง‘ํ•ฉ์ž…๋‹ˆ๋‹ค.

Babel 6.x ๋ฒ„์ „๋ถ€ํ„ด ๋งŽ์€ ๊ธฐ๋Šฅ์ด ์ถ”๊ฐ€๋˜์—ˆ๊ณ  ์šด์šฉ ๋ฐฉ์‹์ด ์„ค์ •(config) ๊ธฐ๋ฐ˜ ๋ฐฉ์‹์œผ๋กœ ๋ฐ”๋€Œ์—ˆ์Šต๋‹ˆ๋‹ค.

์„ค์น˜์™€ ์‚ฌ์šฉ

{
"name": "fish.pufferfish.raw",
"id": 206,
"icon": "fish_raw_puffer_fish",
"use_animation": "eat",
"use_duration": 32,
"max_damage": 0,
"stacked_by_data": true,
"food": {
@simolus3
simolus3 / AchievementName.java
Last active February 7, 2017 02:45
English Name of Bukkit API Achievements
import java.util.HashMap;
import org.bukkit.Achievement;
public class AchievementName {
private static HashMap<Achievement, String> names = new HashMap<Achievement, String>();
static {
names.put(Achievement.OPEN_INVENTORY, "Taking inventory");
names.put(Achievement.MINE_WOOD, "Getting Wood");
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #