Download and install the agent(s). These examples are on a standard 64-bit Amazon EC2 Linux AMI.
MMS
wget [path to mms agent download, specified by 10gen]
sudo tar xvzf 10gen-mms-agent-[CUSTOM_NAME].tar.gz -C /opt
| // overriding sync to use local storage when possible | |
| sync : function(method, model, options){ | |
| var key, now, timestamp, refresh; | |
| if(method === 'read' && this.constants.isStoredInLocalStorage) { | |
| // only override sync if it is a fetch('read') request | |
| key = this.getKey(); | |
| if(key) { | |
| now = new Date().getTime(); | |
| timestamp = $storage.get(key + ":timestamp"); | |
| refresh = options.forceRefresh; |
| <?php | |
| namespace Linkofy\CommonBundle\Menu; | |
| use Knp\Menu\FactoryInterface; | |
| use Symfony\Component\DependencyInjection\ContainerAware; | |
| class Builder extends ContainerAware | |
| { | |
| public function mainMenu(FactoryInterface $factory, array $options) |
| id code name | |
| C OI Orthopedically Impaired | |
| F SI Speech Impaired | |
| G LI Language Impaired | |
| H DHH Deaf or Hard of Hearing | |
| I VI Vi | |
| J E/BD Emotional/Behavioral Disability | |
| K SLD Specific Learning Disability | |
| L L Gifted |
| <?php | |
| $query = <<<'GRAPHQL' | |
| query GetUser($user: String!) { | |
| user (login: $user) { | |
| name | |
| repositoriesContributedTo { | |
| totalCount | |
| } |