-
ionic build --release android
vai gerar um apk na pastaDoProjeto/platforms/android/build/output/android-unsigned.apk. Renomeie o arquivo paranomeDoApk-unsigned.apk
-
Na pasta do java/jde-AlgumaVersao/bin:
keytool -genkey -v -keystore nomeDaChave.keystore -alias aliasQueVcEscolhe -keyalg RSA -keysize 2048 -validity 1000
-
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore nomeDaChave.keystore nomeDoApk-unsigned.apk aliasQueVcEscolheu
-
na pasta do android-adt/sdk/build-tools/algumaVersao:
zipalign -v 4 nomeDoApk-unsigned.apk nomeQueVcQuerDarParaOApk.apk
-
Prontinho. Preencha tudo e tire os prints para o Google Play Developer Console, envie o Apk. `
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
# docker run -it \ | |
# -v /tmp/.X11-unix:/tmp/.X11-unix \ | |
# -v $HOME:/workspace \ | |
# -e DISPLAY=$DISPLAY \ | |
# --privileged | |
# photoshop | |
# | |
FROM jess/wine | |
MAINTAINER Jonathan Gautheron <jgautheron@neverblend.in> |
- Verifique se já possui chave gerada com
cat ~/.ssh/id_rsa.pub
- Caso não possua, crie uma com
ssh-keygen -t rsa
- Execute o comando abaixo, para enviar sua RSA key para o servidor.
cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> .ssh/authorized_keys'
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
<?php | |
/* | |
Plugin Name: Import demo | |
Plugin URI: http://royduineveld.nl | |
Description: A demo import for my blog | |
Version: 1.0 | |
Author: Roy Duineveld | |
Author URI: http://royduineveld.nl | |
*/ |
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
<?php | |
// É aconselhável criar um backup do banco antes | |
// crie a taxonomia cidade na functions do tema | |
add_action('init', 'register_locations'); | |
function register_locations() { | |
register_taxonomy( 'cidade',array ( | |
0 => 'locais', | |
), | |
array( 'hierarchical' => true, |
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
<?php | |
/* | |
Plugin Name: Cria Key | |
Plugin URI: http://rcdev.com.br/palestra/_clients/angularJs | |
Description: Cria Keys e Secre para o wp_oauth sem necessidade de usar o WP-CLI (que só roda em Unix) | |
Author: Romulo_Ctba | |
Author URI:http://rcdev.com.br/romulo | |
Version: 0.1 | |
License: GPLv2 | |
*/ |
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
var fs = require('fs'); | |
var path = require('path'); | |
var Canvas = require('canvas'); | |
var Image = Canvas.Image; | |
var img = new Image(); | |
var mask = new Image(); | |
img.onload = function () { | |
var w = img.width; |
This method creates quickly new WP Instances and is great for testing, developping, and trying things without messing 'real' installations.
This aproach uses Docker as container system, and we will run 1 container with WP and another for the DB.
- Install docker. Since I had many problems using Docker for Windows (dont judge), I used Docker Toolbelt utility: https://docs.docker.com/toolbox/overview/#ready-to-get-started
NewerOlder