- [email protected] or twiter:@mustankatti
- ↑だと気付きやすいのでありがたいです 🙏
- お手伝いできることがあれば、お気軽にご相談ください 🙆♀️
業務形態:
#!/bin/bash | |
for kv in $(< $1) | |
do | |
if [[ "$kv" = ^\s*$ ]] || [[ "$kv" =~ ^# ]]; then | |
continue | |
fi | |
export $kv | |
done |
#!/bin/bash | |
set -e | |
# optparse | |
if [ $# -ge 1 ]; then | |
SOURCE_BRANCH=$1 | |
else | |
echo "ERROR: source branch not specified" | |
exit 1 |
#!/bin/sh | |
set -xe | |
if [ $# -eq 0 ]; then | |
echo "usage: <input_mp4>" | |
exit 1 | |
fi | |
f1=$1 |
#!/bin/sh | |
set -eu | |
VERSION="4.10.1" | |
JAR_DIR="/tmp/antlr4" | |
if [ ! -d "$JAR_DIR" ]; then | |
mkdir -p "$JAR_DIR" |
#!/usr/bin/ruby | |
# sample. | |
# { | |
# "q" => 0.00187529, | |
# "j" => 0.00309423, | |
# "z" => 0.00337553, | |
# "x" => 0.00407876, | |
# "v" => 0.0114393, | |
# "w" => 0.0173465, |
業務形態:
#!/bin/sh | |
for f in $(git ls-files | grep '.meta' | grep -v "Assets/Modules/" | egrep '(png|prefab|controller|anim|asset|playable|mp3).meta$') | |
do | |
unity_guid=$(cat "$f" | grep 'guid:' | awk '{print $2}') | |
matches=$(ag -l $unity_guid | wc -l | awk '{print $1}') | |
if [ $matches -eq 1 ]; then | |
echo $f | sed 's|.meta$||g' | |
fi |
#!/bin/sh | |
for f in $(find Assets -type f -name '*.cs' | grep -v Modules); | |
do | |
WIN_LINE_FEED=$(nkf --guess $f | grep "CR") | |
if [ "$WIN_LINE_FEED" != "" ]; then | |
echo $f | |
nkf -Lu --overwrite $f | |
fi |
#!/bin/sh | |
set -ue | |
if [ ! -e $HOME/.umm-config.json ]; then | |
cat <<__CHECK__ | |
ERROR: Cannot find umm-config.json | |
Make sure the file exists on $HOME/.umm-config.json | |
__CHECK__ | |
exit 0 |