Here’s a quick solution adding a specific user (aka role) in Postgres.
Here’s a small collection of links for developers looking to learn.
I recently came across a page with lots of links to txt files. I got frustrated when I wanted to look up something in these files but couldn’t because I’d have to download each one by one.
This month has been hectic.
I have a directory where I’m storing all my solution to nodeschool.io courses.
For many of these solutions I have installed node dependencies. These are stored in a
in each folder. To ignore a directory recursively you can use the following
So I haven’t been able to work on a solid blog post on any specific technology. I’d like my articles to be a lot like the articles you see on nettuts or sitepoint, just haven’t found tech I’m super passionate about like that this month.
A part of mastering the commandline is extending it with your own custom commands. On any nix environment you
should have access to config files, e.g.,
~/.profile. I add my aliases to my
ZSH is pretty dope btw, definitely check it out.
So I use iterm2 on my mac. And there’s a shortcut option-spacebar which switches back and forth between a desktop and iterm2 in fullscreen. I do most of my work that way, switching between a browser and code. Recently however I’ve been following some screencasts on youtube which required me to switch between broswer, fullscreen iterm2 and fullscreen youtube player. This was the perfect time to change the mission control shortcut on my mac.
Today I was trying to upgrade all my brew kegs with
brew upgrade. But it trips up on libiconv.
You might try like I did and call brew with sudo but you get this message
This method is now outdated. Github Pages now exposes the site.github namespace
I recently had to migrate a Heroku app that was under my personal accounts, Heroku and s3, to another user. But this app also had assets under Amazon Web Services Simple Storage Service which made the process more complicated. You can use something like bucket explorer to manage S3 with a gui. I’ll show you how to do it with aws-cli. I’m assuming you installed it and you’re familiar with the commandline in general.
Many times you have to create a bootable usb stick on a mac. I always follow the instructions at How to create a bootable USB stick on OS X. I created a quick bash script that makes this process faster
Source code for this project can be found here.
VLC is my media player of choice. One of my only complaints is that it loads subtitles by default. It’d be really nice if you could have them off by default, with the option of loading them if you need them.