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:english_words/english_words.dart'; | |
import 'package:flutter/material.dart'; | |
class RandomWords extends StatefulWidget { | |
@override | |
RandomWordsState createState() => new RandomWordsState(); | |
} | |
class RandomWordsState extends State<RandomWords> { |
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
public static IWebHostBuilder CreateWebHostBuilder(string[] args) => | |
WebHost.CreateDefaultBuilder(args) | |
.UseStartup<Startup>() | |
.UseUrls("http://localhost:5001/"); |
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
mklink "C:\Users\%username%\AppData\Local\Microsoft\Outlook\bigfile.nst" "D:\anotherfolder\bigfile.nst" |
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'; | |
class DynamicSize { | |
MediaQueryData _mediaQuery; | |
static const double _designWidth = 411; | |
DynamicSize._constructor(); | |
static final DynamicSize instance = DynamicSize._constructor(); |
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
cd C:\PastaQualquer | |
adb shell | |
run-as id-do-seu-app | |
cd databases | |
ls | |
cp nome-do-arquivo.db /sdcard/nome-do-arquivo.db | |
exit | |
exit | |
adb pull /sdcard/nome-do-arquivo.db |
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
git config --global credential.helper cache |
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
git init && | |
git add . && | |
git commit -m "first commit" && | |
git branch -M main && | |
git remote add origin url.git && | |
git push -u origin main |
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
git checkout pull-request-branch | |
git checkout origin/master -- src/main/java/HelloWorld.java | |
git commit -m "revert a modified file from pull request" | |
git push origin pull-request-branch |
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 'export ENV_VAR=12345' >> ~/.zshenv | |
echo $ENV_VAR |
OlderNewer