Submitted by Quinn on 25 January 2012 @ 17:17
Command to display Powershell version:
$Host.Version
OR (if running version 2 or greater):
(get-host).version
Submitted by Quinn on 25 January 2012 @ 17:17
Dim customerIDs As Object = {New With {.customerID = "0001"}, New With {.customerID = "0002"}, New With {.customerID = "0003"}}
Submitted by Quinn on 11 January 2012 @ 13:13
German: Mogelpackung
English:
- false advertising
- false promise
- sham package
Submitted by Quinn on 23 December 2011 @ 12:12
Here is my implementation in Perl for determining whether a number is a Happy Numbers or not.
#!perl
use strict;
use warnings;
use YAML;
use feature qw(say);
sub is_happy {
my $number = shift @_;
my @seen = @{shift @_ // []};
# One is a happy number
if ($number == 1) {
return 1;
};
Submitted by Quinn on 20 December 2011 @ 14:14
Chris Kempson's Tomorrow-Theme is an excellent light-on-dark theme to use when coding.
Pages