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
| [ | |
| { | |
| "name": "Admin LATAM", | |
| "url": "google.com" | |
| } | |
| ] |
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
| dashboard "Food": | |
| - h1 text: Food | |
| - h2 text: By caloric content | |
| - 3 columns: | |
| - rows: | |
| - h3 text: Bananas | |
| - pie chart: { | |
| "columns": [ | |
| ["Protein", 5], ["Sugar", 10], ["Other carbs", 40], ["Fat", 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
| two queries | |
| db.getCollection('companies').find({ cnpj: "12376158000190" }) //getObjectId | |
| db.getCollection('suppliers').find({ company: ObjectId("588a7319abaf2b000f4181b4") }) |
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
| How fork works | |
| [ 1 = Original Project ] | |
| [ 2 = Forked Project ] | |
| 1 - 2 - Desc | |
| | | |
| |\ | |
| | \ <- Here init a fork | |
| | | |
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
| # Start/ Stop volume | |
| amixer set Master toggle |
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
| # - - ( On debian ) | |
| # This script resolve the font case DeLaY by use capslock | |
| ## Font: https://ubuntuforums.org/showthread.php?t=1462333&page=3&p=12328951#post12328951 | |
| # Run: | |
| xkbcomp -xkb $DISPLAY /home/$(whoami)/myxkbmap | |
| # Open for edit the generated file, like: | |
| sudo vim /home/$(whoami)/myxkbmap |
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
| ### | |
| # Create a bootable pendrive from command line | |
| ## | |
| diskutil list | |
| diskutil unmountDisk /dev/diskN | |
| sudo dd if=/path/to/image.iso of=/dev/rdiskN bs=4k |
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
| # Windows | |
| C:\Users\[yourusername]\AppData\Local\Google\Chrome\User Data\Default | |
| # Mac OS | |
| /Users/[yourusername]/Library/Application Support/Google/Chrome/Default | |
| ## File: Login Data | |
| ## Open with any sqLite viewer | |
| ## Login and Passwords can be searched on "logins" table |
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
| # Dockerfile build | |
| ## Min Command: | |
| docker build ./ && docker create --name [container_name] -it $(docker images | awk '{print $3}' | awk 'NR==2 {print; exit}') bash && docker start [container_name] && docker exec -it [container_name] bash | |
| ## Instruction | |
| docker build ./ && # Build image from Dockerfile ## <- [START CREATION] | |
| docker create --name [container_name] -it $(docker images | awk '{print $3}' | awk 'NR==2 {print; exit}') bash && # Create new container, replace "[container_name]" by container name (Really?) | |
| docker start [container_name] && # Start Container | |
| docker exec -it [container_name] bash # Access created container |
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
| yum list installed |
NewerOlder