第1回meetupによせて
初めましての方もそうでない方もこんばんは。
合同会社qumuあらため合同会社テンマド(10mado, LLC)の山岡(@hiro_y)です。
この中にフリーランスの方、どれぐらいいらっしゃるでしょうか。 また、例えば就業後とか週末とか、自宅じゃない作業場所がほしい人は?
'use strict'; | |
const { IncomingWebhook } = require('@slack/client'); | |
const https = require('https'); | |
const moment = require('moment'); | |
async function sendSlackNotification(message) { | |
const url = process.env.SLACK_INCOMING_WEBHOOK_URL; | |
const slackIncomingWebhook = new IncomingWebhook(url); | |
return await slackIncomingWebhook.send({ |
const { IncomingWebhook } = require('@slack/client'); | |
const moment = require('moment'); | |
// SLACK_INCOMING_WEBHOOK_URL と | |
// SECRET_QUERY_TOKEN を環境変数で設定、 | |
// SendGrid の HTTP POST URL には | |
// ?token= で SECRET_QUERY_TOKEN に設定した値を | |
// トリガーのURLに付けたものを設定すること | |
async function sendNotification(message) { |
<?php | |
declare(strict_types=1); | |
namespace Kurumi; | |
use InvalidArgumentException; | |
use LogicException; | |
use Psr\Container\ContainerInterface; | |
use Psr\Http\Message\ResponseInterface; | |
use Psr\Http\Message\ServerRequestInterface; |
source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash | |
alias __git_ps1="git branch 2>/dev/null | grep '*' | sed 's/* \(.*\)/(\1)/'" | |
GIT_PS1_SHOWDIRTYSTATE=true | |
GIT_PS1_SHOWSTASHSTATE=true | |
GIT_PS1_SHOWUNTRACKEDFILES=true | |
GIT_PS1_SHOWUPSTREAM=auto | |
export PS1='\[\033[36m\]\u@\h\[\033[00m\]:\[\033[00m\]\w\[\033[34m\]$(__git_ps1)\[\033[00m\] \$ ' | |
use strict; | |
use warnings; | |
use Cinnamon::DSL; | |
set application => 'myapp'; | |
set repository => '[email protected]:yourname/myapp.git'; | |
role devel => ['aws-myapp-01'], { | |
deploy_to => '/home/ec2-user/apps/myapp-devel', | |
branch => 'master', |
# for 4-inch display (iPhone 5) | |
convert -crop 640x1096+0+40 input.png output.png | |
# for 3.5-inch display (iPhone 4/4S) | |
convert -crop 640x920+0+40 input.png output.png |
{ | |
"require": { | |
"karinto/karinto": "dev-master" | |
} | |
} |
<?php | |
$name = $_FILES['inputname']['name']; | |
if (Normalizer::isNormalized($name, Normalizer::FORM_D)) { | |
$_FILES['inputname']['name'] = Normalizer::normalize($name, Normalizer::FORM_C); | |
} | |
(function($) { | |
$.fn.taphold = function(tapholdCallback, duration) { | |
var timerId; | |
var toClick = true; | |
duration = duration || 720; | |
if (typeof window.ontouchstart !== "undefined" | |
&& typeof tapholdCallback == "function") { | |
$(this).css("webkitTouchCallout", "none"); | |
$(this).on("touchstart", function(e) { | |
e.preventDefault(); |