- Como ele é criado (scaffold)
- Multiplos componentes raiz no mesmo arquivo
- Fragments (Estados) -> estudar mais
- Nova possibilidade de fugir do Options API (n gostei)
- Beleza já entendi que vo te q aprender esse tal de Composition API
- Novo jeito de acessar os ciclos de vida de um hook
onMounted()
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
| version: '3.8' | |
| services: | |
| monstrously-todolist-scylla1: | |
| image: scylladb/scylla | |
| container_name: monstrously-todolist-scylla1 | |
| command: --smp 1 | |
| environment: | |
| - "SCYLLA_JMX_ADDR=-ja 0.0.0.0" | |
| - "SCYLLA_JMX_REMOTE=-r" |
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
| Vai passando a ROLA DE LULA! COMPARTILHE ATÉ CHEGAR NO CU DE BOLSONARO! | |
| ⭐13 | |
| 13 13 13 | |
| 13 13 13 13 | |
| 13 13 13 13 | |
| 13 13 13 13 | |
| 13 13 13 13 | |
| 13 13 13 13 | |
| 13 13 13 13 |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Document</title> | |
| <link rel="stylesheet" href="https://bootswatch.com/5/pulse/bootstrap.min.css"> | |
| <!-- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" --> |
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
| <?php | |
| namespace App\Services; | |
| use App\Contracts\OAuthServiceContract; | |
| use GuzzleHttp\Client; | |
| use GuzzleHttp\Exception\GuzzleException; | |
| use Illuminate\Support\Facades\Log; |
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
| <?php | |
| // Generated by curl-to-PHP: http://incarnate.github.io/curl-to-php/ | |
| $ch = curl_init(); | |
| $tweetId = $argv[1]; | |
| $uri = 'https://twitter.com/i/api/graphql/MFRcu86F8zXkX7810z6sGA/Retweeters?variables=%7B%22tweetId%22%3A%22' . $tweetId . '%22%2C%22count%22%3A80%2C%22withTweetQuoteCount%22%3Afalse%2C%22includePromotedContent%22%3Atrue%2C%22withSuperFollowsUserFields%22%3Afalse%2C%22withUserResults%22%3Atrue%2C%22withBirdwatchPivots%22%3Afalse%2C%22withReactionsMetadata%22%3Afalse%2C%22withReactionsPerspective%22%3Afalse%2C%22withSuperFollowsTweetFields%22%3Afalse%7D'; | |
| curl_setopt($ch, CURLOPT_URL, $uri); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); |
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 | |
| # só rodar esses 3 comandos no terminal e ser feliz | |
| # atualização bombastica 2021 pode confiar | |
| gsettings set org.gnome.shell.extensions.dash-to-dock dock-fixed false | |
| gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false | |
| gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM |
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
| # get current branch in git repo | |
| function parse_git_branch() { | |
| BRANCH=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'` | |
| if [ ! "${BRANCH}" == "" ] | |
| then | |
| STAT=`parse_git_dirty` | |
| echo "[${BRANCH}${STAT}]" | |
| else | |
| echo "" | |
| fi |
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
| <?php | |
| $db1 = new PDO('mysql:host=localhost;dbname=insertbooking', 'root', '', array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8")); | |
| $db1->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); | |
| $db1->setAttribute(PDO::ATTR_ORACLE_NULLS, PDO::NULL_EMPTY_STRING); | |
| $db2 = new PDO('mysql:host=localhost;dbname=testdb', 'root', '', array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8")); | |
| $db2->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); | |
| $db2->setAttribute(PDO::ATTR_ORACLE_NULLS, PDO::NULL_EMPTY_STRING); |