Skip to content

Instantly share code, notes, and snippets.

🐢
|ω・)و ̑̑༉

yukpiz yukpiz

🐢
|ω・)و ̑̑༉
Block or report user

Report or block yukpiz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View okinawa_golang.md

沖縄Go言語勉強会 企画

企画中:確定ではありません

イベント概要

  • 東京で活動している登壇・勉強会コミュニティ(#engineers_lt)
  • #engineers_ltのイベントグループ使用OK
  • 沖縄のエンジニアが登壇する機会を作りたい
  • 今回はGo言語というテーマを通す
@ijin
ijin / ecspresso_deploy_and_notify.sh
Last active Dec 7, 2018
Deploy to ECR with ecspresso and notify via slack
View ecspresso_deploy_and_notify.sh
#!/bin/bash
set -x
export SHA1=`echo ${CIRCLE_SHA1} | cut -c1-7`
export CONFIG_YML=$1
shift
export SERVICE=`./ecspresso deploy --config=$CONFIG_YML --dry-run | grep Service | awk '{print $2}'`
echo "deploying"
time ./ecspresso deploy --config=$CONFIG_YML $@
@jakelee8
jakelee8 / glances.md
Last active Jul 12, 2016
Glances system dashboard for Linux
View glances.md

http://askubuntu.com/a/293447

All commands are run as root.

apt install build-essential glances python3-pip

# use py3sensors because pysensors doesn't work on Python 3.x
pip3 install https://bitbucket.org/gleb_zhulik/py3sensors/get/0cf96f4e2cfe.zip
@nolanlawson
nolanlawson / completion-for-gradle.md
Last active Dec 10, 2019
Gradle tab completion for Bash. Works on both Mac and Linux.
View completion-for-gradle.md

Gradle tab completion script for Bash

A tab completion script that works for Bash. Relies on the BSD md5 command on Mac and md5sum on Linux, so as long as you have one of those two commands, this should work.

Usage

$ gradle [TAB]
View .vsvimrc
" VSVIM
syntax on
set ignorecase
set smartcase
set hlsearch
set wrap
set number
set laststatus=2
set autoindent
set smartindent
@saitoha
saitoha / penetrate.py
Last active Oct 25, 2017
cat sixel file with penetrating GNU Screen
View penetrate.py
% screen
% cat test.png | pngtopnm | pnmquant 256 | ppmtosixel | ./penetrate.py && cat
% cat test.png | sixelconv | ./penetrate.py && cat
@neiraza
neiraza / HogeActivity
Last active Dec 20, 2015
複数のEditTextにたいして、TextWatcherをしかけてみた
View HogeActivity
/**
* Created by togu on 2013/07/23.
*/
public class HogeActivity extends Activity {
EditText editText1;
EditText editText2;
Button bomb;
@Override
@klange
klange / configure-vim.sh
Last active Feb 25, 2016
とある VIM patch
View configure-vim.sh
# VIM
ac_cv_sizeof_int=4 vim_cv_getcwd_broken=no vim_cv_memmove_handles_overlap=yes vim_cv_stat_ignores_slash=no vim_cv_tgetent=zero vim_cv_terminfo=yes vim_cv_toupper_broken=no vim_cv_tty_group=world ./configure --host=$TARGET --target=$TARGET --prefix=$PREFIX/$TARGET --with-tlib=ncurses --enable-gui=no --disable-gtktest --disable-xim --with-features=normal --disable-gpm --without-x --disable-netbeans --enable-multibyte
# ncurses
./configure --prefix=$PREFIX/$TARGET --host=$TARGET --with-terminfo-dirs=/usr/share/terminfo --with-default-terminfo-dir=/usr/share/terminfo --without-tests
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active Jan 26, 2020
OS X Screencast to animated GIF
View GIF-Screencast-OSX.md

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@mattn
mattn / .classpath
Created Aug 8, 2012
業務プログラマがFizzBuzz書いたらどうなるか ( ref: http://d.hatena.ne.jp/irof/20120808/p1 )
View .classpath
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" path="src/test/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="/usr/share/java/commons-logging-1.1.1.jar"/>
<classpathentry kind="lib" path="/usr/share/java/junit4.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
You can’t perform that action at this time.