Skip to content

Instantly share code, notes, and snippets.

View benlovell's full-sized avatar
🕺
Dancing

Ben Lovell benlovell

🕺
Dancing
  • Ben Lovell Ltd
  • London, United Kingdom
View GitHub Profile
Good Afternoon Ben
I wanted to take this opportunity to reach out, some of you will already know
who I am, others will not.
REDACTED's my name and DevOps is the game” – (joke), on a more
professional note I am a dedicated DevOps/SysAdmin specialist and am the
single point of contact for all things operations. Whether it’s a permanent
hire or on a project based contract basis I have the network, passion and tools
in place to provide you with an unparalleled level of service. My passion is
irb(main):004:0> def persisted?=(val); val; end
SyntaxError: (irb):4: syntax error, unexpected '?', expecting ';' or '\n'
def persisted?=(val); val; end
^
(irb):4: syntax error, unexpected keyword_end, expecting end-of-input
from /Users/benlovell/.rbenv/versions/2.2.2/bin/irb:11:in `<main>'
class Wut
def initialize
@proc = Proc.new
end
def call_it
@proc.call
end
end
@benlovell
benlovell / documents.json
Created February 21, 2015 17:22
Geo shapes
{
"registered_name": "Money Bags Finance",
"postcode_searchable": true,
"advisers": [
{
"_id": 1,
"name": "Ben Lovell",
"location": {
"type": "circle",
@benlovell
benlovell / gist:de67c22dcbfb546bd490
Created February 17, 2015 17:25
racism-recruitment.txt
This is not a typical job post… We are casting a large net looking for the one.
We are a very early stage startup looking for a technical co-founder… We
started out thinking (against what turned out to be great advice) that we could
hire a cheap consultant from (insert -STAN country) to build our product for
£50…
Boy were we wrong, in fact we could not have been more wrong. As it turns out,
if you want to be a software company, you need someone who understands software
as a founding partner… go figure… (tongue placed firmly in cheek)
@benlovell
benlovell / gist:3908df7d998638ea0ba0
Created October 28, 2014 08:17
Blurrrggghhhhhh
Hey there,
Welcome! I’m Mark, the founder of WorkingOn. I love coffee (especially this coffee)
and long walks on the beach (or something like it).
More than that, I’m passionate about improving the way people work and communicate.
You’d help me a ton if you’d share a bit about yourself and how you’re thinking about
using WorkingOn.
We really want WorkingOn to be a tool you love using. Your input would mean a lot to
herpderp~/Desktop % stackprof stackprof-cpu-wamo.dump --text --limit 20
==================================
Mode: cpu(1000)
Samples: 71 (1.39% miss rate)
GC: 14 (19.72%)
==================================
TOTAL (pct) SAMPLES (pct) FRAME
56 (78.9%) 50 (70.4%) SqlLexer::Lexer#process_array
3 (4.2%) 3 (4.2%) SqlLexer::Lexer#process_tokens
3 (4.2%) 3 (4.2%) SqlLexer::Lexer#process_end
@benlovell
benlovell / benlovell.md
Last active August 29, 2015 13:57 — forked from matiaskorhonen/speaker.md
Frozen Rails 2014 proposal
@benlovell
benlovell / whelp.rb
Created December 22, 2013 11:28
Golf this down... 😭
[25] pry(#<API::V1::RecommendedListsController>)> self.class.to_s.split("::").last.gsub(/Controller/,"").underscore
=> "recommended_lists"