davidpm (44)in #programming • 5 years ago • NoneDisabling dangerous redis commands in Production reduxI recently read a great article from Honeybadger that muses on what could happen to a production environment if a…davidpm (44)in #technology • 6 years ago • NoneHeuristics on the Practice of ProgrammingA Living List What follows is a living list of heuristics I've come to internalize over the years as a developer. My…davidpm (44)in #programming • 6 years ago • NoneGit Interactive Rebase to Alter CommitsDo you have skeletons in your git history? Maybe you want to re-write that history? I know I've been down that road…davidpm (44)in #technology • 6 years ago • NoneDropping Into B-treesMy recent (and only) RailsConf talk:davidpm (44)in #ruby • 6 years ago • NoneCreate a command-line gem from scratch with Thor (part two)This is the last in a two-part post on creating a Ruby cli gem from scratch. Part one found here. Picking up from…davidpm (44)in #ruby • 6 years ago • NoneCreate a command-line gem from scratch with ThorThis is the first in a two-part post on creating a Ruby command-line gem from scratch. Part two found here. Let's…davidpm (44)in #blockchain • 6 years ago • NoneBlockchain Proof of ConceptIf you are a programmer and have been hearing all of the fuss about THE BLOCKCHAIN but haven't yet looked into it…davidpm (44)in #sql • 7 years ago • NoneSQL Cheat SheetSQL can do a lot: data insertion, querying, updating and deleting, schema creation and modification, and data access…davidpm (44)in #rails • 7 years ago • NoneBootstrap with Rails and Postgres> rails new app_name ...gives you all you need to get started developing an application, notably using…davidpm (44)in #ruby • 7 years ago • NoneREGEX Multiline AnchorsEver try out a regular expression on rubular , stick it in your model: MEH_REGEX = /^(?=.*[a-zA-Z])(?=.*[0-9]).{8,}$/davidpm (44)in #ruby • 7 years ago • NoneRspec ConfigYou've included rspec in your Gemfile , run bundle install and you want to initialize some examples to start…davidpm (44)in #rails • 7 years ago • NoneRails MIME TypesWhen using Rails to build an API you'll most likely be working with JSON or XML to pass around data. That is…davidpm (44)in #ruby • 7 years ago • NoneMessages with Methods in RubyYou hear it all the time when reading about Ruby: everything is an object. Objects in Ruby communicate with other…davidpm (44)in #linux • 7 years ago • NoneCPUsEver needed to check really quick how many CPUs your *nix machine is running? Maybe you're logged into a remote…