Skip to content

Instantly share code, notes, and snippets.

Avatar

Charleno Pires charlenopires

View GitHub Profile
@charlenopires
charlenopires / app.dart
Created Mar 15, 2021
Codigo do App do Grupo X
View app.dart
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
debugShowCheckedModeBanner: false,
title: "IMCApp",
home: MeuApp(),
));
}
@charlenopires
charlenopires / app.py
Created Jan 6, 2020
1a Aula de Flask
View app.py
# -*- 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 Oct 18, 2019 — forked from joyrexus/README.md
Vanilla JS equivalents of jQuery methods
View README.md

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@charlenopires
charlenopires / free_courses.csv
Created Sep 13, 2019
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/
View free_courses.csv
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
View main.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"},
View main.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"},
@charlenopires
charlenopires / index.html
Created Sep 3, 2018
Desafio em Dart para um Meetup
View index.html
<!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 Jul 11, 2018
Example of Async/Await in Dart
View main.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 Nov 12, 2017
Configuring KeyTool for Android
View debug.keystore
To local.properties in Gradle Directory
=============================
storeFile=debug.keystore
storePassword=android
keyAlias=AndroidDebugKey
keyPassword=android
Commands
============================
View index.html
<input type="button" onclick="run()" value="Start" />
<div id="output" style="white-space:pre-wrap;">
</div>