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
// #general C067W8KMX | |
// icaro U067W8YQG | |
var cheerio = require('cheerio') | |
, request = require('request') | |
, slackToken = 'xoxp-6268274772-6268304832-9597136048-0c6704' | |
, slackTarget = 'U067W8YQG' | |
; | |
if(process.argv.length < 3 || paramIsNumber() === false ){ | |
console.log('alelobot.js use: '); |
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 Nightmare = require('nightmare') | |
, vo = require('vo') | |
, fs = require('fs') | |
, request = require('request') | |
, account = require('./account.js') | |
, username = account.username | |
, password = account.password | |
; | |
vo(run)(function(err, result) { |
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
for FILENAME in *; do NEWFILENAME=$(echo "$FILENAME" | tr '[:upper:]' '[:lower:]' | tr ' ' '_'); mv "$FILENAME" "$NEWFILENAME"; done |
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
db.ClockTime.find().forEach(function(doc) { | |
doc.ClockInTime=new Date(doc.ClockInTime); | |
db.ClockTime.save(doc); | |
}); |
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
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ \ | |
"unidade": 63, \ | |
"password": "password", \ | |
"username": "631420378" \ | |
}' 'https://api.easyac.xyz/login' |
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
curl -X POST -H "Cache-Control: no-cache" -H "Postman-Token: c0e9cb10-04a4-b6d0-e0fc-b1ec8ca88ad3" -H "Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW" -F "parametro={"cliente.codigo":3285%2C"grupo":"3"%2C"item":"9"%2C"tipo":"1"%2C"novaConsulta":true%2C"confCaptcha":false%2C"selecionar":false%2C"selecionar_multipla":false%2C"__identificadores":[]%2C"__filtros_consulta_padrao":[{"filtroCampo":"clicodigo"%2C"filtroTipo":"IN"%2C"filtroValor":""%2C"filtroValor02":""%2C"filtroTipoCampo":"lista_multipla"%2C"filtroPodeSalvar":"true"%2C"filtroEncoded":false}%2C{"filtroCampo":"empespecie"%2C"filtroTipo":"IN"%2C"filtroValor":["1"%2C"2"%2C"3"]%2C"filtroValor02":""%2C"filtroTipoCampo":"lista_multipla"%2C"filtroPodeSalvar":"true"%2C"filtroEncoded":false}%2C{"filtroCampo":"loaano"%2C"filtroTipo":"%3D"%2C"filtroValor":"2016"%2C"filtroValor02":""%2C"filtroTipoCampo":"lista"%2C"filtroPodeSalvar":"true"%2C"filtroEncoded":false}%2C{"filtroCampo":"uninomerazao"%2C"filtroTipo":"C"%2C"filtroValor" |
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 LivePublish = { | |
pushstream: {}, | |
broadcastConfig: { | |
host: "stream.push.qa.globoi.com/ws/p.bslive", | |
port: 80, | |
// channel: "p.ZzEuZ2xvYm8uY29tL3Nhby1wYXVsby90cmFuc2l0by9yYWRhci10ZW1wby10cmFuc2l0by1hZ29yYS5odG" | |
channel: "p.test" | |
}, |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<script type="text/javascript" src="https://cdn.jsdelivr.net/clappr/latest/clappr.min.js"></script> | |
</head> | |
<body> | |
<style>h1{text-align:center}body{ padding: 0; margin: 0; }</style> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Installer</title> | |
</head> | |
<body> | |
<script src="installer.js"> | |
var Installer = { |
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
import TwitterCredentials as c | |
from twython import TwythonStreamer | |
class MyStreamer(TwythonStreamer): | |
def on_success(self, data): | |
if 'text' in data: | |
print data['text'].encode('utf-8') | |
stream = MyStreamer(c.APP_KEY, c.APP_SECRET, c.OAUTH_TOKEN, c.OAUTH_TOKEN_SECRET) |