/etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
wpa-ssid <your_router>
wpa-psk <your_wpa_key>
sudo ifup -v wlan0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Atualizar o sistema | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install -y software-properties-common | |
sudo apt-get install -y python-software-properties build-essential libssl-dev | |
#Java | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install -y oracle-java8-installer |
Ao som Davi Sacer do Spotify.
Instalando:
sudo gem install jekyll
- pronto já temos o Jekyll instalando em nossa maquina..
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.container { | |
border: 1px dashed #000; | |
display: flex; | |
flex-wrap: wrap; | |
width: 100%; | |
max-width: 700px; | |
margin: 0 auto; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Criando a collection | |
db.createCollection('ciclo_pagamento_pelada'); | |
//Inseriando dados a collection | |
db.ciclo_pagamento_pelada.insert({nome: 'Janeiro/17', mes: 1, ano: 2017}); | |
db.ciclo_pagamento_pelada.insert({nome: 'Fevereiro/17', mes: 2, ano: 2017, | |
creditos: [ | |
{nome: 'Mensalidade Time Branco', valor: 200, status: 'PAGO'} | |
], | |
debitos: [ | |
{nome: 'Arbitragem', valor: 100, status: 'PENDENTE'}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Ubuntu Developer Script For Ionic Framework | |
# Created by Nic Raboy | |
# http://www.nraboy.com | |
# | |
# | |
# Downloads and configures the following: | |
# | |
# Java JDK | |
# Apache Ant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('app').service('commonService', commonService); | |
function commonService() { | |
//DFS for fixing JSON references | |
var elements = {} | |
this.fixReferences = function (json) { | |
var tree = json; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.factory(SecurityHttpInterceptor, 'SecurityHttpInterceptor') | |
SecurityHttpInterceptor.$inject = ['$q']; | |
function SecurityHttpInterceptor($q) { | |
console.log("Entrou") | |
return function (promise) { | |
console.log(promise) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.run(function($rootScope) { | |
// console.log("online:" + navigator.onLine); | |
$rootScope.online = navigator.onLine ? 'online' : 'offline'; | |
$rootScope.$apply(); | |
if (window.addEventListener) { | |
window.addEventListener("online", function() { | |
$rootScope.online = "online"; | |
$rootScope.$apply(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
npm install express | |
npm install mongodb --mongodb:native | |
npm install mongoose | |
npm install jade |
NewerOlder