I hereby claim:
- I am lucasmw on github.
- I am lucasmw (https://keybase.io/lucasmw) on keybase.
- I have a public key ASD6j5Crd78ph9hEx2Tfx5mvL3MrndGFIdRgCuE9AJAaIwo
To claim this, I am signing this object:
import 'dart:convert'; | |
import 'dart:io'; | |
import 'package:csv/csv.dart'; | |
const projectPaTH = "."; //EDIT THIS | |
const enPath = '$projectPATH/lib/assets/l10n/app_en.arb'; | |
const esPath = '$projectPATH/lib/assets/l10n/app_es.arb'; | |
const ptPath = '$projectPATH/lib/assets/l10n/app_pt.arb'; | |
String toCapitalized(String x) { |
// | |
// ImageCache.swift | |
// MWN - Minimal World News | |
// | |
// Created by Lucas Menezes on 1/22/20. | |
// Copyright © 2020 Lucas Menezes. All rights reserved. | |
// | |
import UIKit |
I hereby claim:
To claim this, I am signing this object:
Generated by HAC (HeadAche Comp) | |
CL | |
>+<[>-]>[->+>[<-]<[<]>[-<+>]]<-[+<>+<[>-]>[->>-<]<<->+<[>-]>[->+>[<-]<[<]>[-<+>]]<-]<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+<+[>-]>[->>+<]<<>+ |
rm ~/Library/Caches/CocoaPods/search_index.json | |
pod search |
#Provide simple demonstration of the power of Headache | |
git clone -b master --single-branch http://github.com/LucasMW/Headache; | |
cd Headache; | |
make; | |
make bfi; | |
./hac -noBin examples/bottlesofbeer.ha >/dev/null; | |
time say --voice=Daniel $(./bfi a.bf) |
+++++++ [ > ++++++++++ < - ] > -- . > ++++++++++ [ > ++++++++++ < - ] > --- . > +++++++++++ [ > ++++++++++ < - ] > ++++ . ------ . --- . +++++ . > ++++++++++ [ > ++++++++++ < - ] > +++ . > ++++ [ > +++++++++++ < - ] > . > +++++ [ > ++++++ < - ] > ++ . > ++++++++++ [ > ++++++++++ < - ] > ++ . > +++++++++++ [ > ++++++++++ < - ] > + . +++ . < < + . ++ . > > ++++ . << ---- . >>> +++++ [ > ++++++ < - ] > ++ . > +++++++++++ [ > ++++++++++ < - ] > - . > ++++++++++ [ > ++++++++++ < - ] > + . > +++++++++ [ > +++++++ < - ] > . [-]++++++++++. |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
<++ 2 as short | |
<<<<<<<<<<<<<<<<>+<[>-]>[->+>[<-]<[<]>[-<+>]]<-[+<>+<[>-]>[->>-<]<<->+<[>-]>[->+>[<-]<[<]>[-<+>]]<-]<>>>>>>>>>>>>>>>>>+<[>-]>[->+>[<-]<[<]>[-<+>]]<-[+<<<<<<<<<<<<<<<<<>+<+[>-]>[->>+<]<<>>>>>>>>>>>>>>>>>+<[>-]>[->>-<]<<->+<[>-]>[->+>[<-]<[<]>[-<+>]]<-]<Assign | |
>>>>>>>>++++++++++ 10 as short | |
Change both shorts if you wanna pow different numbers; Do not change the assign line; Do not | |
change any other part of the program; |
let url = URL(string: "https//api.meusite.org") | |
do { | |
let data = try Data(contentsOf: url!) | |
let json = try JSONSerialization.jsonObject(with: data, options:.allowFragments) | |
let array = json as! [String: Any] | |
for (key,data) in array { | |
let dict = data as! [String : Any] | |
//print(key) | |
//print(data) | |