Quick CSS powered step wizard for your online payment forms.
A Pen by Hugo Giraudel on CodePen.
| (function() { | |
| var libraryStorage = {}; | |
| function librarySystem(libraryName, dependency, callback) { | |
| if (arguments.length > 1) { | |
| // If library has no dependency | |
| if (dependency.length === 0) { | |
| libraryStorage[libraryName] = callback(); | |
| // has one or more dependencies | |
| } else { |
| var degrees2meters = function(lon,lat) { | |
| var x = lon * 20037508.34 / 180; | |
| var y = Math.log(Math.tan((90 + lat) * Math.PI / 360)) / (Math.PI / 180); | |
| y = y * 20037508.34 / 180; | |
| return [x, y] | |
| } | |
| lon= -77.035974 | |
| lat = 38.898717 |
| extension CustomStringConvertible { | |
| var description : String { | |
| var description: String = "" | |
| if self is AnyObject { | |
| description = "***** \(self.dynamicType) - <\(unsafeAddressOf((self as! AnyObject)))>***** \n" | |
| } else { | |
| description = "***** \(self.dynamicType) *****\n" | |
| } | |
| let selfMirror = Mirror(reflecting: self) | |
| for child in selfMirror.children { |
| Alamofire has recently been updated. Now it seems to support Swift 3 from its main (master) branch. | |
| Below are instructions that should work :) | |
| ------------------------------------------------------------------------------------------------ | |
| CURRENT INSTRUCTIONS --------------------------------------------------------------------------- | |
| 1. Install cocoapods | |
| $ sudo gem install cocoapods | |
| 2. create an xcode project |
| // | |
| // Constants.swift | |
| // | |
| // Created by Jarrod Parkes on 11/5/15. | |
| // Copyright © 2015 Udacity. All rights reserved. | |
| // | |
| // MARK: - Constants | |
| struct Constants { |
| #!/bin/sh | |
| #---------------------------------------------------- | |
| # a simple mysql database backup script. | |
| # version 2, updated March 26, 2011. | |
| # copyright 2011 alvin alexander, http://devdaily.com | |
| #---------------------------------------------------- | |
| # This work is licensed under a Creative Commons | |
| # Attribution-ShareAlike 3.0 Unported License; | |
| # see http://creativecommons.org/licenses/by-sa/3.0/ |
Quick CSS powered step wizard for your online payment forms.
A Pen by Hugo Giraudel on CodePen.
| <!-- | |
| How to load Font Awesome asynchronously | |
| Use: Just put this script on the bottom/footer of your web | |
| --> | |
| <script type="text/javascript"> | |
| (function() { | |
| var css = document.createElement('link'); | |
| css.href = '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css'; |
| If you get this when trying to connect to PG | |
| psql: could not connect to server: No such file or directory | |
| Is the server running locally and accepting | |
| connections on Unix domain socket "/tmp/.s.PGSQL.5432"? | |
| A pid file was blocking postgres from starting up. To fix it: | |
| rm /usr/local/var/postgres/postmaster.pid |