Permalink
Browse files

adding p5 directory to new site

  • Loading branch information...
1 parent 7b271fa commit 1b5dcc7c727b616d234e8cd7927aac47a5c8af62 Scott Wooden committed Mar 21, 2016
Showing with 198 additions and 20 deletions.
  1. BIN .sass-cache/bd6da374169d0f603ff6ddcbeb400283a93f0394/_layout.scssc
  2. +1 −1 _includes/header.html
  3. +5 −3 _layouts/post.html
  4. +34 −7 _sass/_layout.scss
  5. +139 −0 css/prism.css
  6. +12 −8 index.html
  7. +6 −0 js/prism.js
  8. BIN {archived → }/p5/Email.zip
  9. 0 {archived → }/p5/asterisk/index.md
  10. BIN {archived → }/p5/axes.jpg
  11. 0 {archived → }/p5/babble-applet/index.md
  12. 0 {archived/p5/creativejs/13_multi_finger_touch → p5/creativejs/10_touchX_touchY}/index.html
  13. 0 {archived → }/p5/creativejs/10_touchX_touchY/sketch.js
  14. 0 {archived → }/p5/creativejs/11_touch_events/index.html
  15. 0 {archived → }/p5/creativejs/11_touch_events/sketch.js
  16. 0 {archived → }/p5/creativejs/12_mouse_touch/index.html
  17. 0 {archived → }/p5/creativejs/12_mouse_touch/sketch.js
  18. 0 {archived/p5/creativejs/10_touchX_touchY → p5/creativejs/13_multi_finger_touch}/index.html
  19. 0 {archived → }/p5/creativejs/13_multi_finger_touch/sketch.js
  20. 0 {archived/p5/creativejs/hammerjs_instance → p5/creativejs/20_hammerjs_doubletap}/hammer.js
  21. 0 {archived/p5/creativejs/21_hammerjs_tap_hold → p5/creativejs/20_hammerjs_doubletap}/index.html
  22. 0 {archived → }/p5/creativejs/20_hammerjs_doubletap/sketch.js
  23. 0 {archived → }/p5/creativejs/20_hammerjs_doubletap/style.css
  24. 0 {archived/p5/creativejs/24_hammerjs_swipe → p5/creativejs/21_hammerjs_tap_hold}/hammer.js
  25. 0 {archived/p5/creativejs/20_hammerjs_doubletap → p5/creativejs/21_hammerjs_tap_hold}/index.html
  26. 0 {archived → }/p5/creativejs/21_hammerjs_tap_hold/sketch.js
  27. 0 {archived/p5/creativejs/hammerjs_instance → p5/creativejs/21_hammerjs_tap_hold}/style.css
  28. 0 ...ed/p5/creativejs/23_hammerjs_swipe_directions → p5/creativejs/22_hammerjs_pinch_rotate}/hammer.js
  29. 0 {archived → }/p5/creativejs/22_hammerjs_pinch_rotate/index.html
  30. 0 {archived → }/p5/creativejs/22_hammerjs_pinch_rotate/sketch.js
  31. 0 ...ed/p5/creativejs/22_hammerjs_pinch_rotate → p5/creativejs/23_hammerjs_swipe_directions}/hammer.js
  32. 0 {archived/p5/creativejs/hammerjs_instance → p5/creativejs/23_hammerjs_swipe_directions}/index.html
  33. 0 {archived → }/p5/creativejs/23_hammerjs_swipe_directions/sketch.js
  34. 0 {archived → }/p5/creativejs/23_hammerjs_swipe_directions/style.css
  35. 0 {archived/p5/creativejs/21_hammerjs_tap_hold → p5/creativejs/24_hammerjs_swipe}/hammer.js
  36. 0 {archived → }/p5/creativejs/24_hammerjs_swipe/index.html
  37. 0 {archived → }/p5/creativejs/24_hammerjs_swipe/sketch.js
  38. 0 {archived/p5/creativejs/20_hammerjs_doubletap → p5/creativejs/hammerjs_instance}/hammer.js
  39. 0 {archived/p5/creativejs/23_hammerjs_swipe_directions → p5/creativejs/hammerjs_instance}/index.html
  40. 0 {archived → }/p5/creativejs/hammerjs_instance/sketch.js
  41. 0 {archived/p5/creativejs/21_hammerjs_tap_hold → p5/creativejs/hammerjs_instance}/style.css
  42. 0 {archived → }/p5/creativejs/index.html
  43. 0 {archived → }/p5/creativejs/p5.js
  44. 0 {archived → }/p5/examples/learningprocessing2.txt
  45. BIN {archived → }/p5/examples/learningprocessing2.zip
  46. 0 {archived → }/p5/examples/natureofcode.txt
  47. BIN {archived → }/p5/examples/natureofcode.zip
  48. BIN {archived → }/p5/image_streaming.zip
  49. +1 −1 {archived → }/p5/kinect/index.md
  50. 0 {archived → }/p5/kinect/reference/allclasses-frame.html
  51. 0 {archived → }/p5/kinect/reference/allclasses-noframe.html
  52. 0 {archived → }/p5/kinect/reference/constant-values.html
  53. 0 {archived → }/p5/kinect/reference/deprecated-list.html
  54. 0 {archived → }/p5/kinect/reference/help-doc.html
  55. 0 {archived → }/p5/kinect/reference/index-all.html
  56. 0 {archived → }/p5/kinect/reference/index.html
  57. 0 {archived → }/p5/kinect/reference/org/openkinect/processing/Kinect.html
  58. 0 {archived → }/p5/kinect/reference/org/openkinect/processing/package-frame.html
  59. 0 {archived → }/p5/kinect/reference/org/openkinect/processing/package-summary.html
  60. 0 {archived → }/p5/kinect/reference/org/openkinect/processing/package-tree.html
  61. 0 {archived → }/p5/kinect/reference/overview-tree.html
  62. 0 {archived → }/p5/kinect/reference/package-list
  63. BIN {archived/p5/mpefiles → p5/kinect}/reference/resources/inherit.gif
  64. 0 {archived → }/p5/kinect/reference/stylesheet.css
  65. 0 {archived → }/p5/libraries/box2d_processing/box2d_processing.txt
  66. BIN {archived → }/p5/libraries/box2d_processing/box2d_processing.zip
  67. 0 {archived → }/p5/libraries/httprequests_processing/httprequests_processing.txt
  68. BIN {archived → }/p5/libraries/httprequests_processing/httprequests_processing.zip
  69. 0 {archived → }/p5/libraries/mpe/mpe.txt
  70. BIN {archived → }/p5/libraries/mpe/mpe.zip
  71. 0 {archived → }/p5/libraries/openkinect_processing/openkinect_processing.txt
  72. BIN {archived → }/p5/libraries/openkinect_processing/openkinect_processing.zip
  73. 0 {archived → }/p5/libraries/qrcode/qrcodeprocessing.txt
  74. BIN {archived → }/p5/libraries/qrcode/qrcodeprocessing.zip
  75. 0 {archived → }/p5/libraries/rekognition_processing/rekognition_processing.txt
  76. BIN {archived → }/p5/libraries/rekognition_processing/rekognition_processing.zip
  77. 0 {archived → }/p5/libraries/sftp/sftp.txt
  78. BIN {archived → }/p5/libraries/sftp/sftp.zip
  79. 0 {archived → }/p5/libraries/sms/sms.txt
  80. BIN {archived → }/p5/libraries/sms/sms.zip
  81. 0 {archived → }/p5/mpefiles/ballbouncer/Ball.pde
  82. BIN {archived → }/p5/mpefiles/ballbouncer/OneScreen.jar
  83. 0 {archived → }/p5/mpefiles/ballbouncer/OneScreen.java
  84. 0 {archived → }/p5/mpefiles/ballbouncer/OneScreen.pde
  85. 0 {archived → }/p5/mpefiles/ballbouncer/index.html
  86. BIN {archived/p5/trilateration2 → p5/mpefiles/ballbouncer}/loading.gif
  87. BIN {archived → }/p5/mpefiles/clients.jpg
  88. BIN {archived → }/p5/mpefiles/images/buildpath.jpg
  89. BIN {archived → }/p5/mpefiles/images/core1.jpg
  90. BIN {archived → }/p5/mpefiles/images/core2.jpg
  91. BIN {archived → }/p5/mpefiles/images/eclipse_project.jpg
  92. BIN {archived → }/p5/mpefiles/images/errors.jpg
  93. BIN {archived → }/p5/mpefiles/images/import.jpg
  94. BIN {archived → }/p5/mpefiles/images/mpe1.jpg
  95. BIN {archived → }/p5/mpefiles/images/mpe2.jpg
  96. BIN {archived → }/p5/mpefiles/images/mpe3.jpg
  97. BIN {archived → }/p5/mpefiles/images/mpe_buildpath1.jpg
  98. BIN {archived → }/p5/mpefiles/images/mpe_buildpath2.jpg
  99. BIN {archived → }/p5/mpefiles/images/svn1.jpg
  100. BIN {archived → }/p5/mpefiles/images/svn2.jpg
  101. BIN {archived → }/p5/mpefiles/images/svn3.jpg
  102. BIN {archived → }/p5/mpefiles/images/svn4.jpg
  103. BIN {archived → }/p5/mpefiles/images/svn5.jpg
  104. 0 {archived → }/p5/mpefiles/reference/allclasses-frame.html
  105. 0 {archived → }/p5/mpefiles/reference/allclasses-noframe.html
  106. 0 {archived → }/p5/mpefiles/reference/constant-values.html
  107. 0 {archived → }/p5/mpefiles/reference/deprecated-list.html
  108. 0 {archived → }/p5/mpefiles/reference/help-doc.html
  109. 0 {archived → }/p5/mpefiles/reference/index-all.html
  110. 0 {archived → }/p5/mpefiles/reference/index.html
  111. 0 {archived → }/p5/mpefiles/reference/mpe/client/TCPClient.html
  112. 0 {archived → }/p5/mpefiles/reference/mpe/client/package-frame.html
  113. 0 {archived → }/p5/mpefiles/reference/mpe/client/package-summary.html
  114. 0 {archived → }/p5/mpefiles/reference/mpe/client/package-tree.html
  115. 0 {archived → }/p5/mpefiles/reference/overview-tree.html
  116. 0 {archived → }/p5/mpefiles/reference/package-list
  117. BIN {archived/p5/kinect → p5/mpefiles}/reference/resources/inherit.gif
  118. 0 {archived → }/p5/mpefiles/reference/stylesheet.css
  119. BIN {archived → }/p5/mpefiles/server.jpg
  120. BIN {archived → }/p5/mpefiles/server.png
  121. BIN {archived → }/p5/mpefiles/sketch-folders.png
  122. BIN {archived → }/p5/newyears/2014/IMG_1108.jpg
  123. BIN {archived → }/p5/newyears/2014/IMG_1140.jpg
  124. BIN {archived → }/p5/newyears/2014/auld.mp3
  125. BIN {archived → }/p5/newyears/2014/auld2.mp3
  126. 0 {archived → }/p5/newyears/2014/dancing_p5/dancing.js
  127. BIN {archived → }/p5/newyears/2014/dancing_p5/data/ehead.png
  128. BIN {archived → }/p5/newyears/2014/dancing_p5/data/elias.psd
  129. BIN {archived → }/p5/newyears/2014/dancing_p5/data/elias2.psd
  130. BIN {archived → }/p5/newyears/2014/dancing_p5/data/ohead.png
  131. BIN {archived → }/p5/newyears/2014/dancing_p5/data/olympia.psd
  132. 0 {archived → }/p5/newyears/2014/dancing_p5/js/p5.dom.js
  133. 0 {archived → }/p5/newyears/2014/dancing_p5/js/p5.js
  134. 0 {archived → }/p5/newyears/2014/dancing_p5/js/p5.min.js
  135. 0 {archived/p5/p5js/input/lib → p5/newyears/2014/dancing_p5/js}/p5.sound.js
  136. 0 {archived → }/p5/newyears/2014/dancing_p5/js/p5.sound.min.js
  137. 0 {archived → }/p5/newyears/2014/dancing_p5/js/processing-1.4.1.min.js
  138. 0 {archived/p5/newyears/2014 → p5/newyears/2014/dancing_p5}/js/processing.js
  139. 0 {archived → }/p5/newyears/2014/dancing_p5/js/toxichelper.js
  140. 0 {archived/p5/newyears/2014 → p5/newyears/2014/dancing_p5}/js/toxiclibs.js
  141. 0 {archived → }/p5/newyears/2014/dancing_p5/part.js
  142. 0 {archived → }/p5/newyears/2014/dancing_p5/particle.js
  143. 0 {archived → }/p5/newyears/2014/dancing_p5/skeleton.js
  144. 0 {archived → }/p5/newyears/2014/dancing_p5/test.html
  145. BIN {archived → }/p5/newyears/2014/ebody.png
  146. BIN {archived → }/p5/newyears/2014/ehead.png
  147. BIN {archived → }/p5/newyears/2014/elarm1.png
  148. BIN {archived → }/p5/newyears/2014/elarm1_.png
  149. BIN {archived → }/p5/newyears/2014/elarm2.png
  150. BIN {archived → }/p5/newyears/2014/erarm2.png
  151. 0 {archived → }/p5/newyears/2014/index.html
  152. 0 {archived/p5/newyears/2014/dancing_p5 → p5/newyears/2014}/js/processing.js
  153. 0 {archived/p5/newyears/2014/dancing_p5 → p5/newyears/2014}/js/toxiclibs.js
  154. BIN {archived → }/p5/newyears/2014/ohead.png
  155. BIN {archived → }/p5/newyears/2014/ohead.psd
  156. 0 {archived → }/p5/p5js/input/index.html
  157. 0 {archived → }/p5/p5js/input/js/sketch.js
  158. 0 {archived → }/p5/p5js/input/lib/p5.dom.js
  159. 0 {archived → }/p5/p5js/input/lib/p5.js
  160. 0 {archived → }/p5/p5js/input/lib/p5.min.js
  161. 0 {archived/p5/newyears/2014/dancing_p5/js → p5/p5js/input/lib}/p5.sound.js
  162. 0 {archived → }/p5/qrcode-processing/index.md
  163. 0 {archived → }/p5/sms/index.md
  164. BIN {archived → }/p5/stick/stick01.png
  165. BIN {archived → }/p5/stick/stick02.png
  166. BIN {archived → }/p5/stick/stick03.png
  167. BIN {archived → }/p5/stick/stick04.png
  168. BIN {archived → }/p5/stick/stick05.png
  169. BIN {archived → }/p5/stick/stick06.png
  170. BIN {archived → }/p5/stick/stick07.png
  171. BIN {archived → }/p5/stick/stick08.png
  172. BIN {archived → }/p5/stick/stick09.png
  173. BIN {archived → }/p5/stick/stick10.png
  174. BIN {archived → }/p5/stick/stick11.png
  175. BIN {archived → }/p5/stick/stick12.png
  176. BIN {archived → }/p5/stick/stick13.png
  177. BIN {archived → }/p5/stick/stick14.png
  178. BIN {archived → }/p5/stick/stick15.png
  179. BIN {archived → }/p5/stick/stick16.png
  180. BIN {archived → }/p5/stick/stick17.png
  181. BIN {archived → }/p5/stick/stick18.png
  182. BIN {archived → }/p5/stick/stick19.png
  183. BIN {archived → }/p5/stick/stick20.png
  184. BIN {archived → }/p5/stick/stick21.png
  185. BIN {archived → }/p5/stick/stick22.png
  186. BIN {archived → }/p5/stick/stick23.png
  187. BIN {archived → }/p5/stick/stick24.png
  188. BIN {archived → }/p5/stick/stick25.png
  189. BIN {archived → }/p5/stick/stick26.png
  190. BIN {archived → }/p5/stick/stick27.png
  191. BIN {archived → }/p5/stick/stick28.png
  192. BIN {archived → }/p5/stick/stick29.png
  193. BIN {archived → }/p5/stick/stick30.png
  194. BIN {archived → }/p5/stick/stick31.png
  195. BIN {archived → }/p5/stick/stick32.png
  196. BIN {archived → }/p5/stick/stick33.png
  197. BIN {archived → }/p5/stick/stick34.png
  198. BIN {archived → }/p5/stick/stick35.png
  199. BIN {archived → }/p5/stick/stick36.png
  200. BIN {archived → }/p5/stick/stick37.png
  201. BIN {archived → }/p5/stick/stick38.png
  202. BIN {archived → }/p5/stick/stick39.png
  203. BIN {archived → }/p5/stick/stick40.png
  204. BIN {archived → }/p5/trilateration.jpg
  205. 0 {archived/p5/trilateration2 → p5/trilateration}/index.html
  206. BIN {archived → }/p5/trilateration/loading.gif
  207. BIN {archived → }/p5/trilateration/trilateration.jar
  208. 0 {archived → }/p5/trilateration/trilateration.java
  209. 0 {archived → }/p5/trilateration/trilateration.pde
  210. 0 {archived/p5/trilateration → p5/trilateration2}/index.html
  211. BIN {archived/p5/mpefiles/ballbouncer → p5/trilateration2}/loading.gif
  212. BIN {archived → }/p5/trilateration2/trilateration.jar
  213. 0 {archived → }/p5/trilateration2/trilateration.java
  214. 0 {archived → }/p5/trilateration2/trilateration.pde
  215. BIN {archived → }/p5/whichface.zip
