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
| { | |
| "$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
| "basics": { | |
| "name": "Eswara Rajesh Pinapala", | |
| "label": "Engineering & Tech Leadership", | |
| "email": "[email protected]", | |
| "phone": "(669) 308-0497", | |
| "location": { | |
| "city": "Fremont", | |
| "region": "California", |
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
| <h2 id="live">Live</h2> | |
| <div id="hlsjslive" class="fp-slim"></div> | |
| <div class="info"> | |
| <p>player engine: <span id="engine1"></span></p> | |
| <p>video type: <span id="vtype1"></span></p> | |
| <p id="detail1"> </p> |
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
| sudo ln -s /Applications/MAMP/bin/php/php7.1.20/bin/php /usr/local/bin/php |
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
| var modelCleanCyclic = require('./modelCleanCyclic'); | |
| var Example = new keystone.List('Example', {}); | |
| Example.schema.set('toJSON', { | |
| virtuals: true, | |
| transform: modelCleanCyclic.transformer | |
| }); |
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
| @echo off | |
| if "%PHPBIN%" == "" set PHPBIN=C:\path\to\PHP\executable\dir\.\php.exe | |
| "%PHPBIN%" "C:\path\to\composer.phar" %* |
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 GIST illustrates a hack to allow for configurable backend-url and admin styles in Keystone.js | |
| New deps introduced: | |
| - node-dir | |
| - shelljs | |
| New directory structure after running "yo keystone": | |
| . | |
| |____admin | |
| | |____assets |
#How does KeystoneJS render it's Admin UI
KeystoneJS is an open source framework for developing database-driven websites, applications and APIs in Node.js. It's built on Express and MongoDB.The easiest way to get started with KeystoneJS is to use Yeoman Generator.yo keystone will scaffold a new KeystoneJS project for you, and offer to set up blog, gallery, and enquiry (contact form) models + views.If you'd like to try the demo at first,here it is.
When I wrote this,keystone's stable version is 0.2.39,and 0.3.0 not published yet,so if you have a different version of KeystoneJS,the content maybe different.
##Generate a KeystoneJS Project
First up, you'll need Node.js >= 0.10.x and MongoDB >= 2.4.x installed. Then, install the Keystone generator:
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
| Schema.virtual('comments') | |
| //Returns comment owned by this product | |
| .get( | |
| async obj => await Comment | |
| .find({ 'owner': this._id, deleted: { $ne: true } }) | |
| .sort('-likesCount -date_modified') | |
| .limit(6) | |
| .exec() | |
| ); |
NewerOlder