Skip to content

Instantly share code, notes, and snippets.

View charlenopires's full-sized avatar
💭
I may be slow to respond.

Charleno Pires charlenopires

💭
I may be slow to respond.
View GitHub Profile
@charlenopires
charlenopires / app.dart
Created March 15, 2021 18:32
Codigo do App do Grupo X
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
debugShowCheckedModeBanner: false,
title: "IMCApp",
home: MeuApp(),
));
}
@charlenopires
charlenopires / app.py
Created January 6, 2020 03:28
1a Aula de Flask
# -*- coding:utf-8 -*-
from flask import Flask, render_template, url_for, request, redirect
from flask_sqlalchemy import SQLAlchemy
from datetime import datetime
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///crud.db'
db = SQLAlchemy(app)
@charlenopires
charlenopires / README.md
Created October 18, 2019 03:09 — forked from joyrexus/README.md
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@charlenopires
charlenopires / free_courses.csv
Created September 13, 2019 22:49
190 universities just launched 600 free online courses. Here’s the full list. - https://qz.com/1437623/600-free-online-courses-you-can-take-from-universities-worldwide/
Category Title URL
Programming CS50’s Introduction to Game Development from Harvard University https://www.class-central.com/course/edx-cs50-s-introduction-to-game-development-11504
Programming CS50’s Mobile App Development with React Native from Harvard University https://www.class-central.com/course/edx-cs50-s-mobile-app-development-with-react-native-11505
Programming CS50’s Web Programming with Python and JavaScript from Harvard University https://www.class-central.com/course/edx-cs50-s-web-programming-with-python-and-javascript-11506
Programming Functions, Methods, and Interfaces in Go from University of California, Irvine https://www.class-central.com/course/coursera-functions-methods-and-interfaces-in-go-12050
Programming Concurrency in Go from University of California, Irvine https://www.class-central.com/course/coursera-concurrency-in-go-12047
Programming Getting Started with Go from University of California, Irvine https://www.class-central.com/course/coursera-getting-started-with-go-1204
@charlenopires
charlenopires / main.dart
Created June 14, 2019 22:06
Learning Dart
main() {
final List<Map<String, dynamic>> menu = [
{"icon": "gradient", "description": "GRADIENTS"},
{"icon": "crop_16_9", "description": "BUTTONS"},
{"icon": "view_agenda", "description": "CARDS"},
{"icon": "view_headline", "description": "MENU"},
{"icon": "style", "description": "TEXT STYLE"},
{"icon": "input", "description": "INPUTS"},
{"icon": "assignment", "description": "FORMS"},
{"icon": "date_range", "description": "DATEPICKER"},
main() {
final List<Map<String, dynamic>> menu = [
{"icon": "gradient", "description": "GRADIENTS"},
{"icon": "crop_16_9", "description": "BUTTONS"},
{"icon": "view_agenda", "description": "CARDS"},
{"icon": "view_headline", "description": "MENU"},
{"icon": "style", "description": "TEXT STYLE"},
{"icon": "input", "description": "INPUTS"},
{"icon": "assignment", "description": "FORMS"},
{"icon": "date_range", "description": "DATEPICKER"},
@charlenopires
charlenopires / index.html
Created September 3, 2018 23:03
Desafio em Dart para um Meetup
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="scaffolded-by" content="https://github.com/google/stagehand">
<title>bolo</title>
<link rel="stylesheet" href="styles.css">
@charlenopires
charlenopires / main.dart
Created July 11, 2018 22:47
Example of Async/Await in Dart
import 'dart:async';
import 'dart:html';
Future main() async {
try{
final response = await HttpRequest.getString('https://rebounce.online/api/time');
print('Request was successful');
print(response);
}catch(error){
print('The request was not successful');
@charlenopires
charlenopires / debug.keystore
Created November 12, 2017 23:00
Configuring KeyTool for Android
To local.properties in Gradle Directory
=============================
storeFile=debug.keystore
storePassword=android
keyAlias=AndroidDebugKey
keyPassword=android
Commands
============================
@charlenopires
charlenopires / index.html
Created May 18, 2017 00:41
Perfs2Recursion
<input type="button" onclick="run()" value="Start" />
<div id="output" style="white-space:pre-wrap;">
</div>