This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aliases: | |
android_docker: &android_docker | |
docker: | |
- image: circleci/android:api-28 | |
environment: | |
TZ: Asia/Tokyo | |
steps: | |
- restore_cache: &restore_cache | |
key: &jars_key jars-{{ checksum "build.gradle.kts" }}-{{ checksum "app/build.gradle.kts" }} | |
- run: &download_deps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using UnityEngine; | |
using UnityEngine.EventSystems; | |
using UnityEngine.UI; | |
namespace Util { | |
public static class Fade { | |
public static void FadeoutObject(GameObject gameObject, float fadeoutSec = 2.0f) { | |
if (gameObject.GetComponent<Fadeout>()) return; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using UnityEngine; | |
using UnityEngine.Audio; | |
// Singleton として持ち続ける | |
public class SoundManager : MonoBehaviour { | |
static SoundManager instance; | |
public AudioMixerGroup BGMMixerGroup; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using UnityEngine; | |
using UnityEngine.Audio; | |
using DG.Tweening; | |
// Singleton として持ち続ける | |
public class SoundManager : MonoBehaviour { | |
static SoundManager instance; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: install dependencies | |
become: true | |
become_user: root | |
apt: | |
name: | |
- apt-transport-https | |
- ca-certificates | |
- curl | |
- gnupg2 | |
- software-properties-common |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# $1: Update proxies to this ip | |
# $2: Update no_proxy to this ip list | |
function update_proxy() { | |
local proxy_ip="$1" | |
local no_proxy_list="$2" | |
if [ "$proxy_ip" = "" ] ; then | |
unset http_proxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var zero = 0; | |
var nullString = ""; | |
var nullValue = null; | |
var undefinedValue = undefined; | |
var nanValue = NaN; | |
console.log("## xxx.toString"); | |
console.log(zero + ", " + nullString + ", " + nullValue + ", " + undefinedValue + ", " + nanValue); | |
console.log("## ! xxx"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module StringExtend | |
refine String do | |
def reverse | |
"aaa" | |
end | |
end | |
end | |
module TestModule | |
def output_from_module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias emacs='open -a Emacs.app -n' # -a は Application を開くのに必要な宣言。 -n は new Window の n | |
alias iterm='open -a iTerm.app -n' # 律儀に .app まで書いてますが、 'open -a iterm' でも大丈夫です | |
alias firefox='open -a Firefox.app --background' | |
alias chrome='open -a "Google Chrome.app" --background' | |
alias safari='open -a Safari.app --background' | |
alias opera='open -a Opera.app --background' | |
alias vim='open -a MacVim.app -n' | |
alias xcode='open -a Xcode.app' | |
alias tedit='open -e' # TextEdit というMac標準のエディタが開きます |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:trusty | |
LABEL Description="latest npm" Vendor="nekonenene" Version="1.0" | |
## 文字コード設定 | |
RUN locale-gen ja_JP.UTF-8 | |
ENV LANG ja_JP.UTF-8 | |
ENV LANGUAGE ja_JP:ja | |
ENV LC_ALL ja_JP.UTF-8 |