davidpm(25)•in #programming•2350 days agoDisabling 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 fat fingered developer did something like: Red...1davidpm(25)•in programming•2350 days agoDisabling 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 fat fingered developer did something like: Red...1
davidpm(25)•in #technology•2688 days agoHeuristics 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 goal is to periodically add to this list. C...2davidpm(25)•in technology•2688 days agoHeuristics 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 goal is to periodically add to this list. C...2
davidpm(25)•in #programming•2748 days agoGit 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, and since I've had to look up how to do thi...0davidpm(25)•in programming•2748 days agoGit 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, and since I've had to look up how to do thi...0
davidpm(25)•in #technology•2781 days agoDropping Into B-treesMy recent (and only) RailsConf talk: https://www.youtube.com/watch?v=17XecHy9Pzg...0davidpm(25)•in technology•2781 days agoDropping Into B-treesMy recent (and only) RailsConf talk: https://www.youtube.com/watch?v=17XecHy9Pzg...0
davidpm(25)•in #ruby•2782 days agoCreate 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 our last post, we want to start working on...0davidpm(25)•in ruby•2782 days agoCreate 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 our last post, we want to start working on...0
davidpm(25)•in #ruby•2782 days agoCreate 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 write a command-line interface (cli) as a ...1davidpm(25)•in ruby•2782 days agoCreate 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 write a command-line interface (cli) as a ...1
davidpm(25)•in #blockchain•2787 days agoBlockchain 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, and were looking for a starting point, this i...0davidpm(25)•in blockchain•2787 days agoBlockchain 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, and were looking for a starting point, this i...0
davidpm(25)•in #sql•2870 days agoSQL Cheat SheetSQL can do a lot: data insertion, querying, updating and deleting, schema creation and modification, and data access control. I have to look up this stuff more ...0davidpm(25)•in sql•2870 days agoSQL Cheat SheetSQL can do a lot: data insertion, querying, updating and deleting, schema creation and modification, and data access control. I have to look up this stuff more ...0
davidpm(25)•in #rails•2871 days agoBootstrap with Rails and Postgres> rails new appname ...gives you all you need to get started developing an application, notably using SQLite as the default datastore. I've always worked with P...2davidpm(25)•in rails•2871 days agoBootstrap with Rails and Postgres> rails new appname ...gives you all you need to get started developing an application, notably using SQLite as the default datastore. I've always worked with P...2
davidpm(25)•in #ruby•2872 days agoREGEX Multiline AnchorsEver try out a regular expression on rubular, stick it in your model: MEHREGEX = /^(?=.[a-zA-Z])(?=.[0-9]).{8,}$/ ...start up your test suite and see this error...1davidpm(25)•in ruby•2872 days agoREGEX Multiline AnchorsEver try out a regular expression on rubular, stick it in your model: MEHREGEX = /^(?=.[a-zA-Z])(?=.[0-9]).{8,}$/ ...start up your test suite and see this error...1
davidpm(25)•in #ruby•2872 days agoRspec ConfigYou've included rspec in your Gemfile, run bundle install and you want to initialize some examples to start testing. > rails g rspec:install The thing is you ar...0davidpm(25)•in ruby•2872 days agoRspec ConfigYou've included rspec in your Gemfile, run bundle install and you want to initialize some examples to start testing. > rails g rspec:install The thing is you ar...0
davidpm(25)•in #rails•2872 days agoRails MIME TypesWhen using Rails to build an API you'll most likely be working with JSON or XML to pass around data. That is because most APIs today work exclusively with these...0davidpm(25)•in rails•2872 days agoRails MIME TypesWhen using Rails to build an API you'll most likely be working with JSON or XML to pass around data. That is because most APIs today work exclusively with these...0
davidpm(25)•in #ruby•2873 days agoMessages with Methods in RubyYou hear it all the time when reading about Ruby: everything is an object. Objects in Ruby communicate with other objects by passing "messages" back and forth t...0davidpm(25)•in ruby•2873 days agoMessages with Methods in RubyYou hear it all the time when reading about Ruby: everything is an object. Objects in Ruby communicate with other objects by passing "messages" back and forth t...0
davidpm(25)•in #linux•2873 days agoCPUs/Quad-CoreAMDOpteronprocessor-574b19293df78ccee1f00949.jpg) Ever needed to check really quick how many CPUs your nix machine is running? Maybe you're logged int...0davidpm(25)•in linux•2873 days agoCPUs/Quad-CoreAMDOpteronprocessor-574b19293df78ccee1f00949.jpg) Ever needed to check really quick how many CPUs your nix machine is running? Maybe you're logged int...0