Skip to content

Instantly share code, notes, and snippets.

🐭
:)

Shawn Mclean shawnmclean

🐭
:)
Block or report user

Report or block shawnmclean

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View reko-vid.json
{
"JobStatus": "SUCCEEDED",
"VideoMetadata": {
"Codec": "h264",
"DurationMillis": 14900,
"Format": "QuickTime / MOV",
"FrameRate": 30,
"FrameHeight": 576,
"FrameWidth": 320
},
View COZ-contributions-1-14-2018.md

Shawn Mclean contributions week ending Jan 14, 2017

Neon Wallet Repo Management

  • Cleaned up old branches
  • Closed old and resolved issues (25+ issues closed)
  • Labeled/Categorized issues
@shawnmclean
shawnmclean / COZ-contributions-week-19.md
Last active Nov 13, 2017
COZ-contributions-week-19
View COZ-contributions-week-19.md

shawnmclean contributions for week 19

Neon Wallet

PRs and Issues

  • Code reviews and manual smoke test for refactoring stories, modals and getters.
  • Closed a few Issues that were not relevant.
View COZ-contributions-week-16.md

shawnmclean contributions for week 16

Review and merging PRs for the week

  • Code reviews of the container refactoring
  • Manual testing of dev branch after major PR changes.

Integration Test

  • Accepted PR for integration test
  • Partial working of integration test on CI
@shawnmclean
shawnmclean / jaobersvervotehack.js
Last active Aug 29, 2015
Free Vote Script for Jamaica Observer Voting System
View jaobersvervotehack.js
var request = require('request');
var lineReader = require('line-reader');
var selection = 1; // <- the id of the person to vote for
lineReader.eachLine('proxy.txt', function(line, last) {
request.post({
uri: 'http://jol.jamaicaobserver.com/mogul_poll/add_vote.php?the_vote='+selection,
proxy: 'http://'+ line
}, function (err, resp, body) {});
});
@shawnmclean
shawnmclean / swap.ps1
Created Sep 18, 2014
Swap Azure staging and production
View swap.ps1
Import-Module Azure
Import-AzurePublishSettingsFile "C:\Certificate\Azure.publishsettings"
Write-Host "Swapping staging and production slots..."
Switch-AzureWebsiteSlot -Name "griklyapi" -Slot1 "production" -Slot2 "staging" -Force
Write-Host "Swap complete"
View AccountsTests.cs
[TestClass]
public class AccountsTests : TestBase
{
[TestMethod]
public async Task Register_Returns_Successfull()
{
var registerModel = new RegisterModel
{
Email = Constants.USER_EMAIL,
FirstName = "Shawn",
@shawnmclean
shawnmclean / TestBase.cs
Last active Aug 29, 2015
Base Test class for integration testing WebAPI
View TestBase.cs
[TestClass]
public class TestBase
{
private static TestServer server;
public static TestServer Server
{
get { return server; }
}
@shawnmclean
shawnmclean / SetupUserManager.cs
Created Aug 31, 2014
Setting up UserTokenProvider
View SetupUserManager.cs
IDataProtectionProvider provider = app.GetDataProtectionProvider();
if (provider != null)
{
userManager.UserTokenProvider = new DataProtectorTokenProvider<IdentityUser, Guid>(provider.Create("User Tokens"));
}
@shawnmclean
shawnmclean / Startup.Auth.cs
Last active Aug 29, 2015
Manually setting Data Protection Provider
View Startup.Auth.cs
userManager.UserTokenProvider = new EmailTokenProvider<IdentityUser, Guid>();
You can’t perform that action at this time.