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
| { | |
| "enabled": "true", | |
| "preferences": { | |
| "EVENT": [ | |
| "EMAIL", | |
| "PUSH" | |
| ], | |
| "BLOG": [ | |
| "EMAIL", | |
| "PUSH" |
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
| package login; | |
| import javafx.event.*; | |
| import javafx.fxml.FXML; | |
| import javafx.scene.control.*; | |
| /** Controls the login screen */ | |
| public class LoginController { | |
| @FXML private TextField user; | |
| @FXML private TextField password; |
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
| apply plugin: 'com.jfrog.bintray' | |
| version = libraryVersion | |
| if (project.hasProperty("android")) { // Android libraries | |
| task sourcesJar(type: Jar) { | |
| classifier = 'sources' | |
| from android.sourceSets.main.java.srcDirs | |
| } |
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
| apply plugin: 'com.github.dcendents.android-maven' | |
| group = publishedGroupId // Maven Group ID for the artifact | |
| install { | |
| repositories.mavenInstaller { | |
| // This generates POM.xml with proper parameters | |
| pom { | |
| project { | |
| packaging 'aar' |
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
| from Crypto.Hash import MD5 | |
| from Crypto.Cipher import DES | |
| import re | |
| import base64 | |
| _password = '111' #use your own pass key | |
| _salt = '\xA9\x9B\xC8\x32\x56\x35\xE3\x03' #use your salt here | |
| _iterations = 19 #change iterations here | |
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
| from sys import exit | |
| from random import randint | |
| class Scene(object): | |
| def enter(self): | |
| print "This scene is not yet configured. Subclass it and implement enter()." | |
| exit(1) | |
| class Engine(object): |