This file contains hidden or 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 'dart:math' as Math; | |
import 'dart:ui'; | |
//import 'package:flutter/foundation.dart'; | |
//import 'package:recorder/util/logger.dart'; | |
import 'package:uuid/uuid.dart'; | |
const _TAG = 'Util'; |
This file contains hidden or 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
./gradlew tasks --all[?1l>[?2004l | |
]2;./gradlew tasks --all]1;./gradlew[0m | |
[2A[1m<[0;32;1;0;39;1m-------------> 0% CONFIGURING [0s][m[35D[1B[1m> root project > Resolve dependencies of :classpath[m[51D[1B[2A[1m<[0;32;1;0;39;1m-------------> 0% CONFIGURING [0s][m[35D[1B[1m> root project > :app[m[0K[21D[1B[2A[1m<[0;32;1;0;39;1m-------------> 0% CONFIGURING [0s][m[35D[1B[1m> root project > :app[m[21D[1B[2A[1m<[0;32;1;0;39;1m-------------> 0% CONFIGURING [0s][m[35D[1B[1m> root project > :app[m[21D[1B[2A[1m<[0;32;1;0;39;1m-------------> 0% CONFIGURING [0s][m[35D[1B[1m> root project > :app[m[21D[1B[2A[1m<[0;32;1;0;39;1m-------------> 0% CONFIGURING [0s][m[35D[1B[1m> root project > :app[m[21D[1B[2A[1m<[0;32;1;0;39;1m-------------> 0% CONFIGURING [0s][m[35D[1B[1m> root project > :app[m[21D[1B[2A[1m<[0;32;1;0;39;1m-------------> 0% CONFIGURING [0s][m[35D[1B[1m> root project > :app[m[21D[1B[2A[0K | |
[1m> Configure project :app[m | |
C |
This file contains hidden or 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
sh -c "mkdir -p ~/.config/; ZSH=~/.config/oh-my-zsh $(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
This file contains hidden or 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
# rclone's log | |
Jun 28 16:12:36 pi2 rclone[499]: Video/Others/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil> | |
Jun 28 16:12:36 pi2 rclone[499]: Video/Others/: Lookup: name="mi_camera" | |
Jun 28 16:12:36 pi2 rclone[499]: Video/Others/: >Lookup: node=Video/Others/mi_camera/, err=<nil> | |
Jun 28 16:12:36 pi2 rclone[499]: Video/Others/mi_camera/: Attr: | |
Jun 28 16:12:36 pi2 rclone[499]: Video/Others/mi_camera/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil> | |
Jun 28 16:12:36 pi2 rclone[499]: Video/Others/mi_camera/: Lookup: name="netease_.swp" | |
Jun 28 16:12:36 pi2 rclone[499]: Video/Others/mi_camera/: >Lookup: node=Video/Others/mi_camera/netease_.swp, err=<nil> |
This file contains hidden or 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 androidx.compose.ui.graphics.Color | |
/** | |
* | |
* google's material design colours from | |
* http://www.google.com/design/spec/style/color.html#color-ui-color-palette | |
* https://gist.github.com/daniellevass/b0b8cfa773488e138037 | |
* | |
*/ |
This file contains hidden or 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 | |
### BEGIN INIT INFO | |
# Provides: zram | |
# Required-Start: $all | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: | |
# Short-Description: your description here | |
### END INIT INFO | |
# |
This file contains hidden or 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 | |
## to get the latest version of this script, see: https://gist.githubusercontent.com/hereisderek/6a2ca0afcc957858d8a465392212edb8/raw/combine.sh | |
## to run this script as a cron task: | |
## * * * * * /usr/bin/wget -qO- https://gist.githubusercontent.com/hereisderek/6a2ca0afcc957858d8a465392212edb8/raw/combine.sh | /bin/bash -s /mnt/xiaomi/xiaomi_camera_videos /mnt/xiaomi/xiaomi_camera_videos/output >/dev/null 2>&1 | |
function example_usage { | |
export your_healthcheck_url="https://hc-ping.com/37174a73-****-****" && wget "${your_healthcheck_url}/start" -T 10 -t 5 -O /dev/null && wget --no-cache 'https://gist.githubusercontent.com/hereisderek/6a2ca0afcc957858d8a465392212edb8/raw/combine.sh' -qO /tmp/combine.sh && chmod a+x /tmp/combine.sh && /tmp/combine.sh && wget "${your_healthcheck_url}" -T 10 -t 5 -O /dev/null | |
} |
OlderNewer