This file contains hidden or 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdLCHc0cLkCXXlRQFt4PW83RCya/1MWVkAHWGF8rN1EqEsXOW49xydpDH25zcdlHKZsnoCx4nIAhu+er96A3EaFKrYxXpdHURjmKYId7Ys+oskytfR/WUzihVA/kT6s7WnOscLThM/CVExF3xgwbCV7uSYc4mcYXJpOXObZ8WfkHHmlW25voyautYtSzQZJtZRQlwbAwwSS/sloXbr82qlESseX7imYTQ+aorPduwQk2klLc+4zR7XkyU9iZCT03xSQxgNCHWvuwzDxC6EP1EJu89goi5w8EQwCEc9brpmDWZrBDrHrVVDTRikFfnkqq3tFKxiy56FvMvpKt6JrCWl [email protected] |
This file contains hidden or 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
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then | |
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" | |
fi | |
export LANGUAGE="en_US.UTF-8" | |
export LC_ALL="en_US.UTF-8" | |
export PATH=$PATH:/Users/spawn00/Library/Android/sdk/platform-tools | |
alias lessc=“~/node_modules/less/bin/lessc” | |
export PATH="$HOME/.anyenv/bin:$PATH" |
This file contains hidden or 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
//Available in nodejs | |
var NodeWebcam = require( "node-webcam" ); | |
//Default options | |
var opts = { | |
//Picture related |
This file contains hidden or 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 'crowi' | |
require 'sinatra' | |
require 'date' | |
client = Crowi::Client.new(base_url: "http://crowi.mlab.im.dendai.ac.jp/", access_token: "HOGE") | |
# Create page | |
post '/create' do | |
page = client.create_page("/日誌/#{Date.today}", params[:markdown]).body['page'] | |
puts page |
This file contains hidden or 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
## 昼勤 | |
### 業務内容 | |
- | |
### 連絡事項 | |
- | |
### 次回の予定 | |
- |
This file contains hidden or 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
## PC更新 | |
### やったこと | |
- | |
### 次回やること | |
- | |
## 基板 | |
### やったこと | |
- |
This file contains hidden or 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
const fs = require('fs'); | |
const plist = require('plist'); | |
const fuzzy = require('fuzzy'); | |
const xml = plist.parse(fs.readFileSync('3PM.xml', 'utf8')) | |
let playlists = [] | |
get_playlist(xml).forEach(song => { | |
playlists.push(`${song['Name']} / ${song['Artist']}`) |
This file contains hidden or 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/sh | |
# dockerをインストール | |
apt-get install -y docker.io | |
# kubeadm kubelet kubectlのインストール | |
apt-get update && apt-get install -y apt-transport-https | |
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list | |
deb http://apt.kubernetes.io/ kubernetes-xenial main |
This file contains hidden or 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
#include <M5Stack.h> | |
int state = LOW; | |
void setup() { | |
// put your setup code here, to run once: | |
M5.begin(); | |
pinMode(GPIO_NUM_10, OUTPUT); | |
pinMode(GPIO_NUM_32, INPUT); | |
This file contains hidden or 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
#include <M5StickC.h> | |
#include <esp8266-google-home-notifier.h> | |
#define BTN_A_PIN 37 | |
#define LED_PIN 10 | |
#define LIGHT_PIN 36 | |
const char *ssid = "Google NestがつながっているWiFiのSSID"; | |
const char *password = "Google NestがつながっているWiFiのパスワード"; | |
GoogleHomeNotifier ghn; | |
const char displayName[] = "Nest"; //Google Home のデバイス名 |