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
// Init Order | |
async initOrder( | |
user: User, | |
transactionId: string, | |
price: number, | |
name: string, | |
) { | |
const data = { | |
total_amount: price, |
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
license: mit |
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
license: mit |
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
license: mit |
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
license: mit |
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
license: mit |
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
/** | |
* Find any element that has dropdown ul | |
* and add "down arrow" to 1st level | |
* and "right arrow" to 2nd level | |
* | |
* @param {*} nodeList | |
*/ | |
const addArrowIconToDropdown = (nodeList) => { | |
const nodeListArray = Array.prototype.slice.call(nodeList) | |
nodeListArray.length > 0 && nodeListArray.forEach(list => { |
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
PHP - MARIA DB - LARAVEL - ATOM | |
# PHP + Maria DB: | |
$ sudo apt-add-repository ppa:ondrej/php | |
$ sudo apt-get install curl unzip phpunit mariadb-client mariadb-server sqlite3 php7.0 php7.0-cli php7.0-curl php7.0-mcrypt php7.0-sqlite3 php7.0-mbstring php7.0-zip php7.0-mysql php7.0-xml | |
$ which php | |
$ which mysql | |
# Composer + Laravel | |
Get the Composer first : https://getcomposer.org/download/ |
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
Software List: | |
1. SM Player | |
2. Deluge | |
3. Atom | |
4. Java | |
5. nitroshare | |
6. Gnome Tweak Tool | |
7. Numix | |
8. Adapta | |
9. Cryptsetup |
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
$('a[href*="#"]') | |
// Remove links that don't actually link to anything | |
.not('[href="#"]') | |
.not('[href="#0"]') | |
.click(function(event) { | |
// On-page links | |
if ( | |
location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') | |
&& | |
location.hostname == this.hostname |
NewerOlder