/*
Made by [egy.js](https://www.instagram.com/egy.js/);
*/
install it on your localhost and try it :
| const params = args.widgetParameter ? args.widgetParameter.split(",") : []; | |
| const isDarkTheme = params?.[0] === "dark"; | |
| const padding = 1; | |
| const widget = new ListWidget(); | |
| if (isDarkTheme) { | |
| widget.backgroundColor = new Color("#1C1C1E"); | |
| } | |
| widget.setPadding(padding, padding, padding, padding); |
| DB_CONNECTION=mysql | |
| DB_HOST=127.0.0.1 | |
| DB_PORT=3306 | |
| DB_DATABASE=dbname | |
| DB_USERNAME=root | |
| DB_PASSWORD="0000" |
| version: '3.1' | |
| services: | |
| mysql_inst: | |
| image: mysql:latest | |
| command: --default-authentication-plugin=mysql_native_password | |
| # ports: | |
| # - 8083:3306 | |
| volumes: |
| version: '2' | |
| services: | |
| db: | |
| image: datajoint/mysql | |
| ports: | |
| - "3306:3306" | |
| environment: | |
| - MYSQL_ROOT_HOST='127.0.0.1' | |
| - MYSQL_ROOT_PASSWORD=simple |
| <?php | |
| namespace App\Http\Controllers; | |
| use Illuminate\Http\Request; | |
| use stdClass; | |
| use Illuminate\Http\Response; | |
/*
Made by [egy.js](https://www.instagram.com/egy.js/);
*/
install it on your localhost and try it :
| // | |
| // Created by Nick Vance on 12/4/15. | |
| // Modified by Ryan Reece on 11/14/16. | |
| // | |
| import AVKit | |
| import XCDYouTubeKit | |
| import TVMLKit | |
| class YTPlayerViewController: AVPlayerViewController, AVPlayerViewControllerDelegate { |
| /*! | |
| * @license MIT | |
| * @preserve | |
| * | |
| * vUnit: A vanilla JS alternative for vh and vw CSS units. | |
| * https://github.com/joaocunha/v-unit/ | |
| * | |
| * @author João Cunha - joao@joaocunha.net - twitter.com/joaocunha | |
| */ |
?>
| $.fn.mqueryjs({ | |
| 'type': 'screen', | |
| 'token': 'only', | |
| 'unit': 'px', | |
| 'container': 'body', | |
| 'zones': { | |
| 'small': { | |
| 'min': 0, | |
| 'max': 320 |