design by https://dribbble.com/shots/1372856-Flat-UI-Homepage-design-for-Juiiicy?list=users&offset=5
Forked from Igor Dobrovolsky's Pen Animated filter.
A Pen by A Non Ymous on CodePen.
// Generated on <%= (new Date).toISOString().split('T')[0] %> using <%= pkg.name %> <%= pkg.version %> | |
(function () { | |
"use strict"; | |
module.exports = function (grunt) { | |
// Project Configuration | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), |
git subtree push --prefix site/ origin gh-pages |
/** | |
* cbpAnimatedHeader.js v1.0.0 | |
* http://www.codrops.com | |
* | |
* Licensed under the MIT license. | |
* http://www.opensource.org/licenses/mit-license.php | |
* | |
* Copyright 2013, Codrops | |
* http://www.codrops.com | |
*/ |
design by https://dribbble.com/shots/1372856-Flat-UI-Homepage-design-for-Juiiicy?list=users&offset=5
Forked from Igor Dobrovolsky's Pen Animated filter.
A Pen by A Non Ymous on CodePen.
reduse case using generated utput from google prettyify
A Pen by Matthew Van Dusen on CodePen.
@media (max-width: $screen-xs-max) { | |
/* Phone */ | |
} | |
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { | |
/* Tablet */ | |
} | |
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) { | |
/* Desktop */ | |
} | |
@media (min-width: $screen-lg-min) { |
-- Acess MySQL with root | |
mysql -u root | |
-- Acess MySQL with a user | |
mysql -u your_username -p p4sw0rd | |
-- Display all databases | |
SHOW DATABASES; | |
-- Create a database |
#!/bin/bash | |
# Put this in /hooks/after_prepare/ | |
PLIST=platforms/ios/*/*-Info.plist | |
cat << EOF | | |
Add :NSAppTransportSecurity dict | |
Add :NSAppTransportSecurity:NSAllowsArbitraryLoads bool YES | |
Add :NSAppTransportSecurity:NSExceptionDomains:facebook.com:NSIncludesSubdomains bool YES | |
Add :NSAppTransportSecurity:NSExceptionDomains:facebook.com:NSThirdPartyExceptionRequiresForwardSecrecy bool NO |
var AWS = require('aws-sdk'), | |
fs = require('fs'); | |
// http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html#Credentials_from_Disk | |
AWS.config.loadFromPath('./aws-config.json'); | |
// assume you already have the S3 Bucket created, and it is called ierg4210-shopxx-photos | |
var photoBucket = new AWS.S3({params: {Bucket: 'ierg4210-shopxx-photos'}}); | |
function uploadToS3(file, destFileName, callback) { |
db.search(query, params, function(err, data) { // Busca de Vinyls na API Externa. | |
var discogsVinyls = data.results.map(function(item) { // `map` para selecionar as propriedades que quero. | |
var item = { | |
slug: slug(item.title).toLowerCase(), | |
discogsId: item.id, | |
cover: item.thumb || null, | |
title: item.title, | |
artists: item.artists || null, | |
genre: item.genre, |