Skip to content

Instantly share code, notes, and snippets.

View 0x0c's full-sized avatar

Akira MATSUDA 0x0c

View GitHub Profile
@0x0c
0x0c / PrivacyPolicy.md
Last active May 23, 2022 08:26
Privacy Policy TokyoBicycleParkingMap

Privacy Policy

Akira Matsuda built the TokyoBicycleParkingMap app as a Free app. This SERVICE is provided by Akira Matsuda at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at TokyoBicycleParkingMap unless otherwise defined in this Privacy Policy.

BasedOnStyle: WebKit
UseTab: ForIndentation
IndentWidth: 4
TabWidth: 4
PointerBindsToType: false
IndentCaseLabels: true
AllowShortIfStatementsOnASingleLine: false
BinPackArguments: false
BreakBeforeBraces: Custom
BraceWrapping: {
@0x0c
0x0c / gist:bf69c51920ad11ff96387746b75d62ee
Created December 16, 2019 08:16
動画の速度を変えるffmpegのコマンド
`ffmpeg -i out.mp4 -vf setpts=PTS/0.66355 -af atempo=0.66355 out_slow.mp4`
@0x0c
0x0c / gist:148c33ede66b074e0a05b4901c3e06fe
Created December 16, 2019 07:56
動画を横に並べるffmpegのコマンド
`ffmpeg -i in_1.mp4 -i in_2.mp4 -filter_complex hstack out.mp4`
#include <ArduinoJson.h>
DynamicJsonDocument doc(1024);
String inputString = ""; // a String to hold incoming data
bool stringComplete = false; // whether the string is complete
void setup()
{
// initialize serial:
Serial.begin(115200);
@0x0c
0x0c / gist:f000a9a739e2ebd45f78e9b7ad61fccc
Created June 2, 2019 15:58
gitignore for TouchDesigner
# for TouchDesigner
**/Backup/*
*.*.toe
@0x0c
0x0c / gist:792ff00b869aba6d219eb6a0cb0443ab
Created March 23, 2019 16:05
bitriseでrbenvからrubyをインストールする
#!/usr/bin/env bash
echo "ruby: $(ruby -v)"
brew update &> /dev/null || brew update &> /dev/null || brew update &> /dev/null
brew install rbenv
eval "$(rbenv init -)"
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
@0x0c
0x0c / gist:7cc777bc1c27cdbcf7a1e629777db1b3
Created February 19, 2019 16:37
Codesigning identifierを確認するコマンド
security find-identity -p codesigning ~/Library/Keychains/login.keychain
BasedOnStyle: WebKit
UseTab: ForIndentation
IndentWidth: 4
TabWidth: 4
PointerBindsToType: false
IndentCaseLabels: true
AllowShortIfStatementsOnASingleLine: false
BinPackArguments: false
BreakBeforeBraces: Custom
BraceWrapping: {
fixed4 frag (v2f i) : SV_Target
{
float p = i.uv[0] * 2.0 * UNITY_PI;
float r = (1.0 - i.uv[1]) * 180.0 / k;
float2 uvdash = float2(cos(p), sin(p)) * r;
float2 new_uv = (uvdash + float2(1.0, 1.0)) * 0.5;
return tex2D(_MainTex, new_uv);
}