This is a list of advanced JavaScript learning resources from people who responded to this [Tweet][13] and this [Tweet][20].
-
[You Don't Know JS][3]
-
[Frontend Masters courses by Kyle Simpson][12]
-
[@mpjme][6]'s [YouTube videos][5]
<html> | |
<body> | |
<!-- https://github.com/zendesk/zendesk_app_framework_sdk --> | |
<script | |
type="text/javascript" | |
src="https://assets.zendesk.com/apps/sdk/2.0/zaf_sdk.js" > | |
</script> | |
<script | |
type="text/javascript" |
Below are many examples of function hoisting behavior in JavaScript. Ones marked as works
successfuly print 'hi!' without errors.
To play around with these examples (recommended) clone them with git and execute them with e.g. node a.js
(I may be using incorrect terms below, please forgive me)
<?php | |
/** | |
* Plugin Name: AWD Weight/State Shipping | |
* Plugin URI: http://www.andyswebdesign.ie/blog/free-woocommerce-weight-and-country-based-shipping-extension-plugin/ | |
* Description: Weight and State based shipping method for Woocommerce. | |
* Version: 1.0.1 | |
* Author: Andy_P (modified by Mantish to make it state based) | |
*/ | |
/** Copyright 2012 andyswebdesign.ie |
## Making a 32 bit version of Homestead | |
# Clone the settler repository to a directory | |
git clone https://github.com/laravel/settler.git Ubuntu32 | |
# In that directory edit the file called "Vagrantfile" to use a ubuntu 32 box instead of the 64 bit one | |
change this line: | |
config.vm.box = "ubuntu/trusty64" |
<div class="container"> | |
<div class="row"> | |
<div class="col-sm-6 col-md-4 col-md-offset-4"> | |
<h1 class="text-center login-title">Sign in to continue to Bootsnipp</h1> | |
<div class="account-wall"> | |
<img class="profile-img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=120" | |
alt=""> | |
<form class="form-signin"> | |
<input type="text" class="form-control" placeholder="Email" required autofocus> | |
<input type="password" class="form-control" placeholder="Password" required> |
<!-- | |
CSS STYLES: | |
body { padding-top:30px; } | |
.form-control { margin-bottom: 10px; } | |
--> | |
<!-- User Sign-up Form --> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-xs-12 col-sm-12 col-md-4 well well-sm"> |
<form action="./" method="GET"> | |
<select name="state"> | |
<option value="AL">Alabama</option> | |
<option value="AK">Alaska</option> | |
<option value="AZ">Arizona</option> | |
<option value="AR">Arkansas</option> | |
<option value="CA">California</option> | |
<option value="CO">Colorado</option> | |
<option value="CT">Connecticut</option> |
function make_shipping_rates(id, low, mid, high) { | |
$.post('/admin/price_based_shipping_rates.json', { | |
price_based_shipping_rate: { | |
country_id: id, | |
min_order_subtotal: "0", | |
max_order_subtotal: "500", | |
name: "DHL Premiumversand", | |
offsets: [], | |
price: low | |
} |
<?php | |
/** | |
* Plugin Name: AWD Weight/State Shipping | |
* Plugin URI: http://www.andyswebdesign.ie/blog/free-woocommerce-weight-and-country-based-shipping-extension-plugin/ | |
* Description: Weight and State based shipping method for Woocommerce. | |
* Version: 1.0.1 | |
* Author: Andy_P (modified by Mantish to make it state based) | |
/* Copyright 2012 andyswebdesign.ie | |
This program is free software; you can redistribute it and/or modify |