Skip to content

Instantly share code, notes, and snippets.

View tsub's full-sized avatar

Tsubasa Takayama tsub

View GitHub Profile
@ryz310
ryz310 / morning-meeting.js
Last active August 8, 2019 01:09
朝会の daily-standup-bot に投げるテキストを esa.io の日報から生成する JS。
const pbCopy = (text) => {
const tmp = document.createElement('div');
const pre = document.createElement('pre');
pre.style.webkitUserSelect = 'auto';
pre.style.userSelect = 'auto';
tmp.style.position = 'fixed';
tmp.style.right = '200%';
tmp.appendChild(pre).textContent = text;
document.body.appendChild(tmp);
document.getSelection().selectAllChildren(tmp);
@yukiyan
yukiyan / deploy-tool.md
Last active September 22, 2016 10:05
「ECSのデプロイツールを試している話」のスライドで引用した資料のリンク
@jiananlu
jiananlu / gist:9258032
Last active May 11, 2023 00:14
upgrade openwrt kernel and reinstall all packages manual

upgrade the system

Make sure you can ssh to the router by root and type in the command:

cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-mw4530r-v1-squashfs-sysupgrade.bin
sysupgrade -v openwrt-ar71xx-generic-mw4530r-v1-squashfs-sysupgrade.bin
@atenni
atenni / README.md
Last active April 24, 2024 01:36
How to permalink to a gist's raw file

Problem: When linking to the raw version of a gist, the link changes with each revision.

Solution:

To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/

To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]