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
# Ref: https://circleci.com/docs/2.0/deployment-integrations/ | |
version: 2 | |
jobs: | |
build: # runs not using Workflows must have a `build` job as entry point | |
working_directory: ~/repo | |
docker: | |
- image: circleci/node:8 # 8系がLTSなので使用 | |
steps: | |
- checkout # special step to check out source code to working directory | |
- run: |
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
require "discordrb" | |
require "net/http" | |
require "uri" | |
require "json" | |
# dotenv を使用する場合はここのコメントを解除します(※ gem install dotenv が必要) | |
# require "dotenv" | |
# Dotenv.load | |
class KizunaBot |
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
general: | |
branches: | |
ignore: | |
- gh-pages | |
machine: | |
timezone: Asia/Tokyo | |
node: | |
version: v6.1.0 |
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
### RPG Maker MV | |
movies/ | |
save/ | |
## pictures 以外の image フォルダを無視 | |
img/animations | |
img/battlebacks1 | |
img/battlebacks2 |
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 |
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
$(function() | |
{ | |
var gcd = new GreatestCommonDivisor(14, 21); | |
var outputElement = $(".output"); | |
outputElement.append( gcd.displayGcd() ); | |
}); | |
class GreatestCommonDivisor | |
{ |
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 gulp = require("gulp"); | |
/* gulp とコマンドを打つと実行される */ | |
gulp.task("default", function() { | |
console.log("Starting gulp...!!"); | |
gulp.watch(["./original/*.js"], ["compress"]); | |
}); | |
var uglify = require("gulp-uglify"); |