(credit: @tomo_e ใใ)
- Sho Miyamoto / @webseals
- ๆฐๅ 2 ๅนด็ฎ
- ใฆใงใใใผใ
# Make zsh start INSTANTLY with this one weird trick. | |
# | |
# https://asciinema.org/a/274255 | |
# | |
# HOW TO USE | |
# | |
# 1. Download this script. | |
# | |
# curl -fsSL -o ~/instant-zsh.zsh https://gist.github.com/romkatv/8b318a610dc302bdbe1487bb1847ad99/raw | |
# |
; if you're using the starter bundle file `docker/php/php-fpm.d/docker.conf` | |
[global] | |
daemonize = no | |
pid = run/php-fpm.pid | |
[www] | |
listen = /usr/local/var/run/php-fpm.sock | |
listen.owner = www-data | |
listen.group = www-data | |
listen.mode = 0660 |
Only do this if you understand the consequences: all node programs will be able to bind on ports < 1024
sudo setcap 'cap_net_bind_service=+ep' /usr/local/bin/node
Important: your node location may vary. Use which node
to find it, or use it directly in the command:
/* | |
href | |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ | |
origin โ | |
โโโโโโโโโโโโโโดโโโโโโโโโโโโโโโ โ | |
โ authority โ | |
โ โโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ | |
โ โ host resource | |
โ โ โโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโดโโโโโโโโโโโโฌโโโโโโโโ | |
โ โ hostname โ pathname โ โ |
<?php | |
if (! function_exists('take')) { | |
/** | |
* Run functions consecutively by piping through the result of one | |
* into the next. | |
* | |
* @param mixed $value A value | |
* | |
* @return object | |
*/ |
ใใฎ่จไบใฏใใใใๅฎถ Advent Calendar 2014ใฎ่จไบใงใใใ่ชญใใงใ่ชญใพใชใใฆใๆงใใพใใใ
ใฟใคใใซ้ใใงใใใSlack Outgoing Webhooksใๆฑใใๅฆ็่จ่ช้ไพๅญใใชใตใผใใฎใใใชใใฎใไฝใใพใใใ ๅใซslackไธใงใฏใกใใใใใซใไฝใฃใใ็ฅ่ฆใ้กใใใจ้ ผใพใใใฎใงใใใฎๆจใๆธใใพใใ
sasairc/marunage - Slack Outgoing Webhooksใฎใตใผใใฎใใใชใใฎใ