Skip to content

Instantly share code, notes, and snippets.

View lambdalisue's full-sized avatar
🎮

Λlisue (Ali sue・ありすえ) lambdalisue

🎮
View GitHub Profile
@lambdalisue
lambdalisue / download-gh-release
Last active September 1, 2021 10:32 — forked from maxim/gh-dl-release
Download assets from private Github releases
#!/bin/bash
#
# Usage:
#
# download-gh-release {user}/{repo} {file} [{tag}]
#
repo=$1
file=$2
tag=${3:-latest}
@lambdalisue
lambdalisue / get-dslite-aftr-in-asahinet.md
Created June 9, 2021 05:53 — forked from stkchp/get-dslite-aftr-in-asahinet.md
ASAHIネットのDS-Liteの終端(AFTR)を取得するメモ

ASAHIネットのDS-Liteの終端(AFTR)を取得する

ASAHIネットがDS-Lite対応したので、 自宅の適当なLinuxルーターにて設定しようとして詰まったAFTR取得に関するメモ。

Linuxルーターを使ってる人向けのニッチなものだけど、情報として残しておく。

終端の情報公開について

@lambdalisue
lambdalisue / install_zsh_ubuntu.sh
Last active October 30, 2016 09:39 — forked from nicoulaj/build-zsh.sh
Install "zsh" on Ubuntu/Debian
#!/bin/sh
# Build Zsh from sources on Ubuntu.
# From http://zsh.sourceforge.net/Arc/git.html and sources INSTALL file.
if ! which porg >/dev/null 2>&1; then
echo 'A program manager "porg" is required.'
echo 'Install it via the following command'
echo ''
echo ' curl -sL git.io/vXTo7 | bash'
echo ''
echo 'Ref: https://gist.github.com/lambdalisue/161aa84af9a9ff7d3bfe9decfabf656a'

This script enables you stop and start Symantec Endpoint Protection on OS X

Installation

sudo curl https://gist.githubusercontent.com/steve-jansen/61a189b6ab961a517f68/raw/sep -o /usr/local/bin/sep
sudo chmod 755 /usr/local/bin/sep
sudo chown root:staff /usr/local/bin/sep
@lambdalisue
lambdalisue / color.coffee
Last active January 2, 2016 06:39 — forked from abachman/color.coffee
A library of handling colors (Coffee)
# rgb <-> hsl algorithms from
# http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript
Colors =
#
# Converts an RGB color value to HSL. Conversion formula
# adapted from http://en.wikipedia.org/wiki/HSL_color_space.
# Assumes r, g, and b are contained in the set [0, 255] and
# returns h, s, and l in the set [0, 1].
#