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
api_id = 0 | |
api_hash = "" | |
botToken = "" | |
from telethon import TelegramClient, events | |
import mods | |
bot = TelegramClient('bot', api_id, api_hash) | |
bot.start(bot_token=botToken) |
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
#include <iostream> | |
#include "borrow_checker.hpp" | |
int main() | |
{ | |
auto i = 42; | |
// borrow `i` under name `ref` | |
borrow_var(ref, i) |
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
import json | |
import googletrans | |
import os | |
from googletrans import Translator | |
def translateString(data, destLangCode): | |
global translator |
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
# Version: 0.3.0 | |
# Rewrite: Incomplete | |
import re | |
import mpf # post file support | |
import utils | |
import enum | |
import jnet | |
import json |
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
// Based on https://github.com/llir/grammar/blob/6cb09c87c6e434310b41d3c5b2b3d59c94f986c4/ll.bnf | |
// ### [ Lexical part ] ######################################################## | |
_ascii_letter_upper | |
: 'A' - 'Z' | |
; | |
_ascii_letter_lower | |
: 'a' - 'z' |
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
// C++ Builtins | |
#include <iostream> | |
#include <string> | |
using namespace std; | |
// Nothing Class | |
class Nothing { |
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
-- Mountains | |
-- Simple endless runner game by West | |
-- taking inspiration from "Alto's adventure" for the Mountain backdrop and day to night cycle | |
-- Use this function to perform your initial setup | |
function setup() | |
--get rid of the sidebar | |
displayMode(FULLSCREEN) | |
-- define 3 the three game states for the finite state machine game engine and initialise gamestate variable | |
READY=1 | |
GAMEOVER=2 |
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
//Onkar J Sathe | |
#include <bits/stdc++.h> | |
#include <graphics.h> | |
using namespace std; | |
#define Mx getmaxx() | |
#define My getmaxy() | |
#include <dos.h> | |
#include <windows.h> | |
int main() |
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": "happy-theme", | |
"type": "dark", | |
"colors": { | |
"activityBarBadge.background": "#007acc", | |
"editor.background": "#1e1e1e", | |
"editor.foreground": "#d4d4d4", | |
"editor.inactiveSelectionBackground": "#3a3d41", | |
"editor.selectionHighlightBackground": "#add6ff26", | |
"editorIndentGuide.activeBackground": "#707070", |
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 main | |
import ( | |
"github.com/banthar/Go-SDL/sdl" | |
) | |
const ( | |
SCREEN_WIDTH int = 640 | |
SCREEN_HEIGHT int = 480 | |
SCREEN_BPP int = 32 |
NewerOlder