Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

Fausto Junqueira faustofjunqueira

💭
I may be slow to respond.
  • Universidade Federal do Rio de Janeiro
  • Rio de Janeiro
View GitHub Profile
View anticheat_stats.cpp
/* TheoSystem AntCheat
* Sistema de prevencao a alteracao do stats, feats e skill do arquivo .2da
* Fausto Ferreira Junqueira
* 01/08/2012
* Configurado para check em level 1
* File Name :theo_an_stats
*/
int Anticheat_GetBaseScoreSTR(int iRace) {
if (iRace == RACIAL_TYPE_HALFORC) {
View redmine.js
// APLICAÇÂO EM NODEJS
const http = require('http');
const APIKey = <YOURAPIKEY como string>
const hostExterno = 'redmine.radixeng.com.br';
const hostInterno = '192.168.7.55';
const host = hostInterno;
View redmine.js
// APLICAÇÂO EM NODEJS
const http = require('http');
const APIKey = "072c7dec10dd993bb47b5d7ffe9f5a60418b635a"
const datas = [
['2018-06-20', 39127],
['2018-06-21', 39127],
['2018-06-22', 39127],
View windows_killwcf.bat
taskkill /IM WebDev.WebServer20.EXE
taskkill /IM WebDev.WebServer40.EXE
View horario_ponto.js
//https://pontoweb.nasajon.com.br/radix/colaborador/ajustes/criar
// TODO, verificar se esta na tela correta!
///////// Util
function addHour(originalHour, minutesToAdd) {
let [hour, minute] = originalHour.split(':');
minute = Number(minute);
hour = Number(hour);
View iris-dataset-postgres
DROP TABLE IF EXISTS iris;
CREATE TABLE iris(
sepal_l FLOAT,
sepal_w FLOAT,
petal_l FLOAT,
petal_w FLOAT,
class VARCHAR(20)
);
insert into iris(sepal_l, sepal_w, petal_l, petal_w, class) values (5.1,3.5,1.4,0.2,'Iris-setosa');