This file contains hidden or 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"; | |
module.exports = { | |
config: { | |
updateChannel: 'stable', | |
fontSize: 14, | |
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace', | |
fontWeight: 'normal', | |
fontWeightBold: 'bold', | |
lineHeight: 1, | |
letterSpacing: 0, |
This file contains hidden or 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
let formatMoneyToCents = function(value) { | |
value = (value + '').replace(/[^\d.-]/g, '') | |
if (value && value.includes('.')) { | |
value = value.substring(0, value.indexOf('.') + 3) | |
} | |
return value ? Math.round(parseFloat(value) * 100) : 0 | |
} |
This file contains hidden or 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
/* | |
Dracula Theme CSS for JSONView | |
Link to chrome extension: https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc | |
Color Palette from https://github.com/dracula/dracula-theme | |
Made by https://github.com/grippado with 💜 | |
*/ | |
/* | |
To use this theme follow steps above: | |
1 - Install JSONView from link: https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc |
This file contains hidden or 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
# Know how your meetup.com group is growing through events! | |
# Get your API token here: https://secure.meetup.com/pt-BR/meetup_api/key/ | |
# You don't need to install nothing! It's 100% pure python | |
# python meetup-insights.py <org-name> <your api token> | |
from urllib import request,parse | |
from functools import reduce | |
import datetime | |
import sys | |
import json |
This file contains hidden or 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
{"number":0,"team":"entertainment","name":"Panini Knight Logo"} | |
{"number":1,"team":"entertainment","name":"FIFA Logo"} | |
{"number":2,"team":"entertainment","name":"World Cup Trophy"} | |
{"number":3,"team":"entertainment","name":"’18 World Cup Graphic Top"} | |
{"number":4,"team":"entertainment","name":"’18 World Cup Graphic Bottom"} | |
{"number":5,"team":"entertainment","name":"’18 World Cup Logo Top"} | |
{"number":6,"team":"entertainment","name":"’18 World Cup Logo Bottom"} | |
{"number":7,"team":"entertainment","name":"adidas Official Ball"} | |
{"number":8,"team":"Stadium","name":"Ekaterinburg Arena"} | |
{"number":9, "team":"Stadium","name":"Kaliningrad Stadium"} |
This file contains hidden or 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
" vim: ft=vim | |
" Use 256 colors in vim | |
" some plugins not work without it | |
set t_Co=256 | |
" Set up leader key <leader>, i use default \ | |
let mapleader = "\<Space>" | |
" Turn off filetype plugins before bundles init |
This file contains hidden or 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
// Instructions | |
// Full Copy and past on console | |
// Press Enter | |
// :smile: | |
var logotipos=[{name:"Adonis",url:"http://www.adonisjs.com/",uuid:"aecb9ea1-edd1-45e5-9288-2d173712fee4"},{name:"AgilityJS",url:"https://github.com/arturadib/agility",uuid:"664cb478-f249-409e-b41d-8a3495f6efc5"},{name:"Alembic",url:"https://github.com/awkward/Alembic",uuid:"577ac0b2-37aa-4d88-b64b-b5848bd87b5a"},{name:"Ampersand",url:"https://ampersandjs.com/",uuid:"7f2ad627-7d3d-4c58-8be4-8d562aaf0f2f"},{name:"Amplitude",url:"https://521dimensions.com/open-source/amplitudejs",uuid:"54593ba0-baa5-4588-a39b-1a03c8d7632b"},{name:"Angular2",url:"https://angular.io/",uuid:"7eac6f08-4812-4027-8cee-8457f09320bf"},{name:"AngularJS",url:"https://angularjs.org/",uuid:"056abd2b-70a6-46d3-94a8-3dc5be1a38b7"},{name:"Angular-Meteor",url:"https://angular-meteor.com/",uuid:"b5807164-3e23-46ae-a9dd-52ad191e4845"},{name:"animeJS",url:"http://animejs.com/",uuid:"ceb8891e-7abf-45a8-9458-f4ef24c52acc"},{name:"Appium",url:"http://appium.io/",uuid:"3868146 |
This file contains hidden or 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 gulp = require('gulp'), | |
flatten = require('gulp-flatten'); | |
// Estrutura da pasta | |
const srcPaths = { | |
html: 'src/pug/**/*.pug', | |
exclude: '!src/pug/layouts/inc/*.pug' | |
}; | |
const buildPaths = { |
This file contains hidden or 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 readCookie(name) { | |
var nameEQ = name + "="; | |
var ca = document.cookie.split(';'); | |
for( var i=0; i < ca.length; i++) { | |
var c = ca[i]; | |
while (c.charAt(0)==' ') c = c.substring(1,c.length); | |
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); | |
} | |
return null; | |
} |
This file contains hidden or 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
[mongo_integration] | |
host = mongodb://10.248.235.36:27017 | |
username = | |
password = | |
db_name = dbIntegracaoLog2 | |
timeout = 3000 | |
;use_replica_set = 1 | |
;replica_set_name = disponibilidade | |
[mongo_magento] |
NewerOlder