This is a list of articles/books/videos that have influenced me :)
There isn't a particular order to this list. I recommend them all but there are a couple that stand out. I have marked these with ✨
<?php | |
function initialiseSymphony() { | |
// Config hacks (not required in symphony 2.7) | |
date_default_timezone_set('UTC'); | |
// Find out where we are: | |
define('DOCROOT', __DIR__); | |
// Propagate this change to all executables: | |
chdir(DOCROOT); |
This is a list of articles/books/videos that have influenced me :)
There isn't a particular order to this list. I recommend them all but there are a couple that stand out. I have marked these with ✨
index abfbd02..9bc2189 100644 | |
--- a/Perl/Encoder/Encoder.xs | |
+++ b/Perl/Encoder/Encoder.xs | |
@@ -5,7 +5,7 @@ | |
#include "perl.h" | |
#include "XSUB.h" | |
-#define NEED_newSV_type | |
+#define NEED_newSV_type_GLOBAL | |
#include "ppport.h" |
use strict; | |
use warnings; | |
use Test::More 0.88; | |
# Create a role | |
BEGIN { | |
package Some::Role; | |
use Mouse::Role; | |
use namespace::autoclean; |
use strict; | |
use warnings; | |
use Test::More; | |
use Test::Fatal; | |
use Class::MOP; | |
use Class::MOP::Class; | |
{ |
Jenkins.instance.getTrigger("SCMTrigger").getRunners().each() | |
{ | |
item -> | |
long millis = Calendar.instance.time.time - item.getStartTime() | |
if(millis > (1000 * 60 * 60)) // 1000 millis in a second * 60 seconds in a minute * 3 minutes | |
{ | |
Thread.getAllStackTraces().keySet().each() | |
{ | |
tItem -> |
diff --git a/Makefile.PL b/Makefile.PL | |
index e47a76d..c7c4dcb 100644 | |
--- a/Makefile.PL | |
+++ b/Makefile.PL | |
@@ -219,6 +219,8 @@ my %makefile = ( | |
'Sys::Hostname' => 0, | |
'Time::Local' => 0, | |
'Errno' => 0, | |
+ 'Net::IP' => 0, | |
+ 'NetAddr::IP' => 0, |
upstream docker_registry { | |
server 127.0.0.1:15000; | |
} | |
server { | |
listen 443; | |
root /dev/null; | |
index index.html index.htm; |
# Given a string, print out the codepoints that it currently compromises of. If | |
# you pass it a bytestring, you will get the bytes. If you pass it a character | |
# string, you will get the characters. This can be helpful when you're not sure | |
# if your terminal is playing around with the output. | |
sub explain { | |
# We will build up the output in $explain | |
my $explain; | |
# Split the first argument in to characters | |
for my $char ( split(//, shift() ) ) { |