Using Golang
Golang alternative using webview (modern, simple and lightweigth).
Install
go get github.com/webview/webviewUsing Golang
Golang alternative using webview (modern, simple and lightweigth).
Install
go get github.com/webview/webview| <?php | |
| /** @noinspection ? */ | |
| // PhpUndefinedGotoLabelInspection Undefined goto label | |
| // PhpUndefinedVariableInspection Undefined variable | |
| // PhpUndefinedMethodInspection Undefined method | |
| // PhpUndefinedNamespaceInspection Undefined namespace | |
| // PhpUndefinedClassInspection Undefined class | |
| // PhpUndefinedFunctionInspection Undefined function |
| # if using bash | |
| echo 'export WORKRDIR="$HOME/my/workdir"' >> ~/.bashrc | |
| # if using zsh | |
| echo 'export WORKRDIR="$HOME/my/workdir"' >> ~/.zshrc | |
| # download script | |
| sudo curl https://bit.ly/3G9oEZk --output /bin/script | |
| # permission |
| name: 15-minute-schedule | |
| on: | |
| schedule: | |
| - cron: '*/15 * * * *' | |
| jobs: | |
| cron: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Call your API route | |
| run: | |
| <?php | |
| // File: app/Console/Commands/ServeCommand.php | |
| namespace App\Console\Commands; | |
| use Illuminate\Console\Command; | |
| use Symfony\Component\Console\Input\InputOption; | |
| class ServeCommand extends Command { |
| #!/bin/sh | |
| set -eu | |
| snap list --all | awk '/disabled/{print $1, $3}' | | |
| while read snapname revision; do | |
| sudo snap remove "$snapname" --revision="$revision" | |
| done |
| # Create new from old | |
| git tag new old | |
| # Remove old tag | |
| git tag -d old | |
| # Sync changes from old tag to remote | |
| git push origin :refs/tags/old |
Lembra da Regra de Pareto? O foco tem que estar naqueles 20% de esforço que geram 80% do resultado. No fim das contas, ter tempo é uma mistura de priorização com organização.
Primeiro de tudo, você precisa definir o que é realmente importante. Prioridade é a palavra-chave. Muita gente se perde em mil técnicas de organização, mas não sai do lugar porque não tem foco. Só de ajustar isso, você já ganha tempo, porque naturalmente vai cortar o que não te traz benefício nenhum.
Para priorizar de verdade, seus valores precisam estar bem definidos. Você tem que saber para onde quer ir e como pretende chegar lá.
| <?PHP | |
| // Generates a strong password of N length containing at least one lower case letter, | |
| // one uppercase letter, one digit, and one special character. The remaining characters | |
| // in the password are chosen at random from those four sets. | |
| // | |
| // The available characters in each set are user friendly - there are no ambiguous | |
| // characters such as i, l, 1, o, 0, etc. This, coupled with the $add_dashes option, | |
| // makes it much easier for users to manually type or speak their passwords. | |
| // | |
| // Note: the $add_dashes option will increase the length of the password by |
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |