Skip to content

Instantly share code, notes, and snippets.

View dael's full-sized avatar
๐Ÿ„โ€โ™‚๏ธ
surfit.io

Dael dael

๐Ÿ„โ€โ™‚๏ธ
surfit.io
View GitHub Profile
@lesstif
lesstif / validation_biz_number.php
Last active May 20, 2022 09:56
์‚ฌ์—…์ž ๋“ฑ๋ก ๋ฒˆํ˜ธ ๊ฒ€์ฆ php code
<?php
/**
* ์‚ฌ์—…์ž ๋ฒˆํ˜ธ ์œ ํšจ์„ฑ ๊ฒ€์ฆ
*
* @param string $bizNumberParam ๊ฒ€์ฆํ•  ์‚ฌ์—…์ž ๋ฒˆํ˜ธ
*
* @return bool
*
* @see https://www.lesstif.com/pages/viewpage.action?pageId=93126973 ์‚ฌ์—…์ž ๋ฒˆํ˜ธ ๊ฒ€์ฆ ๊ทœ์น™

LCHF

์ €ํƒ„์ˆ˜ํ™”๋ฌผ ๊ณ ์ง€๋ฐฉ ์‹์ด์š”๋ฒ• - ์ €ํƒ„๊ณ ์ง€

์„ธ์ค„์š”์•ฝ

  1. ํƒ„๋‹จ์ง€ ๋น„์œจ์€ 1:2:7 (1500kcal ๊ธฐ์ค€, 37g:73g:113g)
  2. ๋ฐฐ๊ฐ€ ๊ณ ํ”Œ๋•Œ ๋ฐฐ๋ถ€๋ฅด๊ฒŒ ๋จน๋Š”๋‹ค.
  3. ์ข‹์€ ์ง€๋ฐฉ์„ ์ฑ™๊ฒจ๋จน๋Š”๋‹ค.
@tatums
tatums / README.md
Last active July 11, 2018 08:16 — forked from brandt/README.md
Creates a loopback alias with IP 10.254.254.254 at startup on Mac OS X

Loopback Alias

Creates an alias on the loopback interface (lo0) with the IP 10.254.254.254 on Mac OS X.

Installation

  1. Install the plist to: /Library/LaunchDaemons/com.runlevel1.lo0.10.254.254.254.plist
  2. Set mode: chmod 0644 /Library/LaunchDaemons/com.runlevel1.lo0.10.254.254.254.plist
  3. Set owner: sudo chown root:wheel /Library/LaunchDaemons/com.runlevel1.lo0.10.254.254.254.plist
  4. Load: sudo launchctl load /Library/LaunchDaemons/com.runlevel1.lo0.10.254.254.254.plist
@domwrap
domwrap / Google Music All Access Family Plan for G-Suite GMail Vanity Domains.md
Last active August 24, 2023 02:26
Google Music All Access Family Plan for G-Suite / GMail Vanity Domains

Google Music All Access Family Plan for G-Suite / GMail Vanity Domains

Synopsis

I had wondered about this some weeks ago before finally trying it out today. I'm surprised nobody else had tried already. I was successful enough to be satisfied for my own uses. YMMV.

Result is I have a new Play Music account with Family Sharing which I can share with my G-Suite users, with all my playlists* moved over, and without anyone needing to maintain a separate email account.

This whole process took me about an hour, including moving across 15 playlists, but not including MX record propagation.

@smeijer
smeijer / parse-es6-template.js
Last active October 26, 2024 03:15
ES6 template string parser
function get(path, obj, fb = `$\{${path}}`) {
return path.split('.').reduce((res, key) => res[key] || fb, obj);
}
function parseTpl(template, map, fallback) {
return template.replace(/\$\{.+?}/g, (match) => {
const path = match.substr(2, match.length - 3).trim();
return get(path, map, fallback);
});
}
@koreapyj
koreapyj / README.md
Last active January 20, 2021 09:44
ํŒŒํŒŒ์กด์Šค ์ฟ ํฐ ์ฝ”๋“œ ํ™•์ธ (JSON)

ํŒŒํŒŒ์กด์Šค ์ฟ ํฐ ์ฝ”๋“œ ํ™•์ธ (JSON)

http://www.pji.co.kr/get.do?ex=Coupon&ac=selectCoupon&szDiscountCode=<์ฟ ํฐ ์ฝ”๋“œ>

ex) http://www.pji.co.kr/get.do?ex=Coupon&ac=selectCoupon&szDiscountCode=JY25

[{"szdiscountnamelocal":"(JY25) ๋ฐฐ๋‹ฌ ์ฃผ๋ฌธ ์‹œ ํ”ผ์ž(L์ด์ƒ) 30% ํ• ์ธ","szdiscountcode":"JY25","szdecode":"30","szfreeproduct":"","ndiscountid":"4266","szvalidatedate":"1"}]

@greyfairer
greyfairer / Vagrantfile
Last active October 11, 2016 22:17 — forked from aweijnitz/Vagrantfile
This is a Vagrant file and a provisioning script to create a Debian-based Jenkins server, including Java, Ant and Tomcat. Also see "provision.sh" below
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of.
# Named boxes, like this one, don't need a URL, since the are looked up
@eeertekin
eeertekin / backend-architectures.md
Last active September 23, 2019 09:21 — forked from ngocphamm/backend-architectures.md
Backend Architectures
@PurpleBooth
PurpleBooth / README-Template.md
Last active April 24, 2025 18:58
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@appkr
appkr / .bowerrc
Last active April 5, 2016 06:59
Laravel 5 Front-end Scaffolding
{
"analytics": false,
"directory": "resources/assets/vendor"
}