Skip to content

Instantly share code, notes, and snippets.

View yoshimana's full-sized avatar

yoshimana yoshimana

View GitHub Profile
@tadyjp
tadyjp / text.md
Last active January 28, 2019 03:55
たった2行のコーディングで、お問い合わせフォームを設置できるサービスを作った

はじめに

formrun (フォームラン)という「急なフォームの設置を依頼されたときに短時間で導入できるお問い合わせフォーム」を作ったので,具体的な利用例のコードを紹介したいと思います。

https://form.run/

対象の読者

  • フォーム設置にストレスを感じたことのあるエンジニア・デザイナー
@kotakanbe
kotakanbe / mohikan_slack_channels.md
Last active October 14, 2023 19:26
モヒカンslack( https://mohikan.slack.com )のチャネルリスト
@maepon
maepon / 20151126.md
Last active September 4, 2018 07:46
「テキスト周りのスタイリングに使えるCSSプロパティやスニペット」のブラウザ対応状況の整理
@taufik-nurrohman
taufik-nurrohman / php-html-css-js-minifier.php
Last active February 23, 2024 04:30
PHP Function to Minify HTML, CSS and JavaScript
<?php
// Based on <https://github.com/mecha-cms/x.minify>
namespace x\minify\_ { // start namespace
$n = __NAMESPACE__;
\define($n . "\\token_boolean", '\b(?:true|false)\b');
\define($n . "\\token_number", '-?(?:(?:\d+)?\.)?\d+');
@yujiod
yujiod / DefaultKeyBinding.dict
Last active April 16, 2023 04:08
Macの英数入力で円記号とバックスラッシュを入れ替える(ATOKにも対応) ~/Library/KeyBindings/DefaultKeyBinding.dict
{
"¥" = ("insertText:", "\\");
"~\\" = ("insertText:", "¥");
}
<?php
error_reporting(1);
require("workflows.php");
// 設定ファイルに登録されたユーザ名を返す
function get_user_name() {
$f = fopen("./user", "r");
return fgets($f);
}
/**
* Google ドキュメントのフォームから投稿があったら確認メールを自動返信する(日本語版)
* English version will be available later.
*
* @author Masunaga Ray ( http://www.msng.info/ )
* @instruction http://www.msng.info/archives/2012/04/google-docs-auto-reply.php
*/
function sendConfirmation() {
try {
var ss = SpreadsheetApp.getActiveSpreadsheet();
@matchy256
matchy256 / rec_radiko.sh
Last active October 31, 2023 08:23 — forked from saiten/rec_radiko.sh
簡易Radiko録音スクリプト
#!/bin/bash
LANG=ja_JP.utf8
pid=$$
date=`date '+%Y-%m-%d-%H_%M'`
outdir="."
if [ $# -le 1 ]; then