I hereby claim:
- I am felipe on github.
- I am felipe (https://keybase.io/felipe) on keybase.
- I have a public key whose fingerprint is 209C DE08 6315 2647 3954 B5FA D0F8 1F05 B476 7B66
To claim this, I am signing this object:
| namespace RavenEmbeddedBundleTest | |
| { | |
| using System.ComponentModel.Composition.Hosting; | |
| using Raven.Bundles.UniqueConstraints; | |
| using Raven.Client.UniqueConstraints; | |
| using Raven.Tests.Helpers; | |
| using Xunit; | |
| public class Test : RavenTestBase | |
| { |
| ### Keybase proof | |
| I hereby claim: | |
| * I am felipeleusin on github. | |
| * I am felipe (https://keybase.io/felipe) on keybase. | |
| * I have a public key whose fingerprint is 11C8 AA43 40C0 733C 0E54 8A5E 37B4 5CAF F74D 1E57 | |
| To claim this, I am signing this object: |
| public class Model | |
| { | |
| public string Id { get; set; } | |
| public string Date { get; set; } | |
| public string VenueId { get; set; } | |
| public string UserId { get; set; } |
I hereby claim:
To claim this, I am signing this object:
| Command: deploy.cmd | |
| Installing Kudu Sync | |
| An error has occured during web site deployment. | |
| Installing Kudu Sync | |
| An error has occured during web site deployment. | |
| D:\Program Files (x86)\SiteExtensions\Kudu\1.25.30110.617\bin\scripts\starter.cmd deploy.cmd |
The project (codenamed Mogi) consists of two pieces: an Application Server and a Android application.
The server is split in three modules: the NodeJS application, the HTML administrative interface and the streaming server. The ideal setup is to setup a Linux (Ubuntu or CentOS were the distribution testeds) with a NGINX server, the NGINX will the handle serving the administrative interface assets to a specific folder and relay the other requests to the NodeJS application.
An example nginx.conf file is as follow:
location /admin { alias /PATH_TO_ADMIN_DIST_FOLDER/
| public class TestModule : NancyModule | |
| { | |
| public TestModule() | |
| { | |
| Post["/"] = WithModelValidated<Input>( (p,model) => | |
| { | |
| return model.Email; | |
| }); | |
| } |
| try { | |
| PackageInfo info = getPackageManager().getPackageInfo("com.dojoapps.miyagi", | |
| PackageManager.GET_SIGNATURES); | |
| for (Signature signature : info.signatures) { | |
| MessageDigest md = MessageDigest.getInstance("SHA"); | |
| md.update(signature.toByteArray()); | |
| Log.d("YOURHASH KEY:", | |
| Base64.encodeToString(md.digest(), Base64.DEFAULT)); | |
| } | |
| } catch (PackageManager.NameNotFoundException e) { |
| @echo off | |
| :: ---------------------- | |
| :: KUDU Deployment Script | |
| :: ---------------------- | |
| :: Prerequisites | |
| :: ------------- | |
| :: Verify node.js installed |
| AudioManager mgr = (AudioManager)getSystemService(Context.AUDIO_SERVICE); | |
| int streamType = AudioManager.STREAM_SYSTEM; | |
| mgr.setStreamSolo(streamType, true); | |
| mgr.setRingerMode(AudioManager.RINGER_MODE_SILENT); | |
| mgr.setStreamMute(streamType, true); |