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
package maybe | |
type Maybe[U any] interface { | |
Has() bool | |
Map(func(U) U) Maybe[U] | |
FlatMap(func(U) Maybe[U]) Maybe[U] | |
OrElse(U) U | |
OrElseGet(func() U) U | |
Get() (U, error) | |
} |
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
/* 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) { |
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
// 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; |
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
// 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], |
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
taskkill /IM WebDev.WebServer20.EXE | |
taskkill /IM WebDev.WebServer40.EXE |
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
//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); |
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
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'); |