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 "candidosales.id" is my Blockstack ID. https://onename.com/candidosales |
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
user nginx; | |
# PERFORMANCE | |
# https://gist.github.com/denji/8359866 | |
# you must set worker processes based on your CPU cores, nginx does not benefit from setting more than that | |
worker_processes auto; #some last versions calculate it automatically | |
# number of file descriptors used for nginx | |
# the limit for the maximum FDs on the server is usually set by the OS. | |
# if you don't set FD's then OS settings will be used which is by default 2000 | |
worker_rlimit_nofile 100000; |
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
user nginx; | |
# PERFORMANCE | |
# https://gist.github.com/denji/8359866 | |
# you must set worker processes based on your CPU cores, nginx does not benefit from setting more than that | |
worker_processes auto; #some last versions calculate it automatically | |
# number of file descriptors used for nginx | |
# the limit for the maximum FDs on the server is usually set by the OS. | |
# if you don't set FD's then OS settings will be used which is by default 2000 | |
worker_rlimit_nofile 100000; |
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
/** | |
* Copyright 2015 Google Inc. All Rights Reserved. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
namespace :update_products do | |
desc "update_products" | |
task :description => :environment do | |
skus = ["ABR112803","ABR112903","ABR112703","ABR101703","ABR101903","ABR102303","ABR109203","ABR113403","ABR112806","ABR100803","ABR10103","ABR112906","ABR113003","ABR113103","ABR100903","ABR101303","ABR101403","ABR101503","ABR102103","ABR109003","ABR112503","ABR113203","ABR89603","ABR84703","ABR102506","ABR112706","ABR101706","ABR101906","ABR102306","ABR109206","ABR113406","ABR112812","ABR100806","ABR112912","ABR113006","ABR113106","ABR100906","ABR101006","ABR101306","ABR101406","ABR101506","ABR102106","ABR10906","ABR112506","ABR113206","ABR89606","ABR84706","ABR89303","ABR102512","ABR10003","ABR112712","ABR101912","ABR102312","ABR105503","ABR109212","ABR113412","ABR100812","ABR113012","ABR113112","ABR101012","ABR101312","ABR101512","ABR102112","ABR109012","ABR112512","ABR113212","ABR101712","ABR88303","ABR100912","ABR89612","ABR101412","ABR84712","ABR89306","ABR100006","ABR105506","ABR88306","ABR89312","ABR1000 |
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
{ | |
"name": "relatorios-qualidade", | |
"version": "1.0.0", | |
"main": "main.js", | |
"dependencies": { | |
"jshashes": "^1.0.5", | |
"path": "^0.11.14", | |
"grunt": "^0.4.5", | |
"grunt-contrib-concat": "^0.5.1", | |
"grunt-contrib-connect": "^0.10.1", |
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
{ | |
"name": "relatorios-qualidade", | |
"version": "1.0.0", | |
"authors": [ | |
"candidosales <[email protected]>", | |
"rafaellins <[email protected]>" | |
], | |
"license": "MIT", | |
"ignore": [ | |
"**/.*", |
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) { | |
// 1. Time how long tasks take | |
require('time-grunt')(grunt); | |
// 2. load all grunt tasks matching the `grunt-*` pattern | |
require('load-grunt-tasks')(grunt); | |
// 3. All configuration goes here | |
grunt.initConfig({ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Palitagem</title> | |
</head> | |
<body> | |
<webview id="foo" src="http://localhost:81/registro-chamadas/autenticacao?u=043250663&d=VIKSTARSP" autosize="on" style="position:fixed;top:0;left:0;right:0;bottom:0" nodeintegration></webview> | |
<script> | |
var userName = process.env.USERNAME, |
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 app = require('app'), // Module to control application life. | |
BrowserWindow = require('browser-window'); // Module to create native browser window. | |
path = require('path'), | |
ipc = require('ipc'), | |
hashes = require('jshashes'), | |
mime = require('mime'), | |
fs = require('fs'), | |
exec = require('child_process').exec; | |
userName = process.env.USERNAME, |