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
SuperStrict | |
Import htbaapub.rest | |
Local request:TRESTRequest = New TRESTRequest | |
Local stream:TStream = WriteStream("Moose-0.99.tar.gz") | |
request.SetStream(stream) | |
Local response:TRESTResponse = request.Call("http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Moose-0.99.tar.gz", Null, "GET") | |
CloseStream(stream) |
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
{ | |
"bah":{ | |
"maxunit":{ | |
"versions":{ | |
"dev":{"url":"http://localhost:3000/module/download/bah.maxunit-dev.zip","deps":[]}, | |
"1_02":{"url":"http://localhost:3000/module/download/bah.maxunit-1_02.zip","deps":[]}, | |
"1_03":{"url":"http://localhost:3000/module/download/bah.maxunit-1_03.zip","deps":[]} | |
}, | |
"desc":null | |
} |
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
# Perl Best Practices (plus errata) .perltidyrc file | |
-l=98 # Max line width is 98 cols | |
-i=4 # Indent level is 4 cols | |
-ci=4 # Continuation indent is 4 cols | |
#-st # Output to STDOUT | |
-se # Errors to STDERR | |
-vt=2 # Maximal vertical tightness | |
-cti=0 # No extra indentation for closing brackets | |
-pt=1 # Medium parenthesis tightness | |
-bt=1 # Medium brace tightness |
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
" NOTE: a separate .vimrc is required for vim-plug: https://gist.github.com/Htbaa/b3c8d46db8936ad69c4c9bf46e55b51b | |
" Many thanks to https://raw.github.com/nvie/vimrc/master/vimrc | |
" http://nvie.com/posts/how-i-boosted-my-vim/ | |
"set guifont="Droid Sans Mono:h10:b:cANSI" | |
"set guifont=Consolas:h10:b:cANSI | |
set number " always show line numbers | |
set smartindent | |
set hlsearch " highlight search terms |
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
[mergetool "kdiff3"] | |
path = C:/Program Files (x86)/KDiff3/KDiff3.exe | |
[merge] | |
tool = kdiff3 | |
[core] | |
autocrlf = true | |
# safecrlf = true | |
trustctime = false | |
editor = vi | |
[diff] |
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
--- C:/Users/christiaan/Downloads/calendar-eightysix-v1.1/js/calendar-eightysix-v1.1.js Sun Apr 25 19:02:52 2010 | |
+++ P:/klantendossier/release/www/layout/js/calendar-eightysix-v1.1-uncompressed.js Wed May 18 11:12:02 2011 | |
@@ -79,11 +79,11 @@ | |
}); | |
//Create the currect selected date | |
- if($defined(this.options.defaultDate)) | |
+ if(this.options.defaultDate != null) | |
this.selectedDate = new Date().parse(this.options.defaultDate).clearTime(); | |
- else if(this.options.linkWithInput && $chk(this.target.get('value'))) |
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
*.xml | |
.* | |
!.gitignore | |
Makefile* | |
!Makefile.PL | |
META.yml | |
MYMETA.* | |
blib | |
build | |
/inc |
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
static void PrimitieveSinus() | |
{ | |
var positions = from x in Enumerable.Range(0,79) | |
select new { x, y = (int)(Math.Sin(x) * 2) }; | |
positions = positions.OrderBy(p => p.y).ThenBy(p => p.x); | |
var y_pos = positions.GroupBy(p => p.y).Select(p => p.Key); | |
foreach (int y in y_pos) | |
{ |
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
package Foo; | |
use Validation::Class; | |
field 'foobar' => { | |
required => 1, | |
filters => 'numeric', # Comment this one out to make it work | |
default => [1,2], | |
}; | |
package main; |
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
diff --git script/maximus_mojo.pl script/maximus_mojo.pl | |
index 161c349..f0c7373 100644 | |
--- script/maximus_mojo.pl | |
+++ script/maximus_mojo.pl | |
@@ -3,7 +3,7 @@ use lib "./lib"; | |
use local::lib; | |
use Mojolicious::Lite; | |
use Config::Any; | |
-use Maximus::Schema; | |
+use DBI; |
OlderNewer