PhotoLife
所属分类:物联网
开发工具:C#
文件大小:34242KB
下载次数:0
上传日期:2017-10-20 08:40:16
上 传 者:
sh-1993
说明: PhotoLife是一个新闻和照片评论平台
(PhotoLife is a platform for news and photo reviews)
文件列表:
LICENSE (1085, 2017-10-20)
PhotoLife (0, 2017-10-20)
PhotoLife\PhotoLife.Authentication.Tests (0, 2017-10-20)
PhotoLife\PhotoLife.Authentication.Tests\HttpContextAuthenticationProvider (0, 2017-10-20)
PhotoLife\PhotoLife.Authentication.Tests\HttpContextAuthenticationProvider\Constructor_Should.cs (2554, 2017-10-20)
PhotoLife\PhotoLife.Authentication.Tests\HttpContextAuthenticationProvider\GetCurrentUserId_Should.cs (1168, 2017-10-20)
PhotoLife\PhotoLife.Authentication.Tests\HttpContextAuthenticationProvider\RegisterAndLoginUser_Should.cs (5207, 2017-10-20)
PhotoLife\PhotoLife.Authentication.Tests\HttpContextAuthenticationProvider\SignInWithPassword_Should.cs (4011, 2017-10-20)
PhotoLife\PhotoLife.Authentication.Tests\HttpContextAuthenticationProvider\SignOut_Should.cs (2283, 2017-10-20)
PhotoLife\PhotoLife.Authentication.Tests\PhotoLife.Authentication.Tests.csproj (7818, 2017-10-20)
PhotoLife\PhotoLife.Authentication.Tests\Properties (0, 2017-10-20)
PhotoLife\PhotoLife.Authentication.Tests\Properties\AssemblyInfo.cs (1436, 2017-10-20)
PhotoLife\PhotoLife.Authentication.Tests\app.config (1239, 2017-10-20)
PhotoLife\PhotoLife.Authentication.Tests\packages.config (1185, 2017-10-20)
PhotoLife\PhotoLife.Authentication (0, 2017-10-20)
PhotoLife\PhotoLife.Authentication\App.config (1982, 2017-10-20)
PhotoLife\PhotoLife.Authentication\ApplicationManagers (0, 2017-10-20)
PhotoLife\PhotoLife.Authentication\ApplicationManagers\ApplicationSignInManager.cs (1102, 2017-10-20)
PhotoLife\PhotoLife.Authentication\ApplicationManagers\ApplicationUserManager.cs (2672, 2017-10-20)
PhotoLife\PhotoLife.Authentication\IdentityMessageServices (0, 2017-10-20)
PhotoLife\PhotoLife.Authentication\IdentityMessageServices\EmailServer.cs (377, 2017-10-20)
PhotoLife\PhotoLife.Authentication\IdentityMessageServices\SmsService.cs (379, 2017-10-20)
PhotoLife\PhotoLife.Authentication\PhotoLife.Authentication.csproj (7254, 2017-10-20)
PhotoLife\PhotoLife.Authentication\Properties (0, 2017-10-20)
PhotoLife\PhotoLife.Authentication\Properties\AssemblyInfo.cs (1424, 2017-10-20)
PhotoLife\PhotoLife.Authentication\Providers (0, 2017-10-20)
PhotoLife\PhotoLife.Authentication\Providers\HttpContextAuthenticationProvider.cs (3101, 2017-10-20)
PhotoLife\PhotoLife.Authentication\Providers\IAuthenticationProvider.cs (728, 2017-10-20)
PhotoLife\PhotoLife.Authentication\packages.config (994, 2017-10-20)
PhotoLife\PhotoLife.Data.Tests (0, 2017-10-20)
PhotoLife\PhotoLife.Data.Tests\App.config (894, 2017-10-20)
PhotoLife\PhotoLife.Data.Tests\GenericRepository (0, 2017-10-20)
PhotoLife\PhotoLife.Data.Tests\GenericRepository\Add_Should.cs (756, 2017-10-20)
PhotoLife\PhotoLife.Data.Tests\GenericRepository\Constructor_Should.cs (1674, 2017-10-20)
PhotoLife\PhotoLife.Data.Tests\GenericRepository\Delete_Should.cs (776, 2017-10-20)
PhotoLife\PhotoLife.Data.Tests\GenericRepository\GetAll_Should.cs (1971, 2017-10-20)
PhotoLife\PhotoLife.Data.Tests\GenericRepository\Mocks (0, 2017-10-20)
PhotoLife\PhotoLife.Data.Tests\GenericRepository\Mocks\MockedGenericRepositoryType.cs (166, 2017-10-20)
... ...
[![Build status](https://ci.appveyor.com/api/projects/status/jt3jtnvqnyfstq25?svg=true)](https://ci.appveyor.com/project/Branimir123/photolife)
[![Coverage Status](https://coveralls.io/repos/github/Branimir123/PhotoLife/badge.svg?branch=master)](https://coveralls.io/github/Branimir123/PhotoLife?branch=master)
[![NuGet Pre Release](https://img.shields.io/nuget/vpre/Microsoft.AspNet.Mvc.svg)](https://github.com/Branimir123/PhotoLife)
# Photo Life
#### Interested in photography? Ambitious to learn from the best? Ambitious to share your own photos and receive reviews? This is the place for you!
**[App Harbor Deployment](http://photolife.apphb.com/)**
---------------------------
## Fancy code coverage *RGB LED strip*
#### :bowtie: Using the *[Wemos D1](https://www.wemos.cc/product/d1.html)* (based on *ESP8266* and programmable in the *Arduino IDE*) I managed to create a simple sketch that changes RGB LED strip's colors according to the percentage of **code coverage**. It makes a call to the coveralls API every 5 minutes (for now) and changes the colors from red (below 50% code coverage) to green (above 90%).
Below 50% code coverage color (Red, #FF0000)
![Below 50](/WemosD1-CodeCoverageLEDStrip/below50.jpg)
Just above 50% code coverage color (Some kind of orange, #FF3300)
![55](/WemosD1-CodeCoverageLEDStrip/55.jpg)
#### This is the schema I used to connect the RGB strip. I didn't use a breadboard. The N-Channel MOSFETs I bought are common - *[IRLN540N](http://www.infineon.com/dgdl/irl540n.pdf?fileId=5546d462533600a40153565fbd752565)*
![Connecting the RGB LED strip](/WemosD1-CodeCoverageLEDStrip/HowToConnect.png)
I managed to fit the whole messy thing in a little cardboard box and left a hole only for the 12V power source and the led stripe output.
![Inside the box](/WemosD1-CodeCoverageLEDStrip/inside.jpg)
## TODOs:
- Implement counting views
- Implement counting likes (for posts only)
- Improve user experience
- Impove user interface
近期下载者:
相关文件:
收藏者: