Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/bin/bash | |
| awk=$(which awk || echo 'missing: install awk' && exit 1) | |
| # update apt | |
| sudo apt-get update | |
| # get ssl related packages from simulated upgrade | |
| sudo apt-get upgrade -s | grep ssl | grep Inst | $awk '{print $2}' | xargs -t sudo apt-get -y install |
| #!/bin/bash | |
| awk=$(which awk || echo 'missing: install awk' && exit 1) | |
| # update apt | |
| sudo apt-get update | |
| # get ssl related packages from simulated upgrade | |
| sudo apt-get upgrade -s | grep ssl | grep Inst | $awk '{print $2}' | xargs -t sudo apt-get install |
| #!/bin/bash | |
| awk=$(which awk || echo 'missing: install awk' && exit 1) | |
| # update apt | |
| sudo apt-get update | |
| # get ssl related packages from simulated upgrade | |
| sudo apt-get upgrade -s | grep ssl | grep Inst | $awk '{print $2}' | xargs -t sudo apt-get install -y |
Launch your EC2 EBS instance with two SSDs on the second and third slots (after the root EBS volume), with this in your userdata:
#!/usr/bin/env bash
umount /dev/xvdb
umount /dev/xvdc
apt-get install mdadm -y
mkdir /u01
cat > /etc/init/mount-ephermal-ssd.conf <
| <!-- 1. Take your Campaign Monitor subscribe form as generated from within your account: --> | |
| <form action="http://myaccount.createsend.com/t/r/s/aljhk/" method="post" id="subForm"> | |
| <div> | |
| <label for="name">Name:</label><br /><input type="text" name="cm-name" id="name" /><br /> | |
| <label for="aljhk-aljhk">Email:</label><br /><input type="text" name="cm-aljhk-aljhk" id="aljhk-aljhk" /><br /> | |
| <input type="submit" value="Subscribe" /> | |
| </div> | |
| </form> |
| # -*- coding: utf-8 -*- | |
| $:.unshift("/Library/RubyMotion/lib") | |
| require 'motion/project' | |
| Motion::Project::App.setup do |app| | |
| # Use `rake config' to see complete project settings. | |
| app.name = 'HelloMailCore' | |
| # Configure MailCore | |
| app.vendor_project("vendor/MailCore", :xcode, :headers_dir => "{../include,libetpan/build-mac/.build/include/libetpan}", :target => "MailCore iOS") |
| // | |
| // CoreTextLabel.h | |
| // Frost | |
| // | |
| // Created by David Kasper on 10/1/12. | |
| // | |
| #import <UIKit/UIKit.h> | |
| #import <CoreText/CoreText.h> |
| (function () { | |
| var setupRegularResize, setupIframeResize, e; | |
| function bind(a, b) { | |
| return function () { | |
| return a.apply(b, arguments); | |
| }; | |
| } | |
| setupRegularResize = (function () { |
| .browser { | |
| h3 { | |
| margin-bottom: 10px; | |
| } | |
| ol { | |
| @include pie-clearfix; | |
| } | |
| } |