Skip to content

Instantly share code, notes, and snippets.

View yukpiz's full-sized avatar
🐢
|ω・)و ̑̑༉

yukpiz yukpiz

🐢
|ω・)و ̑̑༉
View GitHub Profile
@cho45
cho45 / erinnnotice.rb
Created September 15, 2008 13:27
エリン時間予告
#!/usr/bin/env ruby
require "rubygems"
require "snarl"
def message(str)
Snarl.show_message("mabinogi", str, nil, 10) # 日本語で最後の1文字がおかしい。snarl sucks
end
message "エリン時間予告を起動しました。"
" VSVIM
syntax on
set ignorecase
set smartcase
set hlsearch
set wrap
set number
set laststatus=2
set autoindent
set smartindent
@klange
klange / configure-vim.sh
Last active February 25, 2016 11:03
とある VIM patch
# 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
@jakelee8
jakelee8 / glances.md
Last active July 12, 2016 14:50
Glances system dashboard for Linux

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
@penguin2716
penguin2716 / gray_protected_users.rb
Created July 26, 2012 18:41
鍵垢のツイート背景をグレーにするmikutterプラグイン
#-*- coding: utf-8 -*-
Plugin.create :gray_protected_users do
UserConfig[:protected_users_background_color] ||= [0xcccc,0xcccc,0xcccc]
filter_message_background_color do | mp, array |
if mp.to_message.user[:protected] == true
array = UserConfig[:protected_users_background_color]
end
[mp, array]
end

沖縄Go言語勉強会 企画

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

イベント概要

  • 東京で活動している登壇・勉強会コミュニティ(#engineers_lt)
  • #engineers_ltのイベントグループ使用OK
  • 沖縄のエンジニアが登壇する機会を作りたい
  • 今回はGo言語というテーマを通す
@ijin
ijin / ecspresso_deploy_and_notify.sh
Last active December 7, 2018 08:57
Deploy to ECR with ecspresso and notify via slack
#!/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 $@
@neiraza
neiraza / HogeActivity
Last active August 15, 2020 07:08
複数のEditTextにたいして、TextWatcherをしかけてみた
/**
* Created by togu on 2013/07/23.
*/
public class HogeActivity extends Activity {
EditText editText1;
EditText editText2;
Button bomb;
@Override
@logue
logue / MabinogiEnv.cs
Created May 12, 2012 13:29
Mabinogi Environment Classes
/*!
* Mabinogi Environment Class
* Copyright (C) 2012 by Logue <http://logue.be/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@saitoha
saitoha / penetrate.py
Last active August 3, 2021 13:31
cat sixel file with penetrating GNU Screen
% screen
% cat test.png | pngtopnm | pnmquant 256 | ppmtosixel | ./penetrate.py && cat
% cat test.png | sixelconv | ./penetrate.py && cat