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
$ git deploy | |
Counting objects: 41, done. | |
Delta compression using up to 2 threads. | |
Compressing objects: 100% (24/24), done. | |
Writing objects: 100% (25/25), 5.39 KiB, done. | |
Total 25 (delta 12), reused 0 (delta 0) | |
remote: Loading composer repositories with package information | |
Updating dependencies | |
remote: Generating autoload files | |
remote: Generating optimized class loader... |
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
coffee: { | |
compile: { | |
files: { | |
'assets/js/main.js': 'assets/js/coffee/main.coffee', | |
} | |
} | |
}, |
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
[Exception] | |
DateTime::__construct(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() functi | |
on. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, bu | |
t please set date.timezone to select your timezone. |
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
@mixin gradient($color-start, $color-stop, $direction: top) { | |
background-color: $color-stop; | |
@include background-image(linear-gradient($direction, $color-start, $color-stop)); | |
} |
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 adwords_conversion(google_conversion_id, google_value, google_conversion_label) { | |
var img = new Image(); | |
img.src = 'https://www.googleadservices.com/pagead/conversion/' + google_conversion_id + '/?value='+google_value+'&label='+google_conversion_label+'&script=0'; | |
img.height = 1; | |
img.width = 2; | |
document.body.appendChild(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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
uglify: { | |
options: { | |
mangle: false | |
}, | |
app: { | |
files: { | |
'public/assets/javascripts/js/main.min.js': [ // arquivo minificado |
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
<select name="uf" id="uf" class="input input-uf" required> | |
<option value="">UF</option> | |
<option value="AC" {{ Input::old('city') == 'AC' ? 'selected="selected"' : null }}>AC</option> | |
<option value="AL" {{ Input::old('city') == 'AL' ? 'selected="selected"' : null }}>AL</option> | |
<option value="AP" {{ Input::old('city') == 'AP' ? 'selected="selected"' : null }}>AP</option> | |
<option value="AM" {{ Input::old('city') == 'AM' ? 'selected="selected"' : null }}>AM</option> | |
<option value="BA" {{ Input::old('city') == 'BA' ? 'selected="selected"' : null }}>BA</option> | |
<option value="CE" {{ Input::old('city') == 'CE' ? 'selected="selected"' : null }}>CE</option> | |
<option value="DF" {{ Input::old('city') == 'DF' ? 'selected="selected"' : null }}>DF</option> | |
<option value="ES" {{ Input::old('city') == 'ES' ? 'selected="selected"' : null }}>ES</option> |
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
Verifying that +luisdalmolin is my blockchain ID. https://onename.com/luisdalmolin |
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
var version = 'v1::'; | |
// ------------------------------------------------------- | |
// aqui devem ser baixados os recursos offline, que devem vir de uma lista em algum local | |
// provavelmente alguma API no site | |
this.addEventListener('install', function(event) { | |
console.log('Service Worker instalado!'); | |
// return self.clients.skipWaiting(); | |
}); |
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
PagSeguroDirectPayment.getBrand({ | |
cardBin: $scope.card, | |
success: function(response) { | |
console.log(response); | |
}, | |
error: function(response) { | |
console.log(response); | |
} |