This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function cleanProjectName(data) { | |
let d = data; | |
d = d.toString().toLowerCase().replace('1','one-').replace('.','-').split(' ').join('-'); | |
return d; | |
} | |
function Logo(props) { | |
let src = props.src; | |
let brands = props.brands; | |
let dir = 'img/'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((angular) => { | |
'use strict'; | |
angular | |
.module(_MODULE) | |
.directive('numberRange', numberRange); | |
numberRange.$inject = [ | |
'$document', | |
'$log', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const _MODULE = 'test'; | |
(function(angular) { | |
'use strict'; | |
angular.module(_MODULE, []); | |
angular | |
.module(_MODULE) | |
.controller('testController', testController); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var app = angular.module('app', [ | |
'ui.router', | |
'ngResource', | |
'ngSanitize' | |
]); | |
app.config(function($stateProvider, $urlRouterProvider, $locationProvider, $httpProvider) { | |
$urlRouterProvider.otherwise('/'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********* iPad 3 **********/ | |
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) { | |
/* Styles */ | |
} | |
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) { | |
/* Styles */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run PageSpeed Insights | |
gulp.task('pagespeed', function (cb) { | |
// Update the below URL to the public URL of your site | |
pagespeed.output('example.com', { | |
strategy: 'mobile', | |
// By default we use the PageSpeed Insights free (no API key) tier. | |
// Use a Google Developer API key if you have one: http://goo.gl/RkN0vE | |
// key: 'YOUR_API_KEY' | |
}, cb); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"vars": { | |
"@gray-base": "#000", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "darken(#428bca, 6.5%)", | |
"@brand-success": "#5cb85c", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Path icon hover | |
* | |
* Example of the desired effect (hover over the user avatar) https://path.com/p/5Eplz | |
* | |
* Close, but annoying that the animation runs on page load. | |
* Possible solution could be to fade entire page content in while initial | |
* animation runs. | |
*/ | |
NewerOlder