Browse Source

added live hacking session

Harlan Iverson 7 năm trước cách đây
mục cha
commit
5517243156

+ 45 - 0
app/resources/templates/md/posts/2018-03-28-live-hacking-reagent.md

@@ -0,0 +1,45 @@
+{:title "Live Hacking Reagent" 
+ :layout :video
+ :video-yt-id "M4NgTiyettw"
+ :video-yt-additional-ids ["jEllc2ZqBSs"] ; TODO, add to template.
+ :video-description "Live Hacking Reagent - Web Tech"
+}
+
+Building a Reagant (React + ClojureScript) SPA for subscription page. Will incorporate
+RSS feeds and SteemIt login at least, perhaps Passwordless. Should be easily incorporated
+into React Native app.
+
+### Links
+
+* [https://github.com/bhauman/figwheel-template](https://github.com/bhauman/figwheel-template)
+
+* [https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#nsdecl](https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#nsdecl)
+
+* [https://clojuredocs.org/clojure.core/for](https://clojuredocs.org/clojure.core/for)
+
+
+* [http://cljs.info/cheatsheet/](http://cljs.info/cheatsheet/)
+
+
+* [https://cyber.harvard.edu/rss/rss.html](https://cyber.harvard.edu/rss/rss.html)
+
+
+* [https://github.com/r0man/cljs-http/blob/master/src/cljs_http/core.cljs#L41](https://github.com/r0man/cljs-http/blob/master/src/cljs_http/core.cljs#L41)
+
+* [https://stackoverflow.com/a/48988189](https://stackoverflow.com/a/48988189)
+ Just use react-router-dom - react-router-dom re-exports all of react-router. The link on GitHub answer https://github.com/ReactTraining/react-router/issues/4648
+
+
+* [https://github.com/harlanji/tinydatacenter/blob/master/ispooge.com-v2/app/resources/templates/themes/ispooge/js/steem-login.js](https://github.com/harlanji/tinydatacenter/blob/master/ispooge.com-v2/app/resources/templates/themes/ispooge/js/steem-login.js)
+
+* [ https://medium.com/javascript-scene/passwordless-authentication-with-react-and-auth0-c4cb003c7cde]( https://medium.com/javascript-scene/passwordless-authentication-with-react-and-auth0-c4cb003c7cde)
+
+
+* [https://auth0.com/docs/quickstart/spa/react/04-authorization](https://auth0.com/docs/quickstart/spa/react/04-authorization)
+
+
+
+* [https://www.npmjs.com/package/react-router-dom](https://www.npmjs.com/package/react-router-dom)
+
+
+

+ 1 - 3
app/resources/templates/themes/ispooge/html/partials/video-player.html

@@ -28,8 +28,6 @@
 
 {% else %}
 
-Twitch: {{post.video-twitch-channel}}
-
   {% if post.video-twitch-channel %}
   
   
@@ -48,7 +46,7 @@ Twitch: {{post.video-twitch-channel}}
         });
       </script>
   {% else %}
-    {% if page.video-yt-id %}
+    {% if post.video-yt-id %}
      <div>
        <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/{{post.video-yt-id}}?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>     
      </div>

+ 1 - 1
scripts/env.sh

@@ -16,5 +16,5 @@ HOSTS=ispooge.com
 
 
 NAME_STATIC=ispooge.com-static
-IMAGE_STATIC=docker-registry.local:5000/ispooge.com/ispooge-static:15
+IMAGE_STATIC=docker-registry.local:5000/ispooge.com/ispooge-static:16
 IMAGE_STATIC_LOCAL=ispooge-static