-
エキスパートたちが語り尽くす、WebRTCの「つらみ」ーWebRTC Conferenceパネルディスカッションレポート | HTML5Experts.jp
-
ゴリゴリサーバ実装を開発してる人のメモ(但し自社システム用なので実装は公開されていない)
This file contains 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 bash | |
sudo yum groups install -y Development\ tools | |
sudo yum install -y cmake | |
sudo yum install -y python34-{devel,pip} | |
sudo pip-3.4 install neovim --upgrade | |
( | |
cd "$(mktemp -d)" | |
git clone https://github.com/neovim/neovim.git | |
cd neovim | |
make CMAKE_BUILD_TYPE=Release |
This file contains 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 bash | |
set -e | |
if grep -qF 'A-Za-z0-9_-.' /etc/bash_completion.d/gluster; then | |
sudo perl -i -pe's/A-Za-z0-9_\-\./A-Za-z0-9_\\-\\./' /etc/bash_completion.d/gluster | |
. /etc/bash_completion.d/gluster | |
fi |
This file contains 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 bash | |
git-get-hash() { | |
for n in "tags/$1" "origin/$1" "heads/$1" "$1"; do | |
git rev-parse --verify "$n" 2>/dev/null && return 0 | |
done | |
} | |
[[ "$BASH_SOURCE" == "$0" ]] || git-get-hash "$@" |
This file contains 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 | |
#latest_srpm=http://www.imagemagick.org/download/linux/SRPMS/ImageMagick-6.9.3-7.src.rpm | |
latest_srpm=http://www.imagemagick.org/download/linux/SRPMS/ImageMagick.src.rpm | |
sudo rpm -ivh "$latest_srpm" | |
cd /usr/src/rpm/SPECS/ | |
# perl -i.bak -pe's/--with-(openexr|rsvg)/--without-$1/g; s/[ ,]+(OpenEXR|librsvg2)-devel//g; s/(OpenEXR|librsvg2)-devel[ ,]+//g' ImageMagick.spec; git diff ImageMagick.spec.bak ImageMagick.spec > ImageMagick.spec/diff |
This file contains 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
window.setInterval(function() { | |
q = (q,r)=>Array.prototype.slice.apply((r || document).querySelectorAll(q)); | |
q("downloads-manager::shadow downloads-item::shadow #show").filter(e=>e.style.display != "none" && !e.hidden).map(e=>e.parentNode.parentNode.parentNode).map(c=>q("#remove", c)[0]).map(r=>r.click()); | |
q("downloads-manager::shadow downloads-item::shadow #resume").filter(e=>e.style.display != "none").map(e=>e.click()); | |
}, 5000); |
- [] hoge
- aa
- a task list item
- list syntax required
- normal formatting, @mentions, #1234 refs
- incomplete
- completed
This file contains 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 bash | |
set -e | |
usage() { | |
local name | |
name=$(basename "$0") | |
echo "Usage: $name command [options]" | |
echo " $name list" | |
echo " $name connect ID" | |
echo " $name disconnect ID" |