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
habilitar debug android | |
- clicar na versão algumas vezes | |
adb reboot bootloader | |
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a | |
Install twrp | |
- fastboot flash recovery twrp-3.1.1-0-athene.img |
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 | |
for i in {1..99..2} | |
do | |
echo "$i" | |
done | |
#!/bin/bash | |
# Read input name and display message | |
read name # ler input do usuário até o [ENTER] |
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
package com.springaction.knights; | |
public class BraveKnight implements Knight { | |
private Quest quest; | |
private Minstrel minstrel; | |
public BraveKnight(Quest quest, Minstrel minstrel) { | |
this.quest = quest; | |
this.minstrel = minstrel; |
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
{ | |
"Version":"2012-10-17", | |
"Statement": [{ | |
"Sid": "Allow Public Access to All Objects", | |
"Effect": "Allow", | |
"Principal": "*", | |
"Action": "s3:GetObject", | |
"Resource": "arn:aws:s3:::example.com/*" | |
} | |
] |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<select id="paises"></select> | |
<select id="cidades"></select> |
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
<bean id="applicationEventMulticaster" | |
class="org.springframework.context.event.SimpleApplicationEventMulticaster"> | |
<property name="taskExecutor" > | |
<bean class="org.springframework.core.task.SimpleAsyncTaskExecutor"> | |
</bean> | |
</property> | |
</bean |
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
grunt.registerTask('tag-revision', 'Tag the current build revision', function () { | |
grunt.task.requires('git-describe'); | |
grunt.file.write('public/version.json', JSON.stringify({ | |
version: grunt.config('pkg.version'), | |
revision: grunt.config('meta.revision'), | |
date: grunt.template.today() | |
})); | |
}); |
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
[submodule "java-parent"] | |
path = java-parent | |
url = git@gist.github.com:/bb301f403bbe939170a9.git |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>io.github.lordviktor</groupId> | |
<artifactId>java-parent</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<packaging>pom</packaging> |
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
## adicionar deb http://security.ubuntu.com/ubuntu trusty-security main | |
# /etc/rc.local (Monta HD automático) | |
# mkdir -p /media/OS | |
# mount /dev/sda5 /media/OS & | |
# exit 0 | |
sudo apt-get update | |
sudo apt-get -y upgrade |
NewerOlder