Skip to content

Instantly share code, notes, and snippets.

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

Seol Park chalkpe

๐Ÿณ๏ธโ€๐ŸŒˆ
  • Republic of Korea
View GitHub Profile
@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
@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])
@redism
redism / kr_won_to_backquote.sh
Created April 26, 2017 16:20
macOS Sierra์—์„œ ์›ํ™”(โ‚ฉ) ๋Œ€์‹  ๋ฐฑ ์ฟผํŠธ(`) ์ž…๋ ฅํ•˜๊ธฐ
#!/bin/bash
if [ -f ~/Library/KeyBindings/DefaultkeyBinding.dict ]; then
echo "~/Library/KeyBindings/DefaultkeyBinding.dict already exists"
exit -1
fi
mkdir -p ~/Library/KeyBindings
cat << EOF > ~/Library/KeyBindings/DefaultkeyBinding.dict
{
"โ‚ฉ" = ("insertText:", "\`");
@cthurston
cthurston / mongodb-facet-combine.js
Created November 3, 2017 14:21
MongoDb combine $facet results into a single result set.
db.getCollection('list').aggregate([
{
$facet: {
"events":[{
$match: {
'type': 'Event'
}
}],
"tasks": [{
$match: {
@serg0x
serg0x / material-design-shadows.css
Last active November 1, 2024 00:27
Google material design elevation system shadows as css. Based on https://material.io/design/environment/elevation.html#default-elevations Exported with Sketchapp from the Google material design theme editor plugin "Baseline" theme.
/* Shadow 0dp */
box-shadow: none;
/* Shadow 1dp */
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.14), 0 2px 1px -1px rgba(0,0,0,0.12), 0 1px 3px 0 rgba(0,0,0,0.20);
/* Shadow 2dp */
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.20);
/* Shadow 3dp */
@tiffany352
tiffany352 / index.html
Last active May 1, 2024 11:36
Twitter archive browser
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Twitter Archive Browser</title>
<script src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script src="https://unpkg.com/[email protected]/babel.min.js"></script>
<style>
@dolsup
dolsup / yaong.md
Last active August 5, 2020 07:27
๋‚œํ•ดํ•œ ์•ผ์˜น... ์–ธ์–ด

๋‚œํ•ดํ•œ ์•ผ์˜น... ์–ธ์–ด v0.4.5

์†Œ๊ฐœ

๋‚œํ•ดํ•œ ์•ผ์˜น... ์–ธ์–ด(์ดํ•˜ ์•ผ์˜น)๋Š” ๋‚œํ•ดํ•œ ํ˜€์—‰... ์–ธ์–ด(์ดํ•˜ ํ˜€์—‰)์™€ ์ƒํ˜ธ ํŠธ๋žœ์ŠคํŒŒ์ผ ๊ฐ€๋Šฅํ•œ ์–ธ์–ด์ž…๋‹ˆ๋‹ค. ์•ผ์˜น๊ณผ ํ˜€์—‰์€ ๊ธฐ๋ณธ์ ์œผ๋กœ ๋™์น˜(equivalent) ๊ด€๊ณ„์ด๋ฉฐ ๊ฐ ์–ธ์–ด์˜ ๋ช…๋ น์–ด์…‹์€ ์„œ๋กœ 1:1 ๋งคํ•‘๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ช…๋ น์–ด์…‹ ๋น„๊ต

ํ˜€์—‰ v0.4.5๋ฅผ ๊ธฐ์ค€์œผ๋กœ ํ•ฉ๋‹ˆ๋‹ค. ์•„๋ž˜ ๋‚˜์—ด๋œ ํ•œ๊ธ€ ์Œ์ ˆ ๋ฌธ์ž ๋ช…๋ น์–ด๋ฅผ ์ œ์™ธํ•œ ๋ชจ๋“  ์ŠคํŽ™์€ ๋™์ผํ•ฉ๋‹ˆ๋‹ค.

๋‚œํ•ดํ•œ ์•ผ์˜น... ์–ธ์–ด ๋‚œํ•ดํ•œ ํ˜€์—‰... ์–ธ์–ด ํ•ด์„
@Treeki
Treeki / TurnipPrices.cpp
Last active May 25, 2025 06:02
AC:NH turnip price calculator
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
// munged from https://github.com/simontime/Resead
namespace sead
{
class Random
{
@zi-gae
zi-gae / wontobacktick.sh
Last active April 4, 2024 05:27
won(โ‚ฉ) to backtick(`)
#!/bin/bash
if [ -f ~/Library/KeyBindings/DefaultkeyBinding.dict ]; then
echo "~/Library/KeyBindings/DefaultkeyBinding already"
exit 0
fi
mkdir -p ~/Library/KeyBindings
cat << EOF > ~/Library/KeyBindings/DefaultkeyBinding.dict
{
"โ‚ฉ" = ("insertText:", "\`");
"~4" = ("insertText:","โ‚ฉ");
@melroy89
melroy89 / mastodon-docker-setup.md
Last active May 14, 2025 03:02 — forked from akuechl/mastodon-docker-setup.md
Mastodon Docker Setup - most complete and easiest guide online