Skip to content

Instantly share code, notes, and snippets.

View nunomazer's full-sized avatar
🎯
Coding ... allways

Ademir Mazer Jr [ Nuno ] nunomazer

🎯
Coding ... allways
View GitHub Profile
@nunomazer
nunomazer / main.dart
Last active March 25, 2020 21:49
Condicionais em Dart
void main(){
double media = 4.9;
// IF (condiçao verdadeira) / ELSE
if (media < 6.0){
print("Reprovado!");
} else {
print("Aprovado!");
}
@nunomazer
nunomazer / main.dart
Created March 25, 2020 21:34
Variáveis em Dart
void main() {
// Variável que armazena números inteiros
int idade = 47;
print("Idade: $idade");
// Variável que armazena números decimais
double raio = 10.25;
print("Raio: $raio");
// Variável que armazena caracteres e textos
@nunomazer
nunomazer / primeira-pagina-validacao-js.html
Created August 20, 2018 01:53
Primeira página HTML com CSS e validação JavaScript, Livro Desenvolvimento Web com Java
<html>
<head>
<title>Contato com Minha Empresa.com</title>
<meta author="Ademir Mazedr Junior" />
<meta description="Página HTML de exemplo com formulário" />
<style>
body {
margin:0;
border-top: 6px solid #0066aa;
@nunomazer
nunomazer / primeira-pagina-css.html
Created August 19, 2018 22:30
Primeira página HTML com CSS, Livro Desenvolvimento Web com Java
<html>
<head>
<title>Contato com Minha Empresa.com</title>
<meta author="Ademir Mazedr Junior" />
<meta description="Página HTML de exemplo com formulário" />
<style>
body {
margin:0;
border-top: 6px solid #0066aa;
@nunomazer
nunomazer / index.html
Last active August 19, 2018 22:30
Primeira página HTML, Livro Desenvolvimento Web com Java
<html>
<head>
<title>Contato com Minha Empresa.com</title>
<meta author="Ademir Mazedr Junior" />
<meta description="Página HTML de exemplo com formulário" />
</head>
<body>
<h1>Minha Empresa.com</h1>
<hr />
<section>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--Created by yFiles for HTML 2.1.0.3-RC3-->
<graphml xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml.html/2.0/ygraphml.xsd " xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:demostyle="http://www.yworks.com/yFilesHTML/demos/FlatDemoStyle/1.0" xmlns:bpmn="http://www.yworks.com/xml/yfiles-for-html/bpmn/2.0" xmlns:demotablestyle="http://www.yworks.com/yFilesHTML/demos/FlatDemoTableStyle/1.0" xmlns:uml="http://www.yworks.com/yFilesHTML/demos/UMLDemoStyle/1.0" xmlns:compat="http://www.yworks.com/xml/yfiles-compat-arrows/1.0" xmlns:VuejsNodeStyle="http://www.yworks.com/demos/yfiles-vuejs-node-style/1.0" xmlns:y="http://www.yworks.com/xml/yfiles-common/3.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/3.0" xmlns:yjs="http://www.yworks.com/xml/yfiles-for-html/2.0/xaml" xmlns:sys="http://www.yworks.com/xml/yfiles-common/markup/primitives/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
@nunomazer
nunomazer / .bashrc
Last active August 28, 2015 17:59 — forked from patik/.bashrc
Bash configure proxy for corporate network
# configure proxy for git while on corporate network
# From https://gist.github.com/garystafford/8196920
function proxy_on(){
# assumes $USERDOMAIN, $USERNAME, $USERDNSDOMAIN
# are existing Windows system-level environment variables
# assumes $PASSWORD, $PROXY_SERVER, $PROXY_PORT
# are existing Windows current user-level environment variables (your user)
# environment variables are UPPERCASE even in git bash
@nunomazer
nunomazer / README.md
Created April 24, 2015 11:50
MOCK DATA

README is empty

@nunomazer
nunomazer / alias-cinnamon-restar.sh
Last active August 29, 2015 14:16
Recover cinnamon crashes or freezes -- remove cinnamon
# in my .bash_aliases makes it faster: crtl-alt-1, login, cinnamon-restart, ctrl-alt-7
alias cinnamon-restart='cinnamon –replace -d :0.0 > /dev/null 2>&1 &'
#!/bin/sh
# Laravel 5 new project setup bash script.
# Inspired by Mitchell van Wijngaarden
# Extended by John in 't Hout
projectname=$1
git clone -o laravel -b develop https://github.com/laravel/laravel.git ${projectname} >/dev/null
cd ${projectname}
git checkout --orphan master