##Branching:
-git branch foo
-git co foo
###Merge branch into master:
-git co master
Oracle:site chris$ yarn install | |
yarn install v0.16.1 | |
[1/4] 🔍 Resolving packages... | |
[2/4] 🚚 Fetching packages... | |
[3/4] 🔗 Linking dependencies... | |
[4/4] 📃 Building fresh packages... | |
success Saved lockfile. | |
$ node -e "require('fs').symlinkSync(require('path').resolve('node_modules/@bower_components'), 'app/assets/com', 'junction')" | |
fs.js:110 | |
throw err; |
Oracle:site chris$ grunt build | |
Running "clean:dist" (clean) task | |
>> 0 paths cleaned. | |
Running "requirejs:dist" (requirejs) task | |
Error: ENOENT: no such file or directory, open '/Users/chris/Documents/code/red_nucleus/dermira_360/site/app/assets/com/jquery/dist/jquery.js' | |
In module tree: | |
loader.js | |
{ Error: Error: ENOENT: no such file or directory, open '/Users/chris/Documents/code/red_nucleus/dermira_360/site/app/assets/com/jquery/dist/jquery.js' |
<!-- OP_SEARCH_GENERATED --><div style='padding-top:100px;padding-bottom:5px;border-top-width:px;border-top-style:solid;border-top-color:;border-bottom-width:px;border-bottom-style:solid;border-bottom-color:;' class="row one-column cf ui-sortable section row1 " id="le_body_row_1" data-style="eyJjc3NDbGFzcyI6InJvdzEiLCJwYWRkaW5nVG9wIjoiMTAwIiwicGFkZGluZ0JvdHRvbSI6IjUiLCJib3JkZXJUb3BXaWR0aCI6IiIsImJvcmRlclRvcENvbG9yIjoiIiwiYm9yZGVyQm90dG9tV2lkdGgiOiIiLCJib3JkZXJCb3R0b21Db2xvciI6IiIsImFkZG9uIjp7fSwiZWxlbWVudElkIjoibGVfYm9keV9yb3dfMSJ9"><div class="fixed-width"><div class="op-row-links"> | |
<div class="op-row-links-content"> | |
<a title="Copy Row" href="#copy-row" class="copy-row"></a> | |
<a title="Edit Row Options" href="#options" class="edit-row" id="row_options"></a> | |
<a title="Clone Row" href="#clone-row" class="clone-row"></a> | |
<a href="#add-new-row" class="add-new-row"><span>Add Ne |
/root | |
-- images | |
-- foo | |
-- stylesheets | |
-- fonts | |
-- components | |
-> contacts_modal.scss | |
-> report_modal.scss | |
-- vendor | |
-- bootstrap |
fastClick : function ( event ) { | |
var target = $(event.currentTarget); | |
if(event.type === 'touchstart') { | |
var startX=0, startY=0; | |
if(event.originalEvent && event.originalEvent.touches) { | |
startX = event.originalEvent.touches[0].clientX; | |
startY = event.originalEvent.touches[0].clientY; |
# PostgreSQL. Versions 8.2 and up are supported. | |
# | |
# Install the pg driver: | |
# gem install pg | |
# On Mac OS X with macports: | |
# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config | |
# On Windows: | |
# gem install pg | |
# Choose the win32 build. | |
# Install PostgreSQL and put its /bin directory on your path. |
/^([a-zA-z\s]+)\:([a-zA-Z\s]+)/$ | |
foo:bar matches ['foo:bar', 'foo', 'bar']; |
##Branching:
-git branch foo
-git co foo
###Merge branch into master:
-git co master
## find a file | |
find . -name "foo.file" -print | |
## symbolic links | |
ln -s /Path/To/Directory/ /Path/To/Target/www | |
## remove word from filename | |
for file in *; do mv "${file}" "${file/foo/}"; done |
curl -H "Accept:application/json" "http://www.foo.com" |