pwd
present working directory
ls
list current directory contents
ls -la
list current directory contents in long format and show hidden files
man <some unix command>
Bring up the manual pages for a command. Type q
to exit
<style type="text/css"> | |
body { | |
font: normal 62.5%/1 "lucida grande", arial, sans-serif; | |
color: #343638; | |
background: url(http://www.d-trick.com/wp-content/themes/portfolio/img/bg/bg.png) repeat; } | |
#main { | |
width: 1100px; | |
overflow: hidden; | |
margin: 0 auto; } | |
#content { |
source 'https://rubygems.org' | |
gem 'rails', '3.2.7' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
group :development do | |
gem 'sqlite3', '1.3.5' | |
end | |
group :production do |
<a href="#" class="blue-button" >Dance with me</a> |
<code class="chrome-logo"></code> |
<div class="fixed">Swipe mouse over the image horizontally to see it in action:</div> | |
<div class="g"> | |
<div class="h"></div> | |
<div class="h"></div> | |
<div class="h"></div> | |
<div class="h"></div> | |
<div class="h"></div> | |
<div class="h"></div> | |
<div class="h"></div> |
<?php | |
include_once('MINDBODY_API_v0.5.php'); | |
$mb = new MINDBODY_API(); | |
$tomorrow = date('Y-m-d\TH:i:s', strtotime("tomorrow")); // note for MINDBODY you have to format your dates in the standard ISO 8601 format but without the timezone offset | |
$thirtydays = strtotime(date("Y-m-d", strtotime($tomorrow)) . " +30 days"); | |
$params = array( | |
"StartDateTime"=>$tomorrow, | |
"EndDateTime"=> $thirtydays | |
); |
<body> | |
<a class="button" href="#">Click Me Please</a> | |
<a class="button" href="#">Click Me Please</a> | |
<a class="button" href="#">Click Me Please</a> | |
<a class="button" href="#">Click Me Please</a> | |
<a class="button" href="#">Click Me Please</a> | |
<a class="button" href="#">Click Me Please</a> | |
</body> |
<p><span>i</span></p> |
# I'm getting an empty result when viewing this in my application; testing on /project/2/ page | |
<% if @project.quickbits.present? %> | |
<div class="accordion"> | |
<% @project.quickbits.where(user_id: 1).each do |bit| %> | |