Skip to content

Instantly share code, notes, and snippets.

View jacksonfdam's full-sized avatar
💻
Coding...

Jackson F. de A. Mafra jacksonfdam

💻
Coding...
View GitHub Profile
@jacksonfdam
jacksonfdam / AsyncThread.java
Last active August 29, 2015 13:57
Exemplo Aula Android - Baixar imagem por Thread x Async Task
/*
Async Task
AsyncTask was written to provide a convenient, easy-to-use way to achieve background processing in Android apps,
without worrying too much about the low-level details(threads, message loops etc).
It provides callback methods that help to schedule tasks and also to easily update the UI whenever required.
AsyncTask runs a set of actions in a separate thread, can show progress during its work and show notification
when the task is completed.
However, there is a limit to the number of jobs that can be scheduled using AsyncTasks.
#!/bin/bash
#
# Programa: create.sh
# Autor: Vitor Britto
#
# Descrição:
# Este script será responsável pela criação de uma estrutura
# para novos projetos, incluindo a integração de tecnologias
# utilizadas atualmente nos projetos web
#!/bin/bash
#
# General
# ---------------------------------------------------
# Create a data URI from a file
datauri() {
local mimeType=""
{
"name": "",
"version": "",
"private": true,
"author": "Vitor Britto <code@vitorbritto.com.br>",
"description": "",
"bin": {},
"scripts": {
"start": "",
"test": ""
{
"bitwise": true,
"eqeqeq": true,
"eqnull": true,
"immed": true,
"newcap": true,
"esnext": true,
"latedef": true,
"noarg": true,
"node": true,

Plano de Ensino

HTML5

  • História
  • Evolução
  • Semântica
  • Acessibilidade
  • API's
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8"/>
<title>HTML5 e CSS3</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="author" href="" />
<link rel="index" href="" />
<link rel="home" href="" />
<link rel="up" href="" />
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8"/>
<title>HTML5 e CSS3</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if lt IE 9]>
@jacksonfdam
jacksonfdam / AndroidWay.java
Created May 9, 2014 03:34
A brief example of what RoboGuice does
class AndroidWay extends Activity {
TextView name;
ImageView thumbnail;
LocationManager loc;
Drawable icon;
String myName;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);