I hereby claim:
- I am smonff on github.
- I am smonff (https://keybase.io/smonff) on keybase.
- I have a public key ASCQT5EfYHLpLVAS9P_jYpAIuCVpdfyBrMfAoUKsk5s1Xgo
To claim this, I am signing this object:
my $is_easy_to_read = $self->evaluate_readability( $pattern ); | |
$self->explain_meaning unless $is_easy_to_read; |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use diagnostics; | |
use JSON::PP; | |
my @only = qw(ext4); | |
my @mounts = (); |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
# | |
WP_OWNER=www-data # <-- wordpress owner | |
WP_GROUP=www-data # <-- wordpress group | |
WP_ROOT=$1 # <-- wordpress root directory |
I'm definitely not looking for work. However to provide some helpful guidance for hiring like-minded engineers, I would only consider working for a company if it met these requirements:
<span class="separator"> </span> |
;; Makes possible to sudo-edit files | |
;; From Damien Cassou | |
;; https://github.com/renard/dired-toggle-sudo/issues/1 | |
(defun sudo () | |
(interactive) | |
(let ((fname (or buffer-file-name | |
dired-directory))) | |
(when fname | |
(if (string-match "^/sudo:root@localhost:" fname) | |
(setq fname (replace-regexp-in-strin |
; | |
; mmm-mode config for Mojolicious::Lite perl file. | |
; Forked from https://gist.github.com/am0c/3803249 | |
; mmm-mode lib is from here: https://github.com/purcell/mmm-mode | |
; font locks of [c]perl-mode and mmm-mode conflict each other. | |
; | |
(require 'mmm-auto) | |
(require 'mmm-compat) | |
(require 'mmm-vars) |
# The /x modifier allows you to embed additional whitespace and comments within patterns. | |
# With this modifier in effect, the regex engine ignores whitespace and comments. | |
# The results are often much more readable. | |
# This regex isn't simple, but comments and whitespace improve its readability. | |
# Even if you compose regexes together from compiled fragments, the /x modifier | |
# can still improve your code. | |
my $attr_re = qr{ | |
\A # start of line |
this is not a haiku | |
this is not code | |
you won't need to have feelings | |
it's much more conceptual | |
it' not about love |