Note: This guide applies to the project created by quasar-cli.
First install typescript and ts-loaderpackages in your project.
npm i -D typescript ts-loaderThen modified the quasar.conf.js file in your project:
| <?php | |
| namespace App\Database; | |
| use Illuminate\Database\Eloquent\Builder; | |
| class EloquentQueryBuilder extends Builder | |
| { | |
| /** | |
| * Insert new records or update the existing ones. |
| <?php | |
| /* | |
| 0346745008178 | |
| Should fail - checksum should be 9 | |
| 5060096384137 | |
| Should pass | |
| 5020650002112 |
| import {Injectable} from '@angular/core'; | |
| import {Cache} from '../utils/storage.provider'; // Decorator to access local storage | |
| let OneSignal; | |
| const url = ''; | |
| @Injectable() | |
| export class OneSignalService { | |
| @Cache({pool: 'OneSignal'}) oneSignalInit; // to check if OneSignal is already initialized. |
Note: This guide applies to the project created by quasar-cli.
First install typescript and ts-loaderpackages in your project.
npm i -D typescript ts-loaderThen modified the quasar.conf.js file in your project:
| // EmailInput wraps an HTML `input` and adds some app-specific styling. | |
| const EmailInput = React.forwardRef((props, ref) => ( | |
| <input ref={ref} {...props} type="email" className="AppEmailInput" /> | |
| )); | |
| class App extends Component { | |
| emailRef = React.createRef(); | |
| render() { | |
| return ( |
This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).
This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"| //from https://css-tricks.com/snippets/jquery/smooth-scrolling/ | |
| // Scroll to specific values | |
| // scrollTo is the same | |
| window.scroll({ | |
| top: 2500, | |
| left: 0, | |
| behavior: 'smooth' | |
| }); |
| //App build.gradle | |
| apply plugin: 'com.android.application' | |
| apply plugin: 'kotlin-android' | |
| apply plugin: 'kotlin-android-extensions' | |
| apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin' | |
| android { | |
| compileSdkVersion 27 |
| # Mailhog | |
| MAIL_MAILER=smtp | |
| MAIL_HOST=0.0.0.0 | |
| MAIL_PORT=1025 | |
| MAIL_USERNAME=null | |
| MAIL_PASSWORD=null | |
| MAIL_ENCRYPTION=null |
v1 Online Demo: https://codesandbox.io/s/v1-angular-numeric-ljwlb
v2 Online Demo: https://codesandbox.io/s/v2-angular-numeric-3w2wr