@@ -18,7 +18,7 @@
</nav>
<div class="logo">
- <span class="nav-btn"><img src="images/nav-btn.svg"/></span>
+ <span class="nav-btn"><img src="/images/nav-btn.svg"/></span>
<!-- <div class="logo-set">
<h2>DANIEL SHIFFMAN</h2>
<span class="intro">Teacher of Code and Programming</span>
View
@@ -1,10 +1,10 @@
---
layout: default
---
+
+<link rel="stylesheet" type="text/css" href="/css/prism.css">
+
<section class="left-container out">
- <div class="logo">
- <span class="nav-btn"><img src="/images/nav-btn.svg"/></span>
- </div>
<div class="content-wrapper article blog">
<span class="line-charm first"></span>
@@ -18,3 +18,5 @@ <h1 class="no-btm">{{ page.title }}</h1>
<section class="right-container article-links out">
</section>
+
+<script src="/js/prism.js"></script>
View
@@ -28,7 +28,7 @@ body, html {
position: relative;
width: 65%;
- padding: 70px 130px 33px 130px;
+ padding: 100px 130px 33px 130px;
margin-left: 0;
opacity: 1;
transition: all 0.6s;
@@ -43,7 +43,7 @@ body, html {
}
&.home {
- padding: 119px 65px 33px 200px;
+ padding: 112px 65px 33px 200px;
}
@media only screen and (max-width: $breakpoint-medium) {
@@ -73,7 +73,7 @@ body, html {
width: 35%;
right: 0;
top: 0;
- min-height: 600px;
+ min-height: 100%;
height: 100%;
transition: all 0.6s;
opacity: 1;
@@ -258,7 +258,7 @@ nav {
span.intro {
display: block;
- font-size: 12px;
+ font-size: 10px;
color: $red;
line-height: 1.5em;
font-family: $lato;
@@ -342,7 +342,7 @@ p {
font-size: 12px;
font-weight: 700;
display: inline-block;
- padding: 5px 0px;
+ padding: 5px 0px 0 0;
margin: 5px 20px 5px 0px;
text-decoration: none;
text-transform: uppercase;
@@ -489,7 +489,7 @@ p {
.email-submit {
display: inline-block;
- padding: 10px 15px 9px 15px;
+ padding: 13px 15px 12px 15px;
background: $red;
border-radius: 0 20px 20px 0;
color: $white;
@@ -516,7 +516,7 @@ p {
padding: 0 110px 0px 40px;
min-height: 250px;
- height: 250px;
+ height: 33%;
position: relative;
@media only screen and (max-width: $breakpoint-medium) {
@@ -719,6 +719,10 @@ p {
font-size: 32px;
}
+ h2 {
+ margin-top: 1.5em;
+ }
+
h3 {
font-size: 18px;
margin-bottom: 20px;
@@ -752,6 +756,29 @@ p {
}
+ ul {
+ margin-bottom: 0.5em;
+ margin-top: 1.2em;
+ padding-left: 30px;
+ margin-left: 15px;
+ border-left: 2px solid #f1f1f1;
+ li {
+ list-style-type: disc;
+ margin-bottom: 1em;
+ a {
+ color: $black;
+ text-decoration: none;
+ border-bottom: 2px solid #f1f1f1;
+
+ &:hover {
+
+ border-bottom: 2px solid $black;
+
+ }
+ }
+ }
+ }
+
}
}
View
@@ -0,0 +1,139 @@
+/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript */
+/**
+ * prism.js default theme for JavaScript, CSS and HTML
+ * Based on dabblet (http://dabblet.com)
+ * @author Lea Verou
+ */
+
+code[class*="language-"],
+pre[class*="language-"] {
+ color: black;
+ background: none;
+ text-shadow: 0 1px white;
+ font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
+ text-align: left;
+ white-space: pre;
+ word-spacing: normal;
+ word-break: normal;
+ word-wrap: normal;
+ line-height: 1.5;
+
+ -moz-tab-size: 4;
+ -o-tab-size: 4;
+ tab-size: 4;
+
+ -webkit-hyphens: none;
+ -moz-hyphens: none;
+ -ms-hyphens: none;
+ hyphens: none;
+}
+
+pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
+code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
+ text-shadow: none;
+ background: #b3d4fc;
+}
+
+pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
+code[class*="language-"]::selection, code[class*="language-"] ::selection {
+ text-shadow: none;
+ background: #b3d4fc;
+}
+
+@media print {
+ code[class*="language-"],
+ pre[class*="language-"] {
+ text-shadow: none;
+ }
+}
+
+/* Code blocks */
+pre[class*="language-"] {
+ padding: 1em;
+ margin: .5em 0;
+ overflow: auto;
+}
+
+:not(pre) > code[class*="language-"],
+pre[class*="language-"] {
+ background: #f5f2f0;
+}
+
+/* Inline code */
+:not(pre) > code[class*="language-"] {
+ padding: .1em;
+ border-radius: .3em;
+ white-space: normal;
+}
+
+.token.comment,
+.token.prolog,
+.token.doctype,
+.token.cdata {
+ color: slategray;
+}
+
+.token.punctuation {
+ color: #999;
+}
+
+.namespace {
+ opacity: .7;
+}
+
+.token.property,
+.token.tag,
+.token.boolean,
+.token.number,
+.token.constant,
+.token.symbol,
+.token.deleted {
+ color: #905;
+}
+
+.token.selector,
+.token.attr-name,
+.token.string,
+.token.char,
+.token.builtin,
+.token.inserted {
+ color: #690;
+}
+
+.token.operator,
+.token.entity,
+.token.url,
+.language-css .token.string,
+.style .token.string {
+ color: #a67f59;
+ background: hsla(0, 0%, 100%, .5);
+}
+
+.token.atrule,
+.token.attr-value,
+.token.keyword {
+ color: #07a;
+}
+
+.token.function {
+ color: #DD4A68;
+}
+
+.token.regex,
+.token.important,
+.token.variable {
+ color: #e90;
+}
+
+.token.important,
+.token.bold {
+ font-weight: bold;
+}
+.token.italic {
+ font-style: italic;
+}
+
+.token.entity {
+ cursor: help;
+}
+
View
@@ -16,8 +16,10 @@
Get notified when Daniel starts a live stream online.
</p>
<div class="form-group home-subscribe">
- <input id="user-email" type="email" class="email-input" placeholder="Your email"/>
- <a href="" class="email-submit">GET UPDATES</a>
+ <form action="//shiffman.us13.list-manage.com/subscribe/post?u=a3b0ca7250524fb6a4ddc769a&amp;id=a204c80fa5" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
+ <input id="user-email" type="email" name="EMAIL" class="email-input" placeholder="Your email"/>
+ <input type="submit" name="subscribe" class="email-submit" value="GET UPDATES">
+ </form>
</div>
</div>
</div>
@@ -28,15 +30,15 @@
<div class="content">
<h1>LEARNING PROCESSING</h1>
<p>Take your first step and find a friend in Code</p>
- <a href="" class="primary">GET THE BOOK</a>
+ <a href="http://www.amazon.com/Learning-Processing-Second-Edition-Programming/dp/0123944430/ref=as_li_ss_tl?ie=UTF8&linkCode=sl1&tag=learniproces-20&linkId=757eff7b49e61c381b17a43c7dec3eee" class="primary">GET THE BOOK</a>
</div>
<img class="book" src="images/book-lp.png" width="131px"/>
</div>
<div class="feature noc">
<div class="content">
<h1>NATURE OF CODE</h1>
<p>Take your first step and find a friend in Code</p>
- <a href="" class="primary">GET THE BOOK</a>
+ <a href="http://www.amazon.com/gp/product/0985930802/ref=as_li_tf_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0985930802&linkCode=as2&tag=natureofcode-20" target="_blank" class="primary">GET THE BOOK</a>
</div>
<img class="book" src="images/book-noc.png" width="131px"/>
</div>
@@ -48,16 +50,18 @@
</div>
<img class="book" src="images/video-thumbnail.png" width="150px"/>
</div>
- <div class="feature livestream">
+ <!-- <div class="feature livestream">
<div class="content">
<h1>LIVE STREAM UPDATES</h1>
<p>Get notified when Daniel starts a live stream online</p>
<div class="form-group">
- <input id="user-email" type="email" class="form" placeholder="Your email"/>
- <a href="#" class="email-btn">GET UPDATES</a>
+ <form action="//shiffman.us13.list-manage.com/subscribe/post?u=a3b0ca7250524fb6a4ddc769a&amp;id=a204c80fa5" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
+ <input id="user-email" type="email" value="" name="EMAIL" class="form" placeholder="Your email"/>
+ <input type="submit" class="email-btn" name="subscribe">GET UPDATES</input>
+ </form>
</div>
</div>
- </div>
+ </div> -->
</section>
<script src="/js/home.js"></script>
View
@@ -0,0 +1,6 @@
+/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript */
+var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\blang(?:uage)?-(\w+)\b/i,t=0,n=_self.Prism={util:{encode:function(e){return e instanceof a?new a(e.type,n.util.encode(e.content),e.alias):"Array"===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function(e){var t=n.util.type(e);switch(t){case"Object":var a={};for(var r in e)e.hasOwnProperty(r)&&(a[r]=n.util.clone(e[r]));return a;case"Array":return e.map&&e.map(function(e){return n.util.clone(e)})}return e}},languages:{extend:function(e,t){var a=n.util.clone(n.languages[e]);for(var r in t)a[r]=t[r];return a},insertBefore:function(e,t,a,r){r=r||n.languages;var l=r[e];if(2==arguments.length){a=arguments[1];for(var i in a)a.hasOwnProperty(i)&&(l[i]=a[i]);return l}var o={};for(var s in l)if(l.hasOwnProperty(s)){if(s==t)for(var i in a)a.hasOwnProperty(i)&&(o[i]=a[i]);o[s]=l[s]}return n.languages.DFS(n.languages,function(t,n){n===r[e]&&t!=e&&(this[t]=o)}),r[e]=o},DFS:function(e,t,a,r){r=r||{};for(var l in e)e.hasOwnProperty(l)&&(t.call(e,l,e[l],a||l),"Object"!==n.util.type(e[l])||r[n.util.objId(e[l])]?"Array"!==n.util.type(e[l])||r[n.util.objId(e[l])]||(r[n.util.objId(e[l])]=!0,n.languages.DFS(e[l],t,l,r)):(r[n.util.objId(e[l])]=!0,n.languages.DFS(e[l],t,null,r)))}},plugins:{},highlightAll:function(e,t){var a={callback:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",a);for(var r,l=a.elements||document.querySelectorAll(a.selector),i=0;r=l[i++];)n.highlightElement(r,e===!0,a.callback)},highlightElement:function(t,a,r){for(var l,i,o=t;o&&!e.test(o.className);)o=o.parentNode;o&&(l=(o.className.match(e)||[,""])[1],i=n.languages[l]),t.className=t.className.replace(e,"").replace(/\s+/g," ")+" language-"+l,o=t.parentNode,/pre/i.test(o.nodeName)&&(o.className=o.className.replace(e,"").replace(/\s+/g," ")+" language-"+l);var s=t.textContent,u={element:t,language:l,grammar:i,code:s};if(!s||!i)return n.hooks.run("complete",u),void 0;if(n.hooks.run("before-highlight",u),a&&_self.Worker){var c=new Worker(n.filename);c.onmessage=function(e){u.highlightedCode=e.data,n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,r&&r.call(u.element),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},c.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else u.highlightedCode=n.highlight(u.code,u.grammar,u.language),n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,r&&r.call(t),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},highlight:function(e,t,r){var l=n.tokenize(e,t);return a.stringify(n.util.encode(l),r)},tokenize:function(e,t){var a=n.Token,r=[e],l=t.rest;if(l){for(var i in l)t[i]=l[i];delete t.rest}e:for(var i in t)if(t.hasOwnProperty(i)&&t[i]){var o=t[i];o="Array"===n.util.type(o)?o:[o];for(var s=0;s<o.length;++s){var u=o[s],c=u.inside,g=!!u.lookbehind,h=!!u.greedy,f=0,d=u.alias;u=u.pattern||u;for(var p=0;p<r.length;p++){var m=r[p];if(r.length>e.length)break e;if(!(m instanceof a)){u.lastIndex=0;var y=u.exec(m),v=1;if(!y&&h&&p!=r.length-1){var b=r[p+1].matchedStr||r[p+1],k=m+b;if(p<r.length-2&&(k+=r[p+2].matchedStr||r[p+2]),u.lastIndex=0,y=u.exec(k),!y)continue;var w=y.index+(g?y[1].length:0);if(w>=m.length)continue;var _=y.index+y[0].length,P=m.length+b.length;if(v=3,P>=_){if(r[p+1].greedy)continue;v=2,k=k.slice(0,P)}m=k}if(y){g&&(f=y[1].length);var w=y.index+f,y=y[0].slice(f),_=w+y.length,S=m.slice(0,w),O=m.slice(_),j=[p,v];S&&j.push(S);var A=new a(i,c?n.tokenize(y,c):y,d,y,h);j.push(A),O&&j.push(O),Array.prototype.splice.apply(r,j)}}}}}return r},hooks:{all:{},add:function(e,t){var a=n.hooks.all;a[e]=a[e]||[],a[e].push(t)},run:function(e,t){var a=n.hooks.all[e];if(a&&a.length)for(var r,l=0;r=a[l++];)r(t)}}},a=n.Token=function(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.matchedStr=a||null,this.greedy=!!r};if(a.stringify=function(e,t,r){if("string"==typeof e)return e;if("Array"===n.util.type(e))return e.map(function(n){return a.stringify(n,t,e)}).join("");var l={type:e.type,content:a.stringify(e.content,t,r),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:r};if("comment"==l.type&&(l.attributes.spellcheck="true"),e.alias){var i="Array"===n.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(l.classes,i)}n.hooks.run("wrap",l);var o="";for(var s in l.attributes)o+=(o?" ":"")+s+'="'+(l.attributes[s]||"")+'"';return"<"+l.tag+' class="'+l.classes.join(" ")+'" '+o+">"+l.content+"</"+l.tag+">"},!_self.document)return _self.addEventListener?(_self.addEventListener("message",function(e){var t=JSON.parse(e.data),a=t.language,r=t.code,l=t.immediateClose;_self.postMessage(n.highlight(r,n.languages[a],a)),l&&_self.close()},!1),_self.Prism):_self.Prism;var r=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return r&&(n.filename=r.src,document.addEventListener&&!r.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",n.highlightAll)),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism);
+Prism.languages.markup={comment:/<!--[\w\W]*?-->/,prolog:/<\?[\w\W]+?\?>/,doctype:/<!DOCTYPE[\w\W]+?>/,cdata:/<!\[CDATA\[[\w\W]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=.$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i,inside:{punctuation:/[=>"']/}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.hooks.add("wrap",function(a){"entity"===a.type&&(a.attributes.title=a.content.replace(/&amp;/,"&"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup;
+Prism.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/(<style[\w\W]*?>)[\w\W]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag));
+Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\w\W]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:{pattern:/(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,"boolean":/\b(true|false)\b/,"function":/[a-z0-9_]+(?=\()/i,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/};
+Prism.languages.javascript=Prism.languages.extend("clike",{keyword:/\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b-?(0x[\dA-Fa-f]+|0b[01]+|0o[0-7]+|\d*\.?\d+([Ee][+-]?\d+)?|NaN|Infinity)\b/,"function":/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\()/i}),Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^\/])\/(?!\/)(\[.+?]|\\.|[^\/\\\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0}}),Prism.languages.insertBefore("javascript","class-name",{"template-string":{pattern:/`(?:\\\\|\\?[^\\])*?`/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/(<script[\w\W]*?>)[\w\W]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:"language-javascript"}}),Prism.languages.js=Prism.languages.javascript;
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,7 +1,7 @@
---
title: Getting Started with Kinect and Processing
author: Daniel
-layout: page
+layout: post
dsq_thread_id:
-
pvc_views:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1b5dcc7

Please sign in to comment.