PinnedShawn DepreyinKITE SRMWhat Writing DRY Code Really MeansMost developers learn the principle Don’t Repeat Yourself (DRY). Here’s how to move beyond writing DRY code and architect better systems.May 12, 2020May 12, 2020
Shawn DepreySetting up your .bash_profile in macOS Sierrahttps://gist.github.com/shawndeprey/e6d4fcf69acefee7d213b3a47878106aJul 18, 2017Jul 18, 2017
Shawn DepreyMaintaining Server Sessions Between Browser Sessions in Rails 4This problem seems fairly straight-forward, but there is a distinct lack of information on the web on how to do this. I have seen many…Sep 1, 2015Sep 1, 2015
Shawn DepreySorting hasMany Relation in Ember DataThis is a simple problem that has a few different solutions around the web. The best solution in my opinion is to put the sorting as close…Jul 14, 20151Jul 14, 20151
Shawn DepreyImage Placeholders Using Ember Views & The Rails Asset PipelineSo I have been doing web dev for a while now. I have developed a couple different game frameworks for the web and know full well how to…Mar 17, 2015Mar 17, 2015
Shawn DepreyHow to Connect to Cockatrice and Play MagicCockatrice is a Magic the Gathering game simulator. You can create decks and play Magic online with your friends easily with the cards you…Oct 20, 20145Oct 20, 20145
Shawn DepreyImplementing Type-Ahead Search in elasticsearch-rails 0.1.5 and ElasticSearch 1.3.2On the web, I frequently index data for fast lookup to create rich and quick-loading web experiences. An awesome open-source tool I use for…Sep 19, 2014Sep 19, 2014
Shawn DepreySpam Filtering in Rails Using Model ValidationsLet’s face it, there’s a ton of spam on the internet. As system engineers, there are many ways we can deal with spam, but most solutions…Sep 17, 2014Sep 17, 2014
Shawn DepreySSL, DNSimple & Heroku GuideA while ago I was put in the situation of figuring out the process for updating an SSL certificate on Heroku. Having never touched SSL…Sep 17, 2014Sep 17, 2014
Shawn DepreyHow to Serve Gzip Assets Using Rails, Heroku and CloudfrontIn the quest for front end performance, we often turn to Content Delivery Networks(CDNs) to alleviate the burden on our application servers…Sep 17, 2014Sep 17, 2014