I hereby claim:
- I am anon5r on github.
- I am anon5r (https://keybase.io/anon5r) on keybase.
- I have a public key ASA1ZBc2tRYf-wGjKFM7Gg0zqbH40SMEYhgX-waxoD9FtQo
To claim this, I am signing this object:
#!/bin/sh | |
#sudo docker exec -it gitlab /opt/gitlab/embedded/bin/psql -h /var/opt/gitlab/postgresql -U gitlab -d gitlabhq_production | |
sudo docker exec -it gitlab sudo -u gitlab-psql /opt/gitlab/embedded/bin/psql --port 5432 -h /var/opt/gitlab/postgresql -d gitlabhq_production | |
psql |
池袋 | |
大塚 | |
巣鴨 | |
駒込 | |
田端 | |
日暮 | |
上野 | |
秋葉 | |
神田 | |
東京 |
// Pad string to right | |
String.prototype.pad=function(len,str){ | |
if(typeof str=="undefined") str=" "; | |
if(this.length>len) return this.toString(); | |
str=str.repeat(len-this.length); | |
return (this+str).substr(0,len); | |
} | |
// Pad string to left | |
String.prototype.lpad=function(len,str){ | |
if(typeof str=="undefined") str=" "; |
<?php | |
// 回転するやつ /-\| | |
$c=['|','/','-','\\']; | |
// like GCP | |
//$c=['⣤','⣆','⡇','⠏','⠛','⠹','⢸','⣰']; | |
$ci = count($c); | |
for($i=0;$i<=100;$i++){ | |
echo "\r"; // 描画カーソルを行頭に戻す | |
$block=str_repeat('#',floor($i/5)); | |
printf('Processing... %s [%-20s]%3d%%', $c[$i%$ci], $block, $i); |
// Pad string to right | |
String.prototype.pad=function(len,str){ | |
if(typeof str=="undefined") str=" "; | |
if(this.length>len) return this.toString(); | |
str=str.repeat(len-this.length); | |
return (this+str).substr(0,len); | |
} | |
// Pad string to left | |
String.prototype.lpad=function(len,str){ | |
if(typeof str=="undefined") str=" "; |
<?php | |
/** | |
* $hostname が接続先として接続応答出来る状態かを確認します。 | |
* | |
* @access public | |
* @static | |
* @param string $hostname 接続先ホスト名またはIP | |
* @param int $port 接続先ポート番号 | |
* @param int $timeout タイムアウトを指定する(秒) | |
* @return boolean |
print "今日も一日がんばるびぃ!\n" |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package net.anoncom.android.example; | |
import java.io.IOException; | |
import org.xmlpull.v1.XmlPullParser; | |
import org.xmlpull.v1.XmlPullParserException; | |
import android.content.res.Resources; | |
import android.util.Log; | |
public class XmlSample { |