Skip to content

Instantly share code, notes, and snippets.

View yosh1's full-sized avatar
😃
LGTM

yosh1 yosh1

😃
LGTM
  • nyan-co
  • Tokyo, Japan
  • 10:03 (UTC -12:00)
View GitHub Profile
@yosh1
yosh1 / adb
Last active July 10, 2018 08:48
Android端末のキャリア情報(オーナー)を削除する ref: https://qiita.com/yoshi1125hisa/items/0ee2a926af166599ee12
adb shell
@yosh1
yosh1 / file0.txt
Last active July 4, 2018 06:00
Mac OS High Sierra で slコマンド ref: https://qiita.com/yoshi1125hisa/items/364df07422624d85c8a8
brew install sl
@yosh1
yosh1 /
Last active July 5, 2018 04:38
GitHubのコミットログを絵文字で埋め尽くせ! ref: https://qiita.com/yoshi1125hisa/items/10c41be78c4e8d8f3330
:love_letter: → 💌
@yosh1
yosh1 / MainActivity
Last active July 11, 2018 05:01
背景クリック時にソフトウェアキーボードを隠す方法 ref: https://qiita.com/yoshi1125hisa/items/caf4e8127b8082f313e0
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
relativeLayout = findViewById(R.id.relativeLayout);
relativeLayout.setOnClickListener(this);
editText = findViewById(R.id.editText);
editText.setOnFocusChangeListener(new View.OnFocusChangeListener() {
@yosh1
yosh1 / file0.txt
Created July 6, 2018 06:34
npmが実行できなくて詰まった話(アンインストールから再インストールまで) ref: https://qiita.com/yoshi1125hisa/items/4db4e15840c4a5c27d03
$ npm install -g jsx
Unhandled rejection Error: EACCES: permission denied, open '/Users/UserName/.npm/_cacache/index-v5/3d/40/1fc7c6f64e0d481b6e19f1d1ebffb32265d1b9ef080c9667bdedb0df3612'
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/UserName/.npm/_logs/2018-07-05T06_32_41_539Z-debug.log
@yosh1
yosh1 / shell
Created September 9, 2018 08:56
Shellで超簡単にグローバルIPを確認する方法 ref: https://qiita.com/yoshi1125hisa/items/141e1cb79a118449a139
$ curl globalip.me
@yosh1
yosh1 / file0.css
Created September 25, 2018 02:09
HTMLでli要素のリストマークを消す方法 ref: https://qiita.com/yoshi1125hisa/items/3394e45e8640ff24a615
ul {
list-style: none;
}
@yosh1
yosh1 / index.html
Created September 25, 2018 03:20
JavaScriptを使用しないでページをリロードする ref: https://qiita.com/yoshi1125hisa/items/71b3f183636b6540e459
<meta http-equiv="refresh" content="5" >
<!-- 5秒に一度リロード -->
@yosh1
yosh1 / file0.txt
Last active December 8, 2018 02:28
東京五輪ボランティア応募サイトを検証してわかったこと ref: https://qiita.com/yoshi1125hisa/items/3f60b801245996306146
media="screen and (min-width: 768px)"
@yosh1
yosh1 / file0.txt
Last active October 7, 2018 11:10
Pythonで規則性のある数値を読み込み→行列に変換する方法 ref: https://qiita.com/yoshi1125hisa/items/682757cdbeb4502e6aca
1
2
3
4
5
6
7
8
9
1