This is going to be a very quick post. It is more to remind future me than anything. Did you change your password on your gitlab (or github) server? Do you now get “remote: HTTP Basic: Access denied” when you “git push origin”? If you “git remote show origin”, it will ask for your credentials …Continue reading "How to fix “remote: HTTP Basic: Access denied” in Git"
For years, I was a prolific user of Inbox by Gmail. When google announced that they planned to retire my beloved email client, I panicked a little. Even a year later, Gmail is a bit of a UI nightmare. After trying a few alternatives, I found Newton. It was clean, worked on all of my …Continue reading "Newton, It’s not you. It’s me."
Write laravel for a living? Maybe make sure that you don’t let your web server serve your .env files. Sample Google search: db_username filetype:envContinue reading "PSA: Make sure that your server is not serving your .env file"
I have been using Hamachi since first hearing about it on Security Now, over 10 years ago. Hamachi is a hosted virtual private network solution that can create links with devices that are behind NAT firewalls. Hamachi is able to do so by using server-assisted NAT traversal. I mostly use it to access virtual machines from outside of …Continue reading "Getting Hamachi working with the Raspberry Pi 3"
Recently, I was poking around on Shodan (as I do when I am bored) and I stumbled across an interesting query. If you search for “Default: admin/1234”, you get over 14,000 devices that are broadcasting their own default username and password. The devices appear to be Edimax routers. I reached out to both EmbedThis and Edimax to ask them about this. …Continue reading "Why are the default credentials in the realm attribute?"
Everybody has been in this situation (Well, at least I have). You are sitting in a coffeeshop and you need to connect your phone to the WiFi. You have connected your laptop to the WiFi before but you can not remember the password. You could get up and ask the barista for the password but …Continue reading "How to recover a saved WiFi password in OS X"
This is one of the first questions I had when I got this new laptop. It’s fairly simple (even if it isn’t all too memorable). Command-Shift-3: Capture the entire screen and save it to a file on the desktop Command-Shift-4 and then select an area: Capture a defined area of the screen and save it …Continue reading "How to take screenshots in OS X"
There are folders where you can place your script. For hourly tasks: /etc/cron.hourly For daily tasks: /etc/cron.daily For weekly tasks: /etc/cron.weekly For monthly tasks: /etc/cron.monthlyContinue reading "How do I schedule a task to run daily/weekly/monthly on Ubuntu?"
This is a pretty good trick to know. It will grab the rendered version of your website, even if the original is database-driven. wget -mk http://steinbring.netContinue reading "How to create a complete mirror of a website, using wget"