Skip to content

Instantly share code, notes, and snippets.

@asmengistu
asmengistu / country_data.json
Created August 10, 2022 23:29
Country Code and Emoji Flags Data (JSON)
'{"AC":{"code":"AC","unicode":"U+1F1E6 U+1F1E8","name":"Ascension Island","emoji":"🇦🇨"},"AD":{"code":"AD","unicode":"U+1F1E6 U+1F1E9","name":"Andorra","emoji":"🇦🇩"},"AE":{"code":"AE","unicode":"U+1F1E6 U+1F1EA","name":"United Arab Emirates","emoji":"🇦🇪"},"AF":{"code":"AF","unicode":"U+1F1E6 U+1F1EB","name":"Afghanistan","emoji":"🇦🇫"},"AG":{"code":"AG","unicode":"U+1F1E6 U+1F1EC","name":"Antigua & Barbuda","emoji":"🇦🇬"},"AI":{"code":"AI","unicode":"U+1F1E6 U+1F1EE","name":"Anguilla","emoji":"🇦🇮"},"AL":{"code":"AL","unicode":"U+1F1E6 U+1F1F1","name":"Albania","emoji":"🇦🇱"},"AM":{"code":"AM","unicode":"U+1F1E6 U+1F1F2","name":"Armenia","emoji":"🇦🇲"},"AO":{"code":"AO","unicode":"U+1F1E6 U+1F1F4","name":"Angola","emoji":"🇦🇴"},"AQ":{"code":"AQ","unicode":"U+1F1E6 U+1F1F6","name":"Antarctica","emoji":"🇦🇶"},"AR":{"code":"AR","unicode":"U+1F1E6 U+1F1F7","name":"Argentina","emoji":"🇦🇷"},"AS":{"code":"AS","unicode":"U+1F1E6 U+1F1F8","name":"American Samoa","emoji":"🇦🇸"},"AT":{"code":"AT","unicode":"U+1F1E6 U+1F1F9","nam
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
@asmengistu
asmengistu / robot.js
Created December 10, 2012 20:22
zealous2
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
defrot = 13;defmove =10;defturn = 20;
storage = {}
//rot = defrot;move = defmove;turn = defturn;
//ctime = 0;seenlast = 0;escape = -1;
@asmengistu
asmengistu / robot.js
Created December 10, 2012 20:03
ZEALOUS_ROBOT
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
defrot = 13;defmove =10;defturn = 20;
found = {last:-10,id:0,x:0,angle:0}
storage = {}
//rot = defrot;move = defmove;turn = defturn;