Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
var slider = document.querySelector('#slider'); | |
imagesLoaded(slider, function() { | |
// load flickity only when images have all loaded | |
var flkty = new Flickity( slider, { | |
cellAlign: 'left', | |
contain: true, | |
prevNextButtons: false, | |
pageDots: false, | |
autoPlay: 2000, | |
wrapAround: true, |
<?php | |
$modals = array( 'modal1', 'modal2', 'modal3', 'modal4' );// Set the array | |
$i = 1; // Set the increment variable | |
foreach( $modals as $modal ): | |
?> | |
<!-- Button to Open the Modal --> | |
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal-<?php echo $i; // Displaying the increment ?>"> |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
Steps to install and run PostgreSQL 9.2 using Homebrew (Mac OS X) | |
(if you aren't using version 9.1.5, change line 6 with the correct version) | |
1. launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist | |
2. mv /usr/local/var/postgres /usr/local/var/postgres91 | |
3. brew update | |
4. brew upgrade postgresql | |
5. initdb /usr/local/var/postgres -E utf8 | |
6. pg_upgrade -b /usr/local/Cellar/postgresql/9.1.5/bin -B /usr/local/Cellar/postgresql/9.2.0/bin -d /usr/local/var/postgres91 -D /usr/local/var/postgres | |
7. cp /usr/local/Cellar/postgresql/9.2.0/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/ |
Copyright (C) 2016 Donnie Ray Jones | |
Permission is hereby granted, free of charge, to any person obtaining a | |
copy of this software and associated documentation files (the | |
"Software"), to deal in the Software without restriction, including | |
without limitation the rights to use, copy, modify, merge, publish, | |
distribute, sublicense, and/or sell copies of the Software, and to | |
permit persons to whom the Software is furnished to do so, subject to | |
the following conditions: |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta name="description" content="flickr"> | |
<meta charset="utf-8" /> | |
<title></title> | |
<script src="http://cdn.kendostatic.com/2012.1.322/js/jquery.min.js" type="text/javascript"></script> | |
<script src="http://cdn.kendostatic.com/2012.1.322/js/kendo.web.min.js" type="text/javascript"></script> | |
<link href="http://cdn.kendostatic.com/2012.1.322/styles/kendo.common.min.css" rel="stylesheet" type="text/css" /> |
Typing vagrant
from the command line will display a list of all available commands.
Be sure that you are in the same directory as the Vagrantfile when running these commands!
vagrant up
-- starts vagrant environment (also provisions only on the FIRST vagrant up)vagrant status
-- outputs status of the vagrant machinevagrant halt
-- stops the vagrant machinevagrant reload
-- restarts vagrant machine, loads new Vagrantfile configurationvagrant provision
-- forces reprovisioning of the vagrant machineRuby Docs | |
http://ruby-doc.org/ | |
Ruby language | |
https://www.ruby-lang.org/en/ | |
Rails | |
http://rubyonrails.org/ |