-
Create new keystore.jks file with comand line (not android studio build menu)
Linux:
keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks
Windows:
"C:\Program Files\Android\Android Studio\jre\bin\keytool.exe" -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore "C:\keystore_new.jks"
-
Generate a .pem file from new keystore
This file contains hidden or 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 | |
service=$1 | |
action=$2 | |
if [ $service == 'lampp' ] | |
then | |
sudo /opt/lampp/./manager $action | |
else | |
sudo service $service $action |
This file contains hidden or 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
# 2048.py | |
# Written in python / pygame by DavidSousaRJ - [email protected] | |
# License: Creative Commons | |
# Sorry about some comments in portuguese! | |
import os | |
import sys | |
import pygame | |
from pygame.locals import * | |
from random import randint |