kevops.com
tmux – root@kevops:~#
http://kevops.com/tag/tmux
Adding Spotify current track to tmux status bar. I love tmux. I’m a very recent convert. I just discovered/embraced tmux over screen, so I’ve been hacking my /.tmux.conf a lot in the last couple days. It’s strangely satisfying to make your status bar display remote and local content in clever ways. The possibilities are endless. Spotify has also been a necessity lately at work and at home. I’m using the Spotify Linux Preview. Since I’m running debian openbox based Crunchbang. Kevin@ox: $ sudo netstat -tn...
kevops.com
nodejs – root@kevops:~#
http://kevops.com/tag/nodejs
Adding Spotify current track to tmux status bar. I love tmux. I’m a very recent convert. I just discovered/embraced tmux over screen, so I’ve been hacking my /.tmux.conf a lot in the last couple days. It’s strangely satisfying to make your status bar display remote and local content in clever ways. The possibilities are endless. Spotify has also been a necessity lately at work and at home. I’m using the Spotify Linux Preview. Since I’m running debian openbox based Crunchbang. Kevin@ox: $ sudo netstat -tn...
kevops.com
Security – root@kevops:~#
http://kevops.com/category/linux/security
Quick post here. If you’re using something like Cloudflare for the sole purpose of mitigating a distributed denial of service attack (DDoS), please be smart with your DNS records. I have a lot of respect for Cloudflare as a service. They use a combination of anycast cache header injection using their own Content Delivery Network (CDN) for static files (JS, CSS, images, etc). If you are using this service as a frontend to mitigate a DDoS please. Mind your DNS records. That points to the real ip. Control P...
kevops.com
Advanced Troubleshooting with Strace – root@kevops:~#
http://kevops.com/2014/07/advanced-troubleshooting-with-strace
Advanced Troubleshooting with Strace. Sometimes a site is performing erratically, or loading slowly and it’s not evident what the problem is. When you’ve run out of standard troubleshooting methods, it might be time to go deeper. We need to go deeper. One way to do that is with a tool called strace. Strace allows you to track the system calls to the kernel in real time. You can pass it a process id, or run it in front of a command. Let’s use the. As we expected, it does make an attempt to open that file.
kevops.com
cross site request forgery – root@kevops:~#
http://kevops.com/tag/cross-site-request-forgery
Tag: cross site request forgery. Control Panels, Cross Site Request Forgery, and Case 74889. The rise of web hosting control panels has changed the landscape of the web hosting industry dramatically. They reduce the barrier to entry for server administration by automating configuration and management tasks within a web-based GUI. Before this, server administrators had to configure their systems by hand, or through a suite of their own custom shell scripts and such. One problem that I don’t think ge...
kevops.com
Kevin Quinn – root@kevops:~#
http://kevops.com/me
Kevin Quinn is a Linux Admin and Developer at Total Server Solutions. In Atlanta, GA. Here he can be seen enjoying life in his summer home in rural Georgia with his family. Leave a Reply Cancel reply. Your email address will not be published. Required fields are marked *. Quick Functional Tests in Saltstack. Generate hosts file on a cpanel server quickly. Varnish Logging Per Host With Init Script. On Adding Spotify current track to tmux status bar. On Adding Spotify current track to tmux status bar.
kevops.com
cpanel – root@kevops:~#
http://kevops.com/tag/cpanel
Generate hosts file on a cpanel server quickly. So here’s how to quickly generate a hosts file on a cPanel server, or rather how to print out a bunch of lines of text that can be appended to someone’s local “hosts file”:. Bin/bash # set www=no if you don't want www to be prepended to each entry. www=yes cd /var/cpanel/users 2 /dev/null & for userfile in *; do echo #$userfile; ip=$(awk -F = '$1 = IP {print $2}' $userfile) domains= domain=$(egrep ' DNS([0-9] )? I’ve never bothered looking into it....
kevops.com
Control Panels, Cross Site Request Forgery, and Case 74889 – root@kevops:~#
http://kevops.com/2014/07/control-panels-cross-site-request-forgery-and-case-74889
Control Panels, Cross Site Request Forgery, and Case 74889. The rise of web hosting control panels has changed the landscape of the web hosting industry dramatically. They reduce the barrier to entry for server administration by automating configuration and management tasks within a web-based GUI. Before this, server administrators had to configure their systems by hand, or through a suite of their own custom shell scripts and such. One problem that I don’t think gets enough attention with these co...
kevops.com
apache – root@kevops:~#
http://kevops.com/tag/apache
Advanced Troubleshooting with Strace. Sometimes a site is performing erratically, or loading slowly and it’s not evident what the problem is. When you’ve run out of standard troubleshooting methods, it might be time to go deeper. We need to go deeper. One way to do that is with a tool called strace. Strace allows you to track the system calls to the kernel in real time. You can pass it a process id, or run it in front of a command. Let’s use the. As we expected, it does make an attempt to open that file.
kevops.com
api – root@kevops:~#
http://kevops.com/tag/api
Adding Spotify current track to tmux status bar. I love tmux. I’m a very recent convert. I just discovered/embraced tmux over screen, so I’ve been hacking my /.tmux.conf a lot in the last couple days. It’s strangely satisfying to make your status bar display remote and local content in clever ways. The possibilities are endless. Spotify has also been a necessity lately at work and at home. I’m using the Spotify Linux Preview. Since I’m running debian openbox based Crunchbang. Kevin@ox: $ sudo netstat -tn...