http://www.dtksoft.com/dtkanpr.php
http://opos.codeplex.com/
https://github.com/openalpr/openalpr
https://github.com/twelve17/openalpr-ios
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
| ls *.* -rec | %{ $f=$_; (gc $f.PSPath) | %{ $_ -replace "SEARCH", "REPLACEMENT" } | sc $f.PSPath } | |
| Get-ChildItem *.* -rec | Rename-Item -NewName { $_.Name -replace 'SEARCH','REPLACEMENT' } |
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
| public class EmailUpload | |
| { | |
| [Required] | |
| public string FromEmail { get; set; } | |
| [Required] | |
| public string RecipientEmail { get; set; } | |
| [Required] | |
| public string Subject { get; set; } |
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
| public class MixpanelUsageTracker | |
| { | |
| #if DEBUG | |
| /// <summary> | |
| /// Test site | |
| /// </summary> | |
| public const string Token = "TOKEN"; | |
| #else | |
| /// <summary> | |
| /// Production site |
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
| public static async Task<ZuMoLoginProviderCredentials> GetCurrentUser(this ApiController controller) | |
| { | |
| ServiceUser serviceUser = controller.User as ServiceUser; | |
| if (serviceUser != null) | |
| { | |
| var identity = await serviceUser.GetIdentitiesAsync(); | |
| var credentials = identity.OfType<ZuMoLoginProviderCredentials>().FirstOrDefault(); | |
| return credentials; |
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
| // Using SwiftyJSON | |
| var path = NSBundle.mainBundle().pathForResource("satellite-v7-debug", ofType: "json") | |
| var styles = NSData(contentsOfFile: path!) | |
| var jsonStyles = JSON(data: styles!) | |
| let polygonCoordinates = [ | |
| [ | |
| 8.702266216278076, | |
| 56.04999222180692 |
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
| var issues = []; | |
| $("input[type=checkbox].js-issues-list-check:checked").each(function() { | |
| var $check = $(this), | |
| $title = $check.parents("li.js-issue-row").find("a.issue-title-link"); | |
| issues.push($title.text().replace(/(\r\n|\n|\r)/gm,"").replace(/ /g, "") + " #" + $check.val()) | |
| }) | |
| window.prompt("Copy to clipboard: Ctrl+C, Enter", issues.join("\r\n")); |
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
| #!/usr/bin/env bash | |
| # Colours picked from https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/ | |
| ### | |
| # Label definitions | |
| ### | |
| declare -A LABELS | |
| # Platform |
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
| /// <summary> | |
| /// Verifies the controller action, contains an attribute of the specified attributeType. | |
| /// </summary> | |
| /// <param name="controller">The controller.</param> | |
| /// <param name="action">The action method.</param> | |
| /// <param name="attributeType">Type of the attribute to look for.</param> | |
| /// <returns>Returns true if the attribute was present on the action. Otherwise false.</returns> | |
| public static bool VerifyControllerActionAttribute(this Controller controller, Func<ActionResult> action, Type attributeType) | |
| { | |
| MethodInfo methodInfo = action.Method; |
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
| public string Test() | |
| { | |
| TextWriter tw = TextWriter.Null; | |
| HtmlHelper<TestViewModel> htmlHelper = new HtmlHelper<TestViewModel>(new ViewContext(ControllerContext, | |
| new RazorView(ControllerContext, "asd", "sdsd", false, null), | |
| new ViewDataDictionary(), | |
| new TempDataDictionary(), tw), new ViewPage()); | |
| return htmlHelper.TextBoxFor(m => m.Name).ToString(); | |
| } |
OlderNewer