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
| [core] | |
| editor = code --wait | |
| ignorecase = true | |
| [core] | |
| excludesfile = ~/.gitignore_global | |
| [pull] | |
| rebase = true | |
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
| theme = "mine" | |
| [editor.soft-wrap] | |
| enable = true | |
| [editor] | |
| # line-number = "relative" | |
| rulers = [72, 80, 100, 120] | |
| "color-modes" = true |
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
| // string literal | |
| let literal: &'static str = "Hello, World"; | |
| // Vec<char>, char is u32, owned and stored on the heap with pointer, length and capacity stored on the stack | |
| let string = String::from("Hello, World"); | |
| // immutable view | |
| let slice = &string[..]; | |
| // Raw |
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
| RewriteLog /usr/local/pem/vhosts/283073/webspace/httpdocs/logs/rewrite_log | |
| RewriteLogLevel 9 | |
| RewriteRule can only apply to REQUEST_URI | |
| RewriteRule pattern target [flags] | |
| if they request the pattern, send them to the target instead | |
| [PT] [passthrough] hands it back to the url mapping phase, treated as though it was the original 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
| jQuery | |
| ====== | |
| [tuts+](https://tutsplus.com/course/30-days-to-learn-jquery/) | |
| Referencing | |
| ----------- | |
| jQuery(selector); | |
| $(selector); |
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
| --Shortcuts | |
| CMD+k: clear window | |
| up/down arrows: Review previous commands (only works in proper shell, changing shells will not allow you to use command from different shell | |
| CTRL+a: Move cursor to start of line | |
| CTRL+e: Move cursor to end of line | |
| OPT+click: Move cursor to click point (Terminal only) | |
| TAB: Try to complete command or file name | |
| TAB+TAB: Show list of possible matches (when tab does't complete) | |
| CMD+~: Cycle between Terminal windows (Terminal Only) |
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
| 1. Regex // History | |
| set of symbols representing a text pattern | |
| formal language interpreted by regex processor | |
| matches text if it correctly describes the text | |
| --engines | |
| C/C++ | |
| Java |
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
| PHP5(.x.x) is located at: | |
| /private/etc/php.ini | |
| --set admin email | |
| --turn display errors on | |
| phpMyAdmin config file: | |
| ~/Sites/phpMyAdmin.config.inc.php | |
| phpMyAdmin session vars: | |
| /private/var/tmp |
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
| [MySQL](http://www.lynda.com/course20/MySQL-tutorials/) | |
| ===== | |
| what is MySQL? | |
| database management system (not an application) | |
| --database server, manages CRUD operations | |
| --client libraries (in order to interact with server) | |
| MySQL is located at: | |
| `$ which mysql`: |
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
| 1. Introducing HTML5 | |
| -- Prior standards | |
| 1995: HTML 2.0 Formalized syntax and many rules that were already being implemented by browsers | |
| 1997: HTML 3.2 Largely ignored by browser manufacturers who began to implement their own tags | |
| 1998: Web standards project Pushed for standards adoption, added weight to W3C recommendations and promoted standards-based browsers | |
| 1999: HTML 4.0 Stabilized the syntax and structure of HTML, became the standard for web authoring | |
| 2000: XHTML 1.0 Designed to move HTML towards XML DTDs often caused it to render as HTML | |
| 2000->2004: Growth of the web High bandwidth connections increase, as does demand for multimedia and applications driven by technologies such as Flash and AJAX. Work on XHTML 2.0 begins (not backwards compatible, never really took off or finished) |