-
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
#!/bin/sh | |
# https://stackoverflow.com/questions/750172/how-do-i-change-the-author-and-committer-name-email-for-multiple-commits | |
git filter-branch --env-filter ' | |
OLD_EMAIL="[email protected]" | |
CORRECT_NAME="Your Correct Name" | |
CORRECT_EMAIL="[email protected]" | |
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] | |
then |
This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"kind": "brand event", | |
"etag": "\"9798284412176\"", | |
"id": "9486a51e-b34d-3965-8f8c-30ed0919d893", | |
"status": "not confirmed", | |
"htmlLink": "http:\/\/schowalter.info\/", | |
"created": "2025-01-02T05:51:35.259Z", | |
"updated": "2025-01-02T05:51:35.259Z", | |
"summary": "Et est aperiam harum saepe vel necessitatibus.", |
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
public function consultZip($zip) | |
{ | |
$client = new Client(["http://viacep.com.br/ws/" . $zip . "/json/"]); | |
$result = $client->request('get', "http://viacep.com.br/ws/" . $zip . "/json/", ['Accept' => 'application/json']); | |
$output = $result->getBody()->getContents(); | |
return $output; | |
} |
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 | |
if(!$worry){ | |
foreach($things as $little_thing){ | |
$little_thing->all_right(); | |
} | |
} |
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
# kill containers | |
function docker-kill-containers(){ | |
docker kill $(docker ps -q) | |
} | |
# remove stoped containers | |
function docker-remove-containers(){ | |
docker rm $(docker ps -a -q) | |
} |
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
# encode | |
cat key.txt | base64 -w0 | |
# decode | |
cat stribng | base64 --decode |
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 type="text/css"> | |
.float{ | |
position:fixed; | |
width:60px; | |
height:60px; | |
bottom:40px; | |
right:40px; | |
background-color:#25d366; | |
color:#FFF; | |
border-radius:50px; |
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 | |
rdesktop 192.168.10.100 -f |
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
########################################################### | |
# General Setup | |
########################################################### | |
### Application Path ################################################################################################### | |
# Point to your code, will be available at `/var/www`. | |
APPLICATION=../ | |
### PHP Version ######################################################################################################## |
NewerOlder