Math is like riding a bicycle. The best way to learn is to get on the bicycle and start peddling. You may fall but ultimately each fall means you are getting better and better.
#PyBoard
# screen /dev/tty.usbmodem*
# Servo Example
# http://docs.micropython.org/en/latest/pyboard/tutorial/servo.html
import pyb
s1 = pyb.Servo(1) # pin X1
s1.angle(45)
-
div
andspans
are grouping tags -
class
tags are mostly used for assigning styling to adiv
-
class
assigniments to an element are additive e.g. `class = 'class1 class2'`` -
the
class
definition in CSS file/block that's more bottom takes precedence over the one on top, e.g. :
.class2 {
color: red;
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
//Based on gulpfile.js from Google Web Starter Kit. | |
//https://github.com/google/web-starter-kit | |
'use strict'; | |
// Include Gulp & Tools We'll Use | |
var gulp = require('gulp'); | |
var $ = require('gulp-load-plugins')(); | |
var del = require('del'); | |
var runSequence = require('run-sequence'); | |
var browserSync = require('browser-sync'); |
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
<html> | |
<form id="checkout" method="post" action="{% url 'recurpayresult' %}"> | |
{% csrf_token %} | |
<input type="text" name="first_name"> | |
<input type="text" name="last_name"> | |
<div id="dropin"></div> | |
<input type="submit" value="Pay $25"> <!-- braintree will use this $25 payment --> | |
</form> | |
<script src="https://js.braintreegateway.com/v2/braintree.js"></script> |
NewerOlder