Select database
use my_db;
Mysql: Create table. MongoDb: Create collection
CREATE TABLE `users` (
<?xml version="1.0" encoding="UTF-8"?> | |
<?import javafx.scene.*?> | |
<?import javafx.scene.effect.*?> | |
<?import javafx.geometry.*?> | |
<?import javafx.scene.layout.*?> | |
<?import javafx.scene.image.*?> | |
<?import java.lang.*?> | |
<?import javafx.scene.control.*?> |
Select database
use my_db;
Mysql: Create table. MongoDb: Create collection
CREATE TABLE `users` (
<?php | |
interface MachineInterface | |
{ | |
public function open(); | |
public function heatWater(); | |
} |
<?php | |
interface MachineInterface | |
{ | |
public function open(); | |
public function heatWater(); | |
public function makeCoffee(); | |
<?php | |
class Validate implements ValidateInterface | |
{ | |
public function isValid(array $data) | |
{ | |
return true; | |
} | |
} | |
class Auth implements AuthInterface |
import javafx.application.Application; | |
import static javafx.application.Application.launch; | |
import javafx.collections.FXCollections; | |
import javafx.collections.ObservableList; | |
import javafx.scene.Scene; | |
import javafx.scene.control.ComboBox; | |
import javafx.scene.layout.StackPane; | |
import javafx.stage.Stage; | |
/** |
import java.awt.Dimension; | |
import javax.swing.JFrame; | |
/** | |
* | |
* @author altayalp | |
*/ | |
public class NotResizable { | |
public static void main(String[] args) { | |
NotResizable window = new NotResizable(); |
import javafx.application.Application; | |
import javafx.collections.FXCollections; | |
import javafx.collections.ObservableList; | |
import javafx.scene.Scene; | |
import javafx.scene.control.ListView; | |
import javafx.scene.layout.StackPane; | |
import javafx.stage.Stage; | |
/** | |
* Simple javafx listView example |
import java.awt.Color; | |
import java.awt.Dimension; | |
import javax.swing.JFrame; | |
/** | |
* | |
* @author altayalp | |
*/ | |
public class HexBackgorundFrame { | |
select user from mysql.user; | |
# or | |
select user, host from mysql.user; | |
# or | |
select * from mysql.user; |