// https://mvnrepository.com/artifact/org.hibernate/hibernate-core
compile group: 'org.hibernate', name: 'hibernate-core', version: '5.2.16.Final'
// https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc
compile group: 'org.xerial', name: 'sqlite-jdbc', version: '3.21.0.1'
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
/* | |
References: | |
* https://www.baeldung.com/ormlite | |
* http://ormlite.com/javadoc/ormlite-core/doc-files/ormlite.html | |
* http://ormlite.com/javadoc/ormlite-core/ | |
*/ |
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
/* build.gradle | |
dependencies { | |
// https://mvnrepository.com/artifact/org.testng/testng | |
testCompile group: 'org.testng', name: 'testng', version: '6.14.3' | |
// https://mvnrepository.com/artifact/io.rest-assured/rest-assured | |
testCompile group: 'io.rest-assured', name: 'rest-assured', version: '3.1.0' | |
// https://mvnrepository.com/artifact/io.rest-assured/json-schema-validator | |
testCompile group: 'io.rest-assured', name: 'json-schema-validator', version: '3.1.0' |
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
import org.hibernate.Session; | |
import org.hibernate.SessionFactory; | |
import org.hibernate.Transaction; | |
import org.hibernate.cfg.Configuration; | |
import org.testng.annotations.BeforeClass; | |
import org.testng.annotations.Test; | |
import org.testng.Assert; | |
import javax.persistence.*; | |
import java.util.List; |
These are notes on making a TicTacToe game on Android.
Based on:
Create Android App with Empty Activity
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
import random | |
""" | |
A quick exercise in making a tic-tac-toe game in python 3 | |
""" | |
class Board: | |
def __init__(self): | |
self.newGame() |
Communication:
This is building a booktoor web application using PHP Laravel, Vue.JS
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
# -*- coding: utf-8 -*- | |
""" | |
This python script is used for dumping dbf database files | |
* python2.7 | |
""" |
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
javascript:(function(){ | |
var buttons = document.querySelectorAll('#menu ytd-toggle-button-renderer button.style-scope.yt-icon-button'); | |
var likes = buttons[0].attributes["aria-label"].nodeValue; | |
var dislikes = buttons[1].attributes["aria-label"].nodeValue; | |
var regex = /[\d,.]+/; | |
likes = likes.match(regex); | |
dislikes = dislikes.match(regex); | |
alert("Likes: " + likes + "\nDislikes: " + dislikes); | |
})(); |
NewerOlder