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
echo "setting aliases..." | |
alias la='ls -alG' | |
##############peco################ | |
alias cdp='cd "$( ls -1d */ | peco )"' | |
alias pecopy='peco|tr -d "\n"|pbcopy' | |
####################git#################### | |
# source /usr/local/etc/bash_completion.d/git-prompt.sh | |
# source /usr/local/etc/bash_completion.d/git-completion.bash |
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
#!/usr/bin/ruby | |
require 'httpclient' | |
require 'json' | |
require 'time' | |
# Bitrise情報 / Bitrise Info | |
TOKEN = 'YOUR_TOKEN_HERE' | |
APPS = { 'Your App Name' => 'App Slug', 'Another App Name' => 'Another App Slug' } |
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
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
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 | |
############################################################# | |
# mp4togif.sh | |
# ======================================== | |
# $ ./mp4togif.sh video_to_convert.mp4 | |
# ======================================== | |
# ffmpeg入ってること前提 | |
# $ brew install ffmpeg | |
# (参考) |
About this codelab
- Last updated 6月 18, 2020
- Written by Hoi Lam (revamping author), Yash Katariya (original author)
このベータ版コードラボではTensorFlow Lite Model MakerとAndroid Studio 4.1 Beta 1以降を使った最新のツールを紹介します。また動作を確認するのに物理的なAndroid端末が必要になります。安定版のコードラボを試したい場合はこちらを参照ください。
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 | |
SCALE="720" | |
fullpath=$1 | |
if [ $fullpath ];then | |
echo $fullpath | |
else | |
echo No file provided | |
exit 1 |
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 | |
DIRECTORY="/sdcard/DCIM/Camera/" | |
SCALE="720" | |
fullpath=$(adb shell exec ls ${DIRECTORY}*.mp4|peco) | |
filename=$(basename -- "$fullpath") | |
extension="${filename##*.}" | |
name="${filename%.*}" | |
adb pull $fullpath . |
NewerOlder