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
| // Defining Colors | |
| $white_chocolate: #A99386; | |
| $milk_chocolate : #523027; | |
| $caramel_chocolate: #9C6D51; | |
| $dark_chocolate : #5D4446; | |
| $silver_spoons: #a79c8e; | |
| $strawberry_chocolate: #f1bbba; | |
| $strawberry_mousse: #EB9F9F; |
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
| Ext.Function.interceptBefore(Ext.layout.Context.prototype, 'run', function () { console.log('Layout run has occurred - look at the call stack'); debugger; }) |
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
| { | |
| "name": "starterapp", | |
| "version": "1.0.0", | |
| "description": "A starter Ext JS 6 App", | |
| "main": "./app/main.js", | |
| "scripts": { | |
| "start": "electron .", | |
| "package": "electron-packager ./ starterapp --all --out ./dist --overwrite", | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, |
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
| const {app, BrowserWindow} = require('electron'); | |
| function createWindow () { | |
| console.log('Hello from electron'); | |
| // Create the browser window. | |
| mainWindow = new BrowserWindow({width: 800, height: 600}) | |
| // and load the index.html of the app. |
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
| { | |
| "name": "starterapp", | |
| "version": "1.0.0", | |
| "description": "A starter Ext JS 6 App", | |
| "main": "./app/main.js", | |
| "scripts": { | |
| "start": "electron .", | |
| "package": "electron-packager ./ starterapp --platform=darwin --out ./dist --overwrite", | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, |
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
| grep --include \*.cpp --include \*.hpp --include \*.xml --include \*.json --include \*.js -rli 'FROM_STRING' * | xargs sed -i '' 's/FROM_STRING/TO_STRING/g' |
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
| # wget https://gist.githubusercontent.com/shikhirsingh/091cb3513a4ace097b0d4d5a3b5dcc9e/raw/2c8b00808d5874737c7e70c9b937bb69e74cb41a/docker-compose.yml | |
| version: '3' | |
| services: | |
| auroradb: | |
| image: mysql:5.6 | |
| ports: | |
| - "3306:3306" | |
| environment: |
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
| curl -X POST https://rest-api.telesign.com/v1/messaging \ | |
| -d phone_number=XXXXXXXX \ | |
| -d message="You have a dentist appointment at 2:15pm" \ | |
| -d message_type="ARN" \ | |
| -u "CUSTOMER_ID":"API_KEY" |
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
| curl -X POST https://rest-api.telesign.com/v1/score/<complete_phone_number> \ | |
| -d account_lifecycle_event="sign-in" \ | |
| -u "CUSTOMER_ID":"API_KEY" |
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
| # This only works on a Unix/Linux system | |
| curl -X POST https://rest-api.telesign.com/v1/messaging \ | |
| -d phone_number=XXXXXXXX \ | |
| -d message="Your code is $RANDOM" \ | |
| -d message_type="ARN" \ | |
| -u "CUSTOMER_ID":"API_KEY" |
OlderNewer