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
| module storage { | |
| export class Storage { | |
| public static $inject = [ | |
| '$window' | |
| ] | |
| constructor(private $window: angular.IWindowService) { | |
| } |
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
| module ui { | |
| export class ButtonDirective implements angular.IDirective { | |
| public template: string; | |
| constructor() { | |
| this.template = '<input class="btn" type="submit" value="Submit">'; | |
| } |
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
| -- Show databases and tables | |
| show databases; | |
| show tables; | |
| -- Show all users | |
| SELECT user FROM mysql.user; | |
| -- Create database and user (% login from anywhere) | |
| CREATE DATABASE 'newdb' | |
| CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password'; |
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
| settings.gradle | |
| --------------- | |
| rootProject.name = "myproject" | |
| include "buildSrc" | |
| rootProject.children.find{ it.name == "buildSrc" }.name = "myproject-build-src" | |
| buildSrc/build.gradle |