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
| // Usage: | |
| // $('.box').parentToAnimate($('.new-parent'), 200); | |
| // $('.box').parentToAnimate($('.new-parent'), 'slow'); | |
| // $('.box').parentToAnimate('.new-parent', 'slow'); | |
| jQuery.fn.extend({ | |
| // Modified and Updated by MLM | |
| // Origin: Davy8 (http://stackoverflow.com/a/5212193/796832) | |
| parentToAnimate: function(newParent, duration) { | |
| duration = duration || 'slow'; |
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.scene.paint.Color; | |
| import javafx.scene.shape.LineTo; | |
| import javafx.scene.shape.MoveTo; | |
| import javafx.scene.shape.Path; | |
| /** | |
| * | |
| * @author kn | |
| */ | |
| public class Arrow extends Path{ |
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
| export default class UUID { | |
| constructor() { | |
| var d = new Date().getTime(); | |
| var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => { | |
| var r = (d + Math.random() * 16) % 16 | 0; | |
| d = Math.floor(d / 16); | |
| return (c == 'x' ? r : (r & 0x3 | 0x8)).toString(16); | |
| }); | |
| return uuid; | |
| } |
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 com.mmdemirbas.lab; | |
| /** | |
| * Created by md on 5.04.2016. | |
| */ | |
| import javafx.application.Application; | |
| import javafx.application.Platform; | |
| import javafx.collections.FXCollections; | |
| import javafx.collections.ObservableList; |
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 android.os.Handler; | |
| import android.os.SystemClock; | |
| import android.util.Log; | |
| import java.util.ArrayList; | |
| /** | |
| * @author ngocbeo1121 | |
| */ | |
| public class CountUpTimer { |
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
| ((?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%-_.]).{6,32}) |
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
| /* | |
| * To change this license header, choose License Headers in Project Properties. | |
| * To change this template file, choose Tools | Templates | |
| * and open the template in the editor. | |
| */ | |
| package manager; | |
| import java.util.function.UnaryOperator; | |
| import javafx.application.Application; | |
| import static javafx.application.Application.launch; |
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 javaFxUtils; | |
| import java.io.PrintWriter; | |
| import java.io.StringWriter; | |
| import javafx.collections.ListChangeListener; | |
| import javafx.collections.ObservableList; | |
| import javafx.scene.control.Alert; | |
| import javafx.scene.control.Alert.AlertType; |
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 Database{ | |
| private $host="localhost"; | |
| private $username="root"; | |
| private $password="mysql"; | |
| private $database="sale"; | |
| private $DbCon; | |
| public function connect(){ |
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 name=""> | |
| <option value="USD" selected="selected">United States Dollars</option> | |
| <option value="EUR">Euro</option> | |
| <option value="GBP">United Kingdom Pounds</option> | |
| <option value="DZD">Algeria Dinars</option> | |
| <option value="ARP">Argentina Pesos</option> | |
| <option value="AUD">Australia Dollars</option> | |
| <option value="ATS">Austria Schillings</option> | |
| <option value="BSD">Bahamas Dollars</option> | |
| <option value="BBD">Barbados Dollars</option> |