- If you push changes to WWW, run
sudo service www restart - If you the helios store (ecom) API is down, try
sudo service nginx restart - If it still seems down, check the logs
sudo tail -f /var/log/wp/helios/frontend_store.log - If the admin won't load, try
sudo service admin restart - If it's still down, try restarting the adhoc in the aws console https://console.aws.amazon.com/ec2/v2/home
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
| // Credit Dave Garwacke @ifyoumakeit | |
| { | |
| // https://conventionalcomments.org/#labels | |
| const LABELS = [ | |
| ["praise", "Praises highlight something positive. Try to leave at least one of these comments per review. Do not leave false praise (which can actually be damaging). Do look for something to sincerely praise."], | |
| ["nitpick", "Nitpicks are small, trivial, but necessary changes. Distinguishing nitpick comments significantly helps direct the reader's attention to comments requiring more involvement."], | |
| ["suggestion (blocking)", "Suggestions are specific requests to improve the subject under review. It is assumed that we all want to do what's best, so these comments are never dismissed as “mere suggestions”, but are taken seriously."], | |
| ["suggestion (non-blocking)", "Suggestions are specific requests to improve the subject under review. It is assumed that we all want to do what's best, so these comments are never dismissed as “mere suggestions”, but are taken seriously."], | |
| ["issue (blocking)" |
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
| javascript:(function(){ | |
| const el = document.querySelector("body"); | |
| const klass = el.className; | |
| el.className += " theme-marketplace"; | |
| } | |
| )(); | |
| javascript:(function(){ | |
| const el = document.querySelector("body"); | |
| const klass = el.className; |
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
| { | |
| "hero": { | |
| "copy_left": "As an architect, creative director, and designer, Virgil Abloh is a man of many talents. Over the past four years, he's channeled his far-reaching expertise into one cult fashion label: OFF-WHITE c/o VIRGIL ABLOH™.", | |
| "logo": "https://i.warbycdn.com/v/c/assets/off-white/image/logo/0/2ab6b32940.png", | |
| "image": [ | |
| { | |
| "image": "{{ asset:off-white/image/hero-mobile/1 }}", | |
| "quality": 100, | |
| "size": "mobile" | |
| }, |
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
| { | |
| "callouts": [ | |
| { | |
| "picture": { | |
| "images": [ | |
| { | |
| "url": "{{ asset:home-06-07-17/image/mobile-quiz-a/0 }}", | |
| "quality": 80, | |
| "size": "mobile" | |
| }, |
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
| { | |
| "callouts": [ | |
| { | |
| "picture": { | |
| "images": [ | |
| { | |
| "url": "{{ asset:home-winter-2016/image/couple_b_desktop/0 }}", | |
| "quality": 100, | |
| "size": "desktop-sd" | |
| }, |
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
| { | |
| "callouts": [ | |
| { | |
| "picture": { | |
| "images": [ | |
| { | |
| "url": "https://i.warbycdn.com/v/c/assets/home-fsa/image/desktop/0/91788801af.jpg", | |
| "quality": 100, | |
| "size": "desktop-sd" | |
| }, |
Intro -
-
Class aim, future classes
-
What is programming? Wiki example
-
What is javascript?
- different programming languages, levels of abstraction
- concepts that existed before the internet.
- input, output
- variables, evaluation, assignment, comparison, control flow, loops, data structures, functions/methods
-
How does this fit into warby parker? We use JS a lot, but these concepts are common across any OO language
fab.aws.bootssh adjective-name.wp-dev.iosudo su - heliosmake buildmanage.py migrate- There is an uppercased boolean in the node store config.
exithelios user,sudo EDITOROFCHOICE /etc/wp/node_store.json. server.locales.ca and server.locales.us, change"canadian_entity: true" - Everything should now be working, but you're missing product data. The following gets product catalog working on your machine.
cd ~curl -O -L http://wp-public-software-packages.s3-website-us-west-2.amazonaws.com/ubuntu/python3.5_3.5.1_amd64.debsudo dpkg -i python3.5_3.5.1_amd64.deb
GitHub oAuth docs https://developer.github.com/v3/oauth/#web-application-flow
####Oauth
What is Oauth? High-level concept.
provides clients access to a server’s resource on behalf of the owner of those resources
NewerOlder