Skip to content

Instantly share code, notes, and snippets.

View neet's full-sized avatar

Ryō Igarashi neet

View GitHub Profile
@neet
neet / mastodon-darwin.sh
Created September 3, 2018 22:03
Mastodon: Required packages on macOS
# Homebrew and Xcode are necesarry for bundle required packages
# Homebrew: https://brew.sh/
# Xcode: https://developer.apple.com/xcode/
xcode-select --install
brew install \
autoconf \
bison \
certbot \
@neet
neet / keybase.md
Created August 18, 2018 16:22
keybase.md

Keybase proof

I hereby claim:

  • I am neet on github.
  • I am neet (https://keybase.io/neet) on keybase.
  • I have a public key whose fingerprint is F0D2 2B17 5F89 8D46 4998 856F 5C2D 6ECF 9237 F65F

To claim this, I am signing this object:

@neet
neet / conditional-operator.js
Created August 13, 2018 19:19
JavaScript: 条件に応じていろいろするやつの比較 Comparison conditional processing
const flag = 'lion';
const value = flag === 'lion' ? 'ライオン'
: flag === 'elephant' ? 'ゾウ'
: flag === 'dog' ? 'イヌ'
: 'ネコ';
@neet
neet / style.css
Created July 28, 2018 14:29
MastodonWiki Custom CSS
@charset "utf-8";
/*----------------------------------
全体定義
----------------------------------*/
html {
width: 100%;
height: 100%;
}
@neet
neet / style.css
Last active March 9, 2018 11:23
GitHub markdown flavour for VSCode md preview
:root {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
line-height: 1.5;
color: #24292e;
background-color: white;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 16px;
line-height: 1.5;
word-wrap: break-word;
@neet
neet / PlayerPrefs.txt
Created December 20, 2017 04:19
きららファンタジア PlayerPrefs.txt
AssetbundleVersion_texture/charauiresource/charaillustbust/charaillust_bust_13001001.muast : 35a5737fb3ce5a9c8d4b7af0dec0580f_0_2 : System.String ;
AssetbundleVersion_anim/player/meigeac_urara_nina@facial.muast : 75eb09c31dd3cdb8ac71d1f2530b6e84_0_2 : System.String ;
AssetbundleVersion_texture/tutorialtips/tutorialtips_106_11.muast : 36cdc38e43e922b2121dd0367ff4a0ef_0_2 : System.String ;
AssetbundleVersion_scene/child/quest_questselectui.muast : 17258aaa0c01cb5e952efda9339d2447_0_2 : System.String ;
cri_Voice_Original_004.awb : 0 : System.String ;
cri_Voice_Hidamari_Nori.awb : 0 : System.String ;
AssetbundleVersion_texture/weaponicon/weaponicon_wpn_1402.muast : 50d718f5f2cad36f90365b89cd866333_0_2 : System.String ;
AssetbundleVersion_texture/charauiresource/ordericon/en_ordericon_11600.muast : bc9a3e0618bec2da8d94e1a9962c199d_0_2 : System.String ;
AssetbundleVersion_effect/ef_btl_fighter_skill_01_sun_00.muast : e3a493a8ae7e7818a12c88b213ea079d_0_2 : System.String ;
cri_Mix.acb : 1 : System.String ;
@neet
neet / material-colors.scss
Created November 1, 2017 13:10
Google Material Colours variables for SCSS
// Google Material color swatches for SCSS
// See also: https://material.io/guidelines/style/color.html#color-color-palette
$material-colors: (
red: (
50: #FFEBEE,
100: #FFCDD2,
200: #EF9A9A,
300: #E57373,
400: #EF5350,
@neet
neet / javaQuizes2.java
Last active October 25, 2017 14:45
javaQuizes2
public class JavaQuizes {
/**
* Quiz 02
*/
public static void quiz02(String args[]) {
Scanner scanner = new Scanner(System.in);
// 月を取得
System.out.println("誕生日の月を入力してください:");
@neet
neet / めも.md
Last active November 17, 2017 07:52
dockerめも

やったことめも

環境

  • CentOS 7

やったこと

ユーザーをdockerグループに所属させる, これをやらないといちいちsudoが必要.

public class JavaQuizes {
/**
* Quiz 1
*/
public static void quiz1(String args[]) {
// インスタンス化
Scanner scanner = new Scanner(System.in);