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
$ brew install hugo | |
$ hugo version | |
ugo Static Site Generator v0.19 darwin/amd64 BuildDate: 2017-02-27T19:21:29+09:00 |
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
$ aws ec2 describe-security-groups \ | |
--filters Name=ip-permission.cidr,Values='xxx.xxx.xxx.xxx/32' | |
--query 'SecurityGroups[*].{Name:GroupName, Description:Description}' | |
[ | |
{ | |
"Name": "hoge", | |
"Description": "from hogehoge" | |
}, | |
... |
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
language: node_js | |
node_js: | |
- "6" | |
before_deploy: | |
- npm run build | |
deploy: | |
provider: s3 | |
bucket: {{bucket名}} | |
region: ap-northeast-1 | |
endpoint: {{bucket名}}.s3-ap-northeast-1.amazonaws.com |
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
<template> | |
<div id="app"> | |
<fizz-buzz></fizz-buzz> | |
<buttons></buttons> | |
</div> | |
</template> | |
<script> | |
import FizzBuzz from './components/FizzBuzz' |
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
$ npm install | |
$ token=<your bot token> node bot.js |
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
defmodule FizzBuzz do | |
def start do | |
list = 1..100 | |
for n <- list, do: fizzbuzz(n) | |
end | |
defp fizzbuzz(n) when rem(n,15) == 0 do | |
IO.puts ~s(FizzBuzz) | |
end |
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 Spooky = require('spooky'); | |
var spooky = new Spooky({ | |
child: { | |
command: "node_modules/casperjs/bin/casperjs.exe", | |
transport: 'http' | |
}, | |
casper: { | |
logLevel: 'debug', | |
verbose: true |
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 UnityEngine; | |
using System.Collections; | |
using UnityEngine.EventSystems; | |
public class AAAnimationStartScript : MonoBehaviour, IPointerEnterHandler { | |
private AAObjectManager _script; | |
private bool _singleFlg = true; | |
public void Start(){ |
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
$ ./slack_alert.sh output.log |
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
% ./wish.sh 今日も一日がんばるぞい | |
┏┷┓ | |
┃今┃ | |
┃日┃ | |
┃も┃ | |
┃一┃ | |
┃日┃ | |
┃が┃ | |
┃ん┃ | |
┃ば┃ |