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
*** bacula.spec 2013-09-17 12:58:53.211497049 +0000 | |
--- bacula.spec.patch 2013-09-17 12:58:40.684052443 +0000 | |
*************** | |
*** 355,360 **** | |
--- 355,363 ---- | |
%define mdv 0 | |
%{?build_mdv:%define mdv 1} | |
%{?build_mdv:%define mdk 1} | |
+ # Amazon Linux AMI | |
+ %define alami 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
# | |
# Cookbook Name:: install-private-CA-certificate | |
# Recipe:: default | |
# | |
# Copyright 2013, YOUR_COMPANY_NAME | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
# 自己認証局のルート証明書 |
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 | |
# | |
# Init file for daemonized Skype service | |
# | |
### BEGIN INIT INFO | |
# Provides: skype | |
# Required-Start: $local_fs $remote_fs $network | |
# Required-Stop: $local_fs $remote_fs $network | |
# Default-Start: 3 4 5 | |
# Default-Stop: 0 1 2 6 |
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
Sample | |
====== | |
- test1 | |
- test2 |
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
SERVICE_ACCOUNT_EMAIL = '<service_account_email>' | |
SERVICE_ACCOUNT_KEY_FILE = __dirname + '/googleapi-privatekey.pem' | |
google = require 'googleapis' | |
moment = require 'moment' | |
year=2015 | |
month=3 # 月は0始まり (3=4月) | |
m = moment {'year': year, 'month': month} |
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 | |
RUN apt-get update | |
RUN apt-get install -y git curl build-essential | |
RUN apt-get upgrade -y && rm -rf /var/lib/apt/lists/* | |
ENV HOME /root | |
ENV ANYENV_HOME $HOME/.anyenv | |
ENV ANYENV_ENV $ANYENV_HOME/envs | |
RUN git clone https://github.com/riywo/anyenv $ANYENV_HOME |
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
web: | |
image: corbinu/docker-phpmyadmin | |
ports: | |
- "80:80" | |
links: | |
- mysql:mysql | |
environment: | |
MYSQL_USERNAME: root | |
mysql: |
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 httpd:2.4 | |
# prepare | |
RUN apt-get update | |
RUN apt-get -y install ruby wget git | |
# install gyazo | |
RUN install -d -m 755 -g daemon -o daemon /usr/local/apache2/htdocs/data | |
RUN install -d -m 755 -g daemon -o daemon /usr/local/apache2/htdocs/db | |
RUN wget -O /usr/local/apache2/htdocs/upload.cgi https://raw.githubusercontent.com/gyazo/Gyazo/master/Server/upload.cgi |
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
const DROPBOX_TOKEN = | |
PropertiesService.getScriptProperties().getProperty("DROPBOX_TOKEN"); | |
const CHATWORK_TOKEN = | |
PropertiesService.getScriptProperties().getProperty("CHATWORK_TOKEN"); | |
const ROOM_ID = PropertiesService.getScriptProperties().getProperty("ROOM_ID"); | |
// チャットワークへ送信 | |
function sendChatwork_(record) { | |
const [title, date, from, subject, plainBody, id, shareURLs] = record; |
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 doPost(e: GoogleAppsScript.Events.DoPost): void { | |
// Chatwork APIトークン | |
const token = "<Chatwork APIトークン>"; | |
// 通知先ルームID | |
const room_id = "<Chatwork ルームID>"; | |
// チャットワークAPI | |
const client = ChatWorkClient.factory({ token: token }); | |
// 通知内容データ |
OlderNewer