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 'dart:convert'; | |
import 'dart:async'; | |
import 'package:socket_io_client/socket_io_client.dart' as IO; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(const MyApp()); | |
class MyApp extends StatelessWidget { | |
const MyApp({Key? key}) : super(key: key); |
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
from botocore.vendored import requests | |
from botocore.exceptions import ClientError | |
import boto3 | |
import json | |
import decimal | |
import re | |
dynamodb = boto3.resource('dynamodb') | |
table = dynamodb.Table('flags') |
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
var https = require('https'); | |
var util = require('util'); | |
var querystring= require('querystring'); | |
var zlib = require('zlib'); | |
var APP_ID = 'YOUR_APP_ID', | |
ACCESS_KEY = 'YOUR_ACCESS_KEY', | |
SECRET_KEY = 'YOUR_SECRET_KEY', | |
DEVICE_ID = 'TEST_SERVER_1'; |
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 XCPlayground | |
import UIKit | |
import QuartzCore | |
let zoom:CGFloat = 0.5 | |
let deviceSize = CGSize(width: 640*zoom, height: 1136*zoom) | |
let statusBarHeight:CGFloat = 48*zoom | |
let navBarHeight:CGFloat = 88*zoom | |
let tabBarHeight:CGFloat = 98*zoom | |
let bgColor = UIColor(white: 0, alpha: 0.01) |