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
| module controllers.#{model_name.asLowerCase()}; | |
| import std.stdio; | |
| // Vibed | |
| import vibe.d; | |
| import vibe.db.mongo.mongo; | |
| import std.algorithm: map; | |
| import database; |
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
| // acrescente <script src="https://unpkg.com/mithril/mithril.js"></script> no index.html | |
| export class Game | |
| { | |
| constructor(self) | |
| { | |
| // lista de levels do usuário (página) | |
| this.levelList = {}; | |
| } | |
| run(self) |
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 { Game } from "./gdd.js"; | |
| import { LandingLevel, HomeLevel } from "./levels.js"; | |
| const app = new Game(); | |
| app.levelList = { | |
| "/": LandingLevel, | |
| "/home": HomeLevel, | |
| }; |
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, initial-scale=1" /> | |
| <meta http-equiv="cache-control" content="no-cache" /> | |
| <meta http-equiv="Pragma" content="no-cache"> | |
| <title>FelipeBastosWeb</title> | |
| <script type="module" src="./static/js/main.js"></script> | |
| </head> |
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
| unit Widgets.ListViewCard; | |
| interface | |
| uses System.Classes, System.Generics.Collections, System.Variants, FMX.Controls, | |
| FMX.Types, FMX.ListView, FMX.ListView.Types, | |
| FMX.Graphics, FMX.ListView.Appearances, FMX.ListView.Adapters.Base, FMX.Objects; | |
| type | |
| TListViewCard = class(TListViewItem) |
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
| // not open HomeForm | |
| procedure TMainForm.ListBox1ItemClick(const Sender: TCustomListBox; | |
| const Item: TListBoxItem); | |
| if BiometricAuth1.IsSupported then begin | |
| BiometricAuth1.Authenticate; | |
| end; | |
| end; | |
| procedure TMainForm.BiometricAuth1AuthenticateSuccess(Sender: TObject); | |
| begin |
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
| unit unit1; | |
| {$mode delphi} | |
| interface | |
| uses | |
| Classes, SysUtils, AndroidWidget, Laz_And_Controls; | |
| type |
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
| unit unit1; | |
| {$mode delphi} | |
| interface | |
| uses | |
| Classes, SysUtils, AndroidWidget, Laz_And_Controls, And_jni, | |
| Laz_And_Controls_Events; |
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 time | |
| import json | |
| import requests | |
| colors = ('w', 'r', 'b') | |
| last_results = '' | |
| pattern_list = [ | |
| 'rrr', |
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 time | |
| import requests | |
| total_pages = 1724 | |
| csv_file = open('./double_history.csv', 'a+') | |
| # latest to current pages | |
| for page in reversed(range(1, total_pages)): | |
| result_json = (requests.get("https://blaze.com/api/roulette_games/history?page=" + str(page))).json() | |
| # more latest to minus latest results of page |