| Size (pt) | Line Height |
|---|---|
| 40 | 1em |
| 56.56 | 1.414 |
| 79.976 | 1.999 |
| 113.086 | 2.827 |
| 159.903 | 3.998 |
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
| Example: | |
| site:nytimes.com ~college "test scores" -SATs 2008…2010 | |
| - site: only searches pages of that site | |
| - ~college – will also search related words, such as 'higher education' or 'university' | |
| - "test scores" – searches for the exact phrase, not each of the words separately | |
| - -SATs – excludes this term from the search | |
| - 2008…2010 – shows all results from within the designated range | |
| [Source](https://twitter.com/MaxCRoser/status/556479678299791360/photo/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
| Tags: #reference #mamp #hosting #server | |
| # Fix for MAMP when MySQL is not starting | |
| If you get the “Error: Could not connect to MySQL server!” notice, here’s a fix: | |
| 1. Quit MAMP | |
| 2. Open the terminal and type: killall -9 mysqld | |
| 3. Restart MAMP | |
| [Source](http://twob.net/journal/fix-for-mamp-mysql/) | |
| --- |
| Shortcut | Action |
|---|---|
| Command-P | Goto Anything - Type part of a file name to open it. Type @ to jump to symbols, # to search within the file, and : to go to a line number. |
| Command-Shift-P | The Command Palette holds infrequently used functionality, like sorting, changing the syntax and changing the indentation settings. |
| Control-G | Goto line |
| Shortcut | Action |
|---|
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"> | |
| <title>BOILERPLATE</title> | |
| <link rel="stylesheet" href="css/styles.css"> | |
| </head> | |
| <body> |
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
| <snippet><content><![CDATA[ | |
| // MOVE TO LINE 1 | |
| import processing.pdf.*; | |
| // PLACE BEFORE CLOSING BRACE IN VOID SETUP() | |
| saveVector(); | |
| noLoop(); | |
| } // CLOSE VOID SETUP() | |
| void draw() { | |
| H.drawStage(); |
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
| <snippet><content><![CDATA[ | |
| // NOTE: set transparent background with H.CLEAR | |
| // PLACE BEFORE CLOSING BRACE IN VOID SETUP() | |
| saveHiRes(1); // define the scale factor | |
| noLoop(); | |
| } // CLOSE VOID SETUP() | |
| void draw() { | |
| H.drawStage(); | |
| } |
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
Show hidden characters
| { | |
| "scope": "source.pde", | |
| "completions": | |
| [ | |
| // push pop matrix | |
| { "trigger": "push|pop|matrix", "contents": "\tpushMatrix();\n\t\ttranslate($1,$2,$3);\n\t\trotateX(radians($4));\n\t\trotateY(radians($5));\n\t\trotateZ(radians($6));\n\n\tpopMatrix();\n" }, | |
| // hello world | |
| { "trigger": "hello|world", "contents": "Hello World!" } | |
| ] | |
| } |
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
| { | |
| "scope": "source.pde", | |
| "completions": | |
| [ | |
| // behaviors | |
| { "trigger": "HAttractor", "contents": "import hype.extended.behavior.HAttractor;" }, | |
| { "trigger": "HAttracted", "contents": "import hype.extended.behavior.HAttractor.HAttracted;" }, | |
| { "trigger": "HAttractionForce", "contents": "import hype.extended.behavior.HAttractor.HAttractionForce;" }, | |
| { "trigger": "HFollow", "contents": "import hype.extended.behavior.HFollow;" }, | |
| { "trigger": "HMagneticField", "contents": "import hype.extended.behavior.HMagneticField;" }, |
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
| <snippet><content><![CDATA[ | |
| ${1:import processing.pdf.*;} | |
| import hype.*; | |
| // ENVIRONMENT VARIABLES ************************************************* | |
| // Screen: 1440×900; Dribbble: 800×600; HD: 1920×1080 or 960×540) | |
| int stageW = 800; | |
| int stageH = 600; | |
| color clrBG = #242424; |
OlderNewer