Skip to content

Instantly share code, notes, and snippets.

@johnsonch
johnsonch / Gemfile
Last active October 1, 2015 18:47
2015 MATC Fall Ruby on Rails Gemfile
source 'https://rubygems.org'
gem 'rails', '4.2.1'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'jquery-rails'
gem 'turbolinks'
@johnsonch
johnsonch / index.php
Last active November 1, 2015 02:04
php fall 2015 lab 9 start index.php
<?php
require_once('madlibs.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
@johnsonch
johnsonch / blogpost.css
Created November 1, 2015 02:03
php fall 2015 lab 9 css
/*!
* Start Bootstrap - Blog Post HTML Template (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
body {
padding-top: 70px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

diskutil list

diskutil eraseDisk JHFS+ Emptied /dev/disk2

hdiutil convert -format UDRW -o ~/Downloads/linuxmint-19-xfce-64bit-v2 ~/Downloads/linuxmint-19-xfce-64bit-v2.iso

diskutil unmountDisk /dev/disk2

sudo dd if=/Users/cj/Downloads/linuxmint-19-xfce-64bit-v2.dmg of=/dev/rdisk2 bs=1m