This file contains 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 System; | |
using System.Collections.Generic; | |
using System.Drawing; // Nuget System.Drawing.Common | |
using System.Linq; | |
using IronXL; // Nuget IronXL.Excel | |
namespace ImgToXlsx | |
{ | |
class Program | |
{ |
This file contains 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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using DkDevelopment.UWP; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Platform.UWP; | |
using Xamarin.Forms.Internals; |
This file contains 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
# https://gallery.technet.microsoft.com/scriptcenter/Resize-Image-A-PowerShell-3d26ef68 | |
function Resize-Image | |
{ | |
<# | |
.SYNOPSIS | |
Resize-Image resizes an image file | |
.DESCRIPTION | |
This function uses the native .NET API to resize an image file, and optionally save it to a file or display it on the screen. You can specify a scale or a new resolution for the new image. |
This file contains 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
<VisualStateManager.VisualStateGroups> | |
<VisualStateGroup > | |
<VisualState x:Name="MaxWidth768"> | |
<VisualState.StateTriggers> | |
<AdaptiveTrigger MinWindowWidth="0" /> | |
</VisualState.StateTriggers> | |
<VisualState.Setters> | |
<Setter Target="status.Text" Value="Less than 768px" /> | |
</VisualState.Setters> | |
</VisualState> |
This file contains 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
{% capture sitecss %} | |
{% include_relative bootstrap.custom.css %} | |
{% include_relative external.css %} | |
{% include_relative fonts.css %} | |
{% include_relative pygments.css %} | |
{% include_relative style.css %} | |
{% endcapture %} | |
{{ sitecss | strip_newlines }} |
This file contains 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
window.NUMBERTAP_PLATFORM = 3; //Android | |
(function () { | |
// Append the bind() polyfill | |
var scriptElem = document.createElement('script'); | |
scriptElem.setAttribute('src', 'js/android2.3-jscompat.js'); | |
if (document.body) { | |
document.body.appendChild(scriptElem); | |
} else { | |
document.head.appendChild(scriptElem); |
This file contains 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 robot = Require<Robot>(); | |
robot.Respond("((quote)( me)? (.*) by (.*)?)|((quote)( me)? (.*))", msg => | |
{ | |
var quote = string.IsNullOrWhiteSpace(msg.Match[4]) ? msg.Match[9] : msg.Match[4]; | |
var byLine = "pikachu"; | |
if (!string.IsNullOrWhiteSpace(msg.Match[5])) | |
{ | |
byLine = msg.Match[5]; |
This file contains 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
angular.module('dk.directives') | |
.directive('dkscrollable', function () { | |
//<div dkscrollable> | |
//Handles the scrolling table for the site | |
function handleWheel(event) { | |
event.currentTarget.scrollLeft += event.wheelDelta * -1; | |
event.preventDefault(); | |
}; |
This file contains 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 robot = Require<Robot>(); | |
robot.Respond("last (.*) commits", msg => | |
{ | |
var commitNum = 3; | |
try | |
{ | |
commitNum = Int32.Parse(msg.Match[1]); | |
} | |
catch (Exception) { } |
This file contains 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
--- | |
layout: nil | |
--- | |
<?xml version="1.0" encoding="utf-8"?> | |
<feed xmlns="http://www.w3.org/2005/Atom"> | |
<title>DK Development</title> | |
<link href="http://dkdevelopment.net/atom.xml" rel="self"/> | |
<link href="http://dkdevelopment.net/"/> |
NewerOlder