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
| /** | |
| * NOTES: | |
| * - For the `domain` in configs, please refer to https://docs.fauna.com/fauna/current/api/fql/region_groups | |
| * - For the `secret`, please make sure that it's `admin`. Refer to https://docs.fauna.com/fauna/current/security/keys?lang=javascript | |
| * - The script retains the `Ref` of the data when it's being copied from the source to the destination, so relationships relying on this should still work out of the box. | |
| * - The goal here is to make an exact replicate of the source, so once the script is done running, the destination should just work out of the box. | |
| * - The script also checks if the collection, index, function or data already exists to prevent duplicates. | |
| */ | |
| /** |
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
| [ | |
| { | |
| "use_channel":true, | |
| "allow_empty_post_data":true, | |
| "app_id":"edaded98-5119-4c8a-afc1-de722da03562", | |
| "url":"http://chromecast.redbull.tv/receiver.php", | |
| "dial_enabled":true | |
| }, | |
| { | |
| "use_channel":true, |
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
| #!/bin/sh | |
| sudo apt-get update | |
| sudo apt-get -y upgrade | |
| sudo dpkg-reconfigure tzdata | |
| sudo apt-get -y install console-data locales | |
| sudo dpkg-reconfigure console-data | |
| sudo dpkg-reconfigure locales |
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
| Web.Store = DS.Store.extend(); | |
| DS.WebsocketAdapter = DS.RESTAdapter.extend({ | |
| callbacks: {}, | |
| socket: null, | |
| beforeOpenQueue: [], | |
| ajax: function(url, type, params) { | |
| var adapter = this; | |
| var uuid = adapter.generateUuid(); |
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
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |