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
import java.awt.Dimension; | |
import javax.swing.JFrame; | |
/** | |
* Simple swing fully maximized window example. | |
* | |
* @author altayalp | |
*/ | |
public class FullMaximized { |
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
-- Check scheduler status before: | |
show processlist; | |
-- If you can see "event_scheduler" to user column, event scheduler is on. Else you must activate it. | |
SET GLOBAL event_scheduler = ON; | |
-- If you want to off event scheduler following this query. |
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
<?php | |
/** | |
* Person class | |
* | |
* @author altayalp <[email protected]> | |
*/ | |
class Person | |
{ | |
private $name; |
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
select user from mysql.user; | |
# or | |
select user, host from mysql.user; | |
# or | |
select * from mysql.user; |
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
import java.awt.Color; | |
import java.awt.Dimension; | |
import javax.swing.JFrame; | |
/** | |
* | |
* @author altayalp | |
*/ | |
public class HexBackgorundFrame { | |
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
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 |
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
import java.awt.Dimension; | |
import javax.swing.JFrame; | |
/** | |
* | |
* @author altayalp | |
*/ | |
public class NotResizable { | |
public static void main(String[] args) { | |
NotResizable window = new NotResizable(); |
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
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; | |
/** |
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
<?php | |
class Validate implements ValidateInterface | |
{ | |
public function isValid(array $data) | |
{ | |
return true; | |
} | |
} | |
class Auth implements AuthInterface |
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
<?php | |
interface MachineInterface | |
{ | |
public function open(); | |
public function heatWater(); | |
public function makeCoffee(); | |
OlderNewer