This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sfL https://api.github.com/repos/vercel/next.js/git/refs/tags/ | jq -r ".[].ref" | perl -nle "s/^refs\/tags\/// && print if /^refs\/tags\/(v\d{1,2}\.\d{1,2}\.\d{1,2})$/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sfL https://www.openssl.org/source/ | perl -nle 'print $1 if /<a href=\"openssl\-(.*)\.tar\.gz\">.*/' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sfL https://openresty.org/en/download.html |perl -nle 'print $1 if /<a href=\"https:\/\/openresty\.org\/download\/openresty\-(.*)\.tar\.gz\" .*>.*/' | sort -k1,1 -k2,2 -k3 -t"." -n |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sfL https://nodejs.org/download/release/ | perl -nle 'print $1 if /^<a href=\"(.*)\/\">.*/' | egrep "^v" | sed -e "s/^v//" | sort -k1,1 -k2,2 -k3 -t"." -n | perl -nlpe 's/^(.*)$/v$1/' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sfL https://nginx.org/download/ | grep nginx | egrep -v "(patch|trace_process|.asc|.zip)" | perl -npe 's/^<a href=\"nginx\-(.*)\.tar\.gz\">.*/$1/' | sort -k1,1 -k2,2 -k3 -t"." -n |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s "https://ip-ranges.amazonaws.com/ip-ranges.json" |jq -r '.prefixes | map(select(.service == "CLOUDFRONT").ip_prefix) | "set_real_ip_from" + " " + .[] + ";"' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" バックアップ | |
set nobackup | |
"set noundofile | |
"set noswapfile | |
" タブの画面上での幅(rubyは2がよい) | |
" | |
set tabstop=4 | |
set shiftwidth=4 | |
" タブをスペースに展開する (noexpandtab:展開しない) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# vim:fileencoding=utf-8 | |
""" [NAME] script or package easy description | |
[DESCRIPTION] script or package description | |
""" | |
import os, sys, io | |
import json | |
from pyline_notify import PyLINENotify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
set -o pipefail | |
GO_VERSION=1.17.7 | |
GO_PATH=/usr/local/bin/go | |
GOFMT_PATH=/usr/local/bin/gofmt | |
MODE=$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ | |
/* ========================================================================== | |
HTML5 display definitions | |
========================================================================== */ | |
/** | |
* Correct `block` display not defined in IE 8/9. | |
*/ |