name: tufte-viz description: | Ideate and critique data visualizations using Edward Tufte's principles from "The Visual Display of Quantitative Information." Use this skill when: (1) Designing new data visualizations or charts (2) Critiquing or improving existing visualizations (3) Reviewing dashboards or reports for graphical integrity (4) Deciding between visualization approaches (5) Reducing chartjunk or improving data-ink ratio (6) Planning small multiples or high-density displays
https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
| gRPC Code | HTTP Status Code |
|---|---|
| OK = 0 | 200 OK |
| CANCELLED = 1 | 499 Client Closed Request |
| UNKNOWN = 2 | 500 Internal Server Error |
| INVALID_ARGUMENT = 3 | 400 Bad Request |
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
| package main | |
| import ( | |
| "fmt" | |
| "github.com/spf13/cobra" | |
| "github.com/spf13/viper" | |
| ) | |
| func main() { |
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
| ○ Unicode: | |
| § Unicode comprises over one million characters divided in 17 different planes (contiguous groups of characters): BMP are mostly everyday characters, Astral, etc. | |
| § Astral characters include emojis but they aren't well supported because they are considered two characters, so regexes that use them may often work in unexpected ways. | |
| § Use the /u flag in ES6 to overcome this. Use it with caution. | |
| ○ El codigo es dato | |
| § Harvard architecutre: code + data in different places | |
| § Von Neuman architecture: code + data in the same place (it won) | |
| ○ Ethereum: | |
| § Ether is the cryptocurrency | |
| § Blockchain: records that store the transactions |
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
| // takes a {} object and returns a FormData object | |
| var objectToFormData = function(obj, form, namespace) { | |
| var fd = form || new FormData(); | |
| var formKey; | |
| for(var property in obj) { | |
| if(obj.hasOwnProperty(property)) { | |
| if(namespace) { |
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
| Puts on glasses: | |
| (•_•) | |
| ( •_•)>⌐■-■ | |
| (⌐■_■) | |
| Takes off glasses ("mother of god..."): | |
| (⌐■_■) | |
| ( •_•)>⌐■-■ |
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
| param($global:RestartRequired=0, | |
| $global:MoreUpdates=0, | |
| $global:MaxCycles=10) | |
| function Check-ContinueRestartOrEnd() { | |
| $RegistryKey = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" | |
| $RegistryEntry = "InstallWindowsUpdates" | |
| switch ($global:RestartRequired) { | |
| 0 { | |
| $prop = (Get-ItemProperty $RegistryKey).$RegistryEntry |