This file contains 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
/** | |
* Objects and Functions | |
*/ | |
// Copy by Reference vs Copy by Value | |
// Primitives (6 Types) | |
// Boolean, Null, Undefined, Number, String, Symbol (Modern JavaScript) | |
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures | |
// Var vs Const vs Let => https://codeburst.io/part-2-var-vs-const-vs-let-69ea73fe76c1 |
This file contains 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
yarn install v1.3.2 | |
[1/4] 🔍 Resolving packages... | |
[2/4] 🚚 Fetching packages... | |
[3/4] 🔗 Linking dependencies... | |
warning " > slick-carousel@1.8.1" has unmet peer dependency "jquery@>=1.8.0". | |
[4/4] 📃 Building fresh packages... | |
[6/6] ⠄ phantomjs-prebuilt: Receiving... | |
[2/6] ⠄ gifsicle | |
[3/6] ⠄ jpegtran-bin | |
[-/6] ⠄ waiting... |
This file contains 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
en_type Bearer request to <oauthlib.oauth2.rfc6749.tokens.BearerToken object at 0x7ff99aaa5ba0>. | |
dev-server_1 | api: INFO [2017-12-01 22:30:14,755] [01ea0d37b9954076ab31efb68e792bfe] log_request_id.middleware: method=GET path=/api/v1/users/current/ status=200 user=1 | |
dev-server_1 | api: INFO [2017-12-01 22:30:14,757] [none] django.server: "GET /api/v1/users/current/ HTTP/1.1" 200 750 | |
dev-server_1 | api: DEBUG [2017-12-01 22:30:14,763] [28c303ac65244cccb236d5cda7d97bb9] oauthlib.oauth2.rfc6749.endpoints.resource: Dispatching token_type Bearer request to <oauthlib.oauth2.rfc6749.tokens.BearerToken object at 0x7ff99aaa5728>. | |
dev-server_1 | api: INFO [2017-12-01 22:30:14,774] [28c303ac65244cccb236d5cda7d97bb9] log_request_id.middleware: method=GET path=/api/v1/categories/ status=200 user=1 | |
dev-server_1 | api: INFO [2017-12-01 22:30:14,776] [none] django.server: "GET /api/v1/categories/ HTTP/1.1" 200 1107 | |
dev-server_1 | api: DEBUG [2017-12-01 22:30:14,781] [bdb77141cc8b4f86837c9e8a |
This file contains 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
ValueError at /api/v1/businesses/ | |
Cannot assign "<django.contrib.auth.models.AnonymousUser object at 0x7f27b443f7f0>": "BusinessMembership.user" must be a "User" instance. | |
Request Method: POST | |
Request URL: http://localhost:8000/api/v1/businesses/ | |
Django Version: 1.11.4 | |
Python Executable: /usr/bin/python3 | |
Python Version: 3.6.1 | |
Python Path: ['/opt/code', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/usr/lib/python3.6/site-packages'] | |
Server time: Tue, 7 Nov 2017 21:38:35 +0000 |
This file contains 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
/** | |
* Asynchronous JavaScript | |
*/ | |
// I love Promises and not to forget, Axios! | |
axios.get('../data/tweets.json') | |
.then((tweets) => { | |
console.log(tweets.data); |
This file contains 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
import { Validator } from 'vee-validate'; | |
import loginMixin from '../mixins/login'; | |
import validateMixin from '../mixins/validate'; | |
export default { | |
name: 'signup', | |
validator: null, | |
errors: null, | |
mixins: [loginMixin, validateMixin], |
This file contains 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
import { Validator } from 'vee-validate'; | |
import loginMixin from '../mixins/login'; | |
import validateMixin from '../mixins/validate'; | |
export default { | |
name: 'signup', | |
validator: null, | |
errors: null, | |
mixins: [loginMixin, validateMixin], |
This file contains 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
error in ./assets/scss/grid/horizontal.scss | |
Module build failed: | |
@include xy-grid-container(); | |
^ | |
No mixin named xy-grid-container | |
Backtrace: | |
stdin:6 |
This file contains 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
harman@manchanda: 08:09 pm gcloud-bootcamp $ curl $(minikube service new-minikube --url) | |
CLIENT VALUES: | |
client_address=172.17.0.1 | |
command=GET | |
real path=/ | |
query=nil | |
request_version=1.1 | |
request_uri=http://192.168.99.100:8080/ | |
SERVER VALUES: |
This file contains 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
# Get the source from the git repository | |
# Read the techio.yml file | |
# Build project sass | |
# Preparing build | |
# Pull ruby:latest | |
100% [==================================================>] | |
# Create the runtime image | |
# Build image | |
Step 1/4 : FROM library/ruby:latest | |
---> eebb1381c2aa |