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
#!/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 |
# 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 |
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
#-*- 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 |
#!/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 $@ |
/** | |
* Created by togu on 2013/07/23. | |
*/ | |
public class HogeActivity extends Activity { | |
EditText editText1; | |
EditText editText2; | |
Button bomb; | |
@Override |
/*! | |
* 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 |
% screen | |
% cat test.png | pngtopnm | pnmquant 256 | ppmtosixel | ./penetrate.py && cat | |
% cat test.png | sixelconv | ./penetrate.py && cat |