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
String hello() { | |
List<int> underCode = [1, 8, 11]; | |
List<int> charCodes = []; | |
bool key = false; | |
charCodes.insert(0, 72); | |
for (var i = 0; i < underCode.length; i++) { | |
final r = underCode[i] + 100; | |
if (charCodes.contains(101) && key == false) { | |
List<int> tmpList = []; |
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
class HelloWorld: | |
def __init__(self, name): | |
self.name = name.capitalize() | |
def sayHi(self): | |
print "Hello " + self.name + "!" | |
hello = HelloWorld("world") | |
hello.sayHi() |
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 'dart:math'; | |
import 'dart:ui'; | |
import 'package:flutter/rendering.dart'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp( | |
MaterialApp( | |
debugShowCheckedModeBanner: false, | |
home: MyWidget(), |
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 'dart:io'; | |
import 'dart:convert'; | |
import 'dart:typed_data'; | |
const kDISCORD_WEBHOOK = "YOUR_KEY_HERE"; | |
const kIMDB_API_KEY = "YOUR_KEY_HERE"; | |
void main() async { | |
var server = await HttpServer.bind('127.0.0.1', 9000); | |
print("[Debug] Http server opened on http://127.0.0.1:9000/"); |