Skip to content

Instantly share code, notes, and snippets.

View futabooo's full-sized avatar
:octocat:
Foooooo!!!!!

futabooo futabooo

:octocat:
Foooooo!!!!!
View GitHub Profile
@futabooo
futabooo / main.dart
Created March 20, 2023 13:13
reverberating-clover-5211
void main() async {
final process = () async {
final delayed1 = await delayedNumber(1);
await delayedString('1').then((str) async {
final futures = [
delayedNumber(2),
delayedNumber(3),
delayedNumber(4),
];
await Future.wait(futures);
#!/bin/bash
# Installs AndroidStyle IntelliJ configs into your user configs.
# Reference https://github.com/square/java-code-styles/blob/master/install.sh
echo "Installing AndroidStyle IntelliJ configs..."
for dirs in $HOME/Library/Preferences/IntelliJIdea* \
$HOME/Library/Preferences/IdeaIC* \
$HOME/Library/Preferences/AndroidStudio* \
$HOME/.IntelliJIdea*/config \

ListView And Adapter

@futabooo


What is a ListView?


protected_branches="master develop"
policy='[Policy] Never force push or delete the '$protected_branch' branch! (Prevented with pre-push hook.)'
current_branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
push_command=$(ps -ocommand= -p $PPID)
is_destructive='force|delete|\-f'
cp -f /usr/local/Cellar/ricty/3.2.4/share/fonts/Ricty*.ttf ~/Library/Fonts/
fc-cache -vf
@futabooo
futabooo / create_folder.sh
Created November 19, 2014 15:26
Android端末の中に内容が同じで名前だけ違うフォルダ200個作る
#!/bin/sh
i=0
while [ $i -ne 200 ]
do
i=$(( i+1 ))
cp -r /mnt/shell/emulated/0/0 /mnt/shell/emulated/0/$i
done
#!/bin/bash
PACKAGENAME=$1
DBNAME=$2
adb -d shell "run-as $PACKAGENAME cat /data/data/$PACKAGENAME/databases/$DBNAME > /sdcard/output.db"
adb pull /sdcard/output.db
{
"draw_white_space": "all",
"font_face": "Ricty",
"font_size": 14,
"ignored_packages":
[
"Vintage"
],
"open_files_in_new_window": false,
"scroll_past_end": true,