windhamdavid 2 years ago
parent
commit
1f560b9934
21 changed files with 197 additions and 35 deletions
  1. 20 13
      Summary.md
  2. 25 22
      book.json
  3. 1 0
      help.md
  4. 3 0
      host/_host.md
  5. 0 0
      host/gogs.md
  6. 0 0
      lang/js/_js.md
  7. 0 0
      lang/js/js_awesome.md
  8. 0 0
      lang/js/js_babel.md
  9. 9 0
      lang/js/js_react.md
  10. 4 0
      lang/js/js_react_native.md
  11. 0 0
      lang/js/js_style.md
  12. 6 0
      lang/npm.md
  13. 1 0
      package.json
  14. 0 0
      server/_servers.md
  15. 0 0
      server/apache.md
  16. 0 0
      server/iptables.md
  17. 0 0
      server/letsencrypt.md
  18. 0 0
      server/nginx.md
  19. 0 0
      server/ubuntu.md
  20. 111 0
      software/sketch.md
  21. 17 0
      til.md

+ 20 - 13
Summary.md

@@ -1,6 +1,9 @@
 #### About
 * [Introduction](Readme.md)
-* [Help](help.md) 
+* [Help](help.md)
+
+#### TIL
+* [Today I Learned](til.md)
 
 #### Art
 
@@ -13,23 +16,27 @@
 	* [Zsh](editors/zsh.md)
 * [Language](lang/_lang.md)
 	* [Git](lang/git.md)
-	* [JS](lang/js.md)
-		* [JS Style](lang/js_style.md)
-		* [JS Aweseome](lang/js_awesome.md)
+	* [JS](lang/js/_js.md)
+		* [JS Style](lang/js/js_style.md)
+		* [JS Aweseome](lang/js/js_awesome.md)
 		* [Node.js](lang/nodejs.md)
 			* [node awesome](lang/node_awesome.md)
 			* [npm](lang/npm.md)
-* [Server](servers/_servers.md)
-	* [Ubuntu](servers/ubuntu.md)
-	* [Apache](servers/apache.md)
-	* [Nginx](servers/nginx.md)
-	* [iptables](servers/iptables.md)
-	* [letsencrypt](servers/letsencrypt.md)
-* [Software](software/_software.md)
-	* [Adobe](software/adobe.md)
-	* [Gogs](software/gogs.md)
+		* [React](lang/js/js_react.md)
+		* [React Native](lang/js/js_react_native.md)
+* [Server](server/_servers.md)
+	* [Apache](server/apache.md)
+		* [iptables](server/iptables.md)
+		* [Letsencrypt](server/letsencrypt.md)
+	* [Ubuntu](server/ubuntu.md)
+	* [Nginx](server/nginx.md)
+* [Hosted](host/_host.md)
+	* [Gogs](host/gogs.md)
 * [SasS](saas/_saas.md)
 	* [Stripe](saas/stripe.md)
+* [Software](software/_software.md)
+	* [Adobe](software/adobe.md)
+	* [Sketch](software/sketch.md)
 * [Database](db/_db.md)
 	* [MongoDB](db/mongodb.md)
 		* [Ubuntu](db/ubuntu-mongo.md)

+ 25 - 22
book.json

@@ -1,34 +1,37 @@
 {   
-    "title": "Today I Learned",
-    "author": "David A. Windham",
-    "plugins": [
-		 "piwik",
-		 "video",
-		 "ace",
-		 "toggle-chapters",
-		 "toggle-headers"
-	 ],
-	 "search": {
-	         "maxIndexSize": 1000000000
-	     },
-    "pluginsConfig": {
-        "piwik": {
-        	"URL": "davidawindham.com/wik/",
-        "siteId": 1
-        }
-    },
+	"title": "Today I Learned",
+	"author": "David A. Windham",
+	"plugins": [
+		"piwik",
+		"video",
+		"ace",
+		"toggle-chapters",
+		"toggle-headers",
+		"-lunr",
+		"-search",
+		"search-plus"
+	],
+	"search": {
+		"maxIndexSize": 1000000000
+	},
+	"pluginsConfig": {
+		"piwik": {
+			"URL": "davidawindham.com/wik/",
+			"siteId": 1
+		}
+	},
 	"links": {
 		"sharing": {
 			"google": false,
 			"facebook": false,
 			"twitter": false,
 			"all": false
-			},
+		},
 		"sidebar": {
 			"David A. Windham": "https://davidawindham.com"
 		}
 	},
-    "styles": {
-        "website": "styles/website.css"
-    }
+	"styles": {
+	"website": "styles/website.css"
+	}
 }

+ 1 - 0
help.md

@@ -21,6 +21,7 @@ http://localhost:4000/
 ### Markdown:
 
 [Markdown Cheatsheet from Github](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet)
+[Markdown Cheatsheet](https://gist.github.com/jonschlinkert/5854601)
 
 ### Code:
 #### Piwik Plugin

+ 3 - 0
host/_host.md

@@ -0,0 +1,3 @@
+# Hosted Applications
+
+* [Gogs](gogs.md)

software/gogs.md → host/gogs.md


lang/js.md → lang/js/_js.md


lang/js_awesome.md → lang/js/js_awesome.md


servers/apache.md → lang/js/js_babel.md


+ 9 - 0
lang/js/js_react.md

@@ -0,0 +1,9 @@
+#React
+
+[https://github.com/facebook/react](https://github.com/facebook/react)
+[http://facebook.github.io/react-native/docs/](http://facebook.github.io/react-native/docs/)
+
+[https://github.com/reactjs/redux](https://github.com/reactjs/redux)
+[https://github.com/reactjs/react-redux](https://github.com/reactjs/react-redux)
+[https://github.com/facebook/react/tree/master/packages/react-dom](https://github.com/facebook/react/tree/master/packages/react-dom)
+[https://github.com/ReactTraining/react-router](https://github.com/ReactTraining/react-router)

+ 4 - 0
lang/js/js_react_native.md

@@ -0,0 +1,4 @@
+# React Native 
+
+[https://github.com/facebook/react-native](https://github.com/facebook/react-native)
+[https://facebook.github.io/react/docs/](https://facebook.github.io/react/docs/)

lang/js_style.md → lang/js/js_style.md


+ 6 - 0
lang/npm.md

@@ -7,4 +7,10 @@
 //Listing globally installed NPM packages and version
 npm list -g --depth=0
 
+//find outdated packages
+npm outdated
+
+//use npm-check
+npm-check
+
 ```

+ 1 - 0
package.json

@@ -8,6 +8,7 @@
     "gitbook-plugin-anchors": "^0.7.1",
     "gitbook-plugin-github-embed": "^1.1.2",
     "gitbook-plugin-piwik": "^0.2.1",
+    "gitbook-plugin-search-plus": "^1.0.4-alpha-3",
     "gitbook-plugin-toggle-chapters": "0.0.3",
     "gitbook-plugin-toggle-headers": "^0.1.0",
     "gitbook-plugin-video": "0.0.3"

servers/_servers.md → server/_servers.md


+ 0 - 0
server/apache.md


servers/iptables.md → server/iptables.md


servers/letsencrypt.md → server/letsencrypt.md


servers/nginx.md → server/nginx.md


servers/ubuntu.md → server/ubuntu.md


+ 111 - 0
software/sketch.md

@@ -0,0 +1,111 @@
+# Sketch
+
+# Sketch Keyboard Shortcuts
+
+### Application
+
+| Shortcut | Description |
+| -------- | ----------- |
+| <kbd>⌘</kbd> <kbd>,</kbd> | Preferences |
+| <kbd>⌘</kbd> <kbd>H</kbd> | Hide Sketch |
+| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>H</kbd> | Hide Others |
+| <kbd>⌘</kbd> <kbd>Q</kbd> | Quit Sketch |
+| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>Q</kbd> | Quit and Close All Windows |
+
+### Layers
+
+| Shortcut | Description |
+| -------- | ----------- |
+| <kbd>Tab</kbd> / <kbd>⇧</kbd> <kbd>Tab</kbd> | Cycle Through Layers in the Current Group |
+| <kbd>⌘</kbd> <kbd>R</kbd> | Rename Current Layer/Group |
+| <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>H</kbd> | Hide/Show Layer/Group |
+| <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>L</kbd> | Lock/Unlock Layer/Group |
+| <kbd>⏎</kbd> | Enter Group |
+| <kbd>Escape</kbd> | Collapse Current Group |
+
+### General
+
+| Shortcut | Description |
+| -------- | ----------- |
+| <kbd>Space</kbd> | Hand Tool |
+| <kbd>Z</kbd> | Zoom Tool |
+| <kbd>Escape</kbd> | Exit Current Tool |
+| <kbd>⌘</kbd> <kbd>2</kbd> | Zoom to Selected Layers |
+| <kbd>⌘</kbd> <kbd>3</kbd> | Scroll to Selected Layers |
+
+
+
+### File
+
+| Shortcut | Description |
+| -------- | ----------- |
+| <kbd>⌘</kbd> <kbd>N</kbd> | New |
+| <kbd>⌘</kbd> <kbd>O</kbd> | Open |
+| <kbd>⌘</kbd> <kbd>W</kbd> | Close |
+| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>W</kbd> | Close All |
+| <kbd>⌘</kbd> <kbd>S</kbd> | Save |
+| <kbd>⌥</kbd> <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>S</kbd> | Save As |
+| <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>S</kbd> | Duplicate |
+| <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>E</kbd> | Export |
+| <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>P</kbd> | Page Setup |
+
+### Edit
+
+| Shortcut | Description |
+| -------- | ----------- |
+| <kbd>⌘</kbd> <kbd>Z</kbd> | Undo |
+| <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>Z</kbd> | Redo |
+| <kbd>⌘</kbd> <kbd>X</kbd> | Cut |
+| <kbd>⌘</kbd> <kbd>C</kbd> | Copy |
+| <kbd>⌘</kbd> <kbd>V</kbd> | Paste |
+| <kbd>⌘</kbd> <kbd>D</kbd> | Duplicate |
+| <kbd>⌘</kbd> <kbd>A</kbd> | Select All |
+| <kbd>⌘</kbd> <kbd>:</kbd> | Show Spelling and Grammar |
+| <kbd>⏎</kbd> | Edit Currently Selected Layer |
+| <kbd>⌃</kbd> <kbd>C</kbd>  | Clone colour |
+
+### Insert
+
+| Shortcut | Description |
+| -------- | ----------- |
+| <kbd>V</kbd> | Vector |
+| <kbd>P</kbd> | Pencil |
+| <kbd>L</kbd> | Line |
+| <kbd>R</kbd> | Rectangle |
+| <kbd>O</kbd> | Oval |
+| <kbd>U</kbd> | Rounded Rectangle |
+| <kbd>T</kbd> | Text |
+
+### Format
+
+| Shortcut | Description |
+| -------- | ----------- |
+| <kbd>⌘</kbd> <kbd>B</kbd> | Bold |
+| <kbd>⌘</kbd> <kbd>I</kbd> | Italic |
+| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>=</kbd> | Bigger |
+| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>-</kbd> | Smaller |
+
+### Arrange
+
+| Shortcut | Description |
+| -------- | ----------- |
+| <kbd>⌘</kbd> <kbd>F</kbd> | Find Layer |
+
+### View
+
+| Shortcut | Description |
+| -------- | ----------- |
+| <kbd>⌘</kbd> <kbd>+</kbd> | Zoom In |
+| <kbd>⌘</kbd> <kbd>-</kbd> | Zoom Out |
+| <kbd>⌘</kbd> <kbd>0</kbd> | Actual Size |
+| <kbd>⌘</kbd> <kbd>1</kbd> | Center Canvas |
+| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>1</kbd> | Toggle Layers List |
+| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>2</kbd> | Toggle Inspector |
+| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>3</kbd> | Toggle Layers and Inspector |
+| <kbd>⌃</kbd> <kbd>R</kbd> | Toggle Rulers |
+| <kbd>⌃</kbd> <kbd>G</kbd> | Toggle Grid |
+| <kbd>⌃</kbd> <kbd>P</kbd> | Toggle Pixels |
+| <kbd>⌃</kbd> <kbd>L</kbd> | Toggle Layer Guides |
+| <kbd>⌃</kbd> <kbd>H</kbd> | Toggle Selection Handles |
+| <kbd>⌥</kbd> <kbd>⌘</kbd> <kbd>T</kbd> | Toggle Toolbar |
+| <kbd>⌃</kbd> <kbd>⌘</kbd> <kbd>F</kbd> | Enter Full Screen |

+ 17 - 0
til.md

@@ -0,0 +1,17 @@
+#TIL (Today I Learned)
+
+* May 2017
+	* [Getting Started - Yarn package manager](https://yarnpkg.com/en/docs/getting-started)
+	* [How Flexbox works — explained with big, colorful, animated gifs](https://medium.freecodecamp.com/an-animated-guide-to-flexbox-d280cf6afc35)
+	* [React Native Animation Book](https://github.com/browniefed/react-native-animation-book)
+	* [Integrating Nuxt into your Feathers application](https://blog.feathersjs.com/ssr-vuejs-app-with-feathers-and-nuxt-bb7dfd3e6397)
+	* [Gitbook Search any character](https://github.com/lwdgit/gitbook-plugin-search-plus)
+	* [NeDB - Javascript Database](https://github.com/louischatriot/nedb)
+	* [rollup.js](https://rollupjs.org/)
+		* [Webpack and Rollup: the same but different](https://medium.com/webpack/webpack-and-rollup-the-same-but-different-a41ad427058c)
+	* [Nuxt.js](https://nuxtjs.org/)
+	* [Psychological JuJitsu - Card game](http://www.icynic.com/~don/psych.html)
+* April 2017
+	* [JavaScript Start-up Performance - Addy Osmani](https://medium.com/reloading/javascript-start-up-performance-69200f43b201)
+	* [Upgrading Ele.me to Progressive Web App](https://medium.com/elemefe/upgrading-ele-me-to-progressive-web-app-2a446832e509)
+	* [Introducing Create React Native App](https://github.com/react-community/create-react-native-app)