So I recently got my weechat (IRC) notifications coming to my android via Pushover. I just borrowed the following infomation from my friend Major's blog post. It was working great, but then Major told me about Pushbullet on Twitter and it's integration with Chrome and everything else that I alredy use. I finally set it up and noticed that the pushover.pl plugin that I was already using in WeeChat works with Pushbullet also. So minimal change to my already existing Weechat setup (just needed to set service = "pushbullet" and pb_apikey attributes on the Pushover.pl plugin and I was good to go. The pushbullet Chrome extension is awesome. Try it out if you're looking for a way to get notifications between your compute and your Android device. I wanted it for when I marked myself as away on IRC I would get notifications on my browser and my phone.
How I set it up: - Create your pushbullet account on https://www.pushbullet.com - Get your access token from https://www.pushbullet.com/account - Inside your weechat setup, install the pushover script:
/script install pushover.pl
- Configure the plugin
/set plugins.var.perl.pushover.enabled on /set plugins.var.perl.pushover.only_if_away on /set plugins.var.perl.pushover.service pushbullet /set plugins.var.perl.pushover.pb_apikey [YOUR ACCESS TOKEN FROM ABOVE]
- Install the PushBullet apps for your mobile devices and browsers
Next time you
/away yourself, you will receive IRC notifications where you're mentioned on your device/browser. You can also sync your mobile notifications with your browswer so that you can see texts, phone calls, etc. Any notification you would normally get on your mobile device you will get in the PushBullet browser app. Yes, you can control which ones notify you via a muting feature.
I have decided to finally get the RHCSA and RHCE certifications. RHCSA stands for Redhat Certified System Adminitrator and RHCE stands for Redhat Certified Engineer. The reason I decided on these exams is for 2 reasons:
- They are not multiple choice. You sit at a kiosk with VNC and are given a live RHEL (Redhat Enterprise Linux) instance and are given issues to fix (aka Real World)
- A stepping stone to me finally taking my Linux knowledge/skills seriously.
My current study guide:
Please note, I've been using linux for 17 years. I've managed multiple systems to hundreds of VMs. I'll keep you posted on how it goes.
Since I finally switched to Linux as my native OS (Ubuntu 14.04 LTS specifically) I have been having a blast. My only complaint has been Unity. It is not user friendly. It makes my 8GB RAM laptop go slow. I even researched disabling it. Seems that is quite the feat in Ubuntu these days. I'm a minimalist when it comes to my computers. I remember Gnome and have always been a fan. However, due to an article I read the other day, I decided to read up on Linux Mint and remembered a co-worker was using it as his primary OS. I have also been playing with Fedora more lately due to its support for containers. I feel that is the future on application deployments. However, since Mint is based on Debian and Ubuntu, it is more of a comfort thing for me. My co-workers suggestion was to try out Cinnamon. As an Ubuntu package for cinnamon is no longer maintained, I found a PPA that is still being maintained of the Cinnamon stable branch (yes, I am aware the Cinnamon maintainer has a PPA for nightly builds, but I'm not quite that brave). I installed it with:
sudo add-apt-repository ppa:lestcape/cinnamon sudo apt-get install cinnamon
Once installed you need to logout and choose Cinnamon from the login session screen, like so:
After that you will see a much more responsive UI. And for you Windows users, it will feel very familiar, as the taskbar and icons are in the usual locations.
NOTE: To those that actually read this, I did try gnome session fallback and had many issues with it. I am also aware that there is an official Ubuntu Gnome variant of Ubuntu now also. Hadn't tried it.
TL;DR Hold down shift key and select text with left mouse button. This will copy to clipboard. Then hold down the shift key again and click the middle button on your mouse. Voila!
Long version: After finally moving over to Ubuntu as my native operating system, I've been using the default Terminal application for development. I run my weechat IRC session on a remote node in TMUX so I can detach/reattach at will and stay connected. I'm using ZNC as my bounce also in case the tmux session or weechat crashes. This means it stays connected and will replay anything I missed while disconnected. Anyway, I have had issues with copy/paste in the Terminal app, especially when my development sessions are in TMUX. I've been using Ctrl+Shift and selecting text and it has been working, but has been adding a newline on the end when I use Ctrl+Shift+V (paste). Hodling down the shift key was the trick. Hold down the shift key and select text with left mouse button. This will copy to clipboard. Then hold down the shift key again and click the middle button on your mouse. This will paste the text WITHOUT a newline.
Today I needed to scan something on my Canon MX450 series printer from my laptop running Ubuntu 14.04 LTS. I had already setup the printer portion successfully with the built in network printer detection, but hadn't done the scanning portion. I found out I needed to download a deb file and install something called scangearmp to get this to work. The download button can be found here. As of this post I've download version 2.10 which was last updated on 14-Feb-2013, Issue Number 0100517701. Once downloaded issue the following commands:
tar xzf scangearmp-mx450series-2.10-1-deb.tar.gz cd scangearmp-mx450series-2.10-1-deb/ sudo ./install.sh
This will install the scangearmp binary to /usr/bin/scangearmp.
Now all you need to do is run:
If you you don't see a scanner listed in the dropdown then you just need to push the "Update Scanner List" button and it should find your scanner. After that you should see the same popup but now with your Canon MX450 scanner listed.
Hope this helps someone else.
The following command restarted audio for me in Ubuntu after my microphone on my headphones stopped working.
pulseaudio -k && sudo alsa force-reload
Credit to: http://askubuntu.com/a/230893
I finally replaced OSX on my Mac with Ubuntu 14.04 LTS. Out of the box I've had no issues. Wireless, VPN, Terminal, Dropbox, Google Drive, LastPass, etc all work. I was spending more time in my Vagrant VMs with OSX anyway. Loved VirtualBox + Vagrant. Never had an issue. I just wasn't using any portion of OSX. It is nice to troubleshoot any issues and tweak my setup. I'm getting used to Unity and may drop it for Gnome3 and Gnome-Do. We'll see. Any new things I troubleshoot or find, I'll post on.
I've been asked recently why I blog. My answer is the same since I started blogging back in 2006. I blog for three reasons.
- I figured out a problem/issue I was having and want to share the knowledge. If I had the problem/issue, someone else will and hopefully google will link to my post and help them when they are searching. What I've also experienced is someone reads my post and comments with a better and/or more efficient solution. I then can link to their comment/post or update my own. I love that sense of community.
- I will use a different part of my brain to write the post and, therefore (hopefully), remember the solution better next time this particular problem/issue arises.
- I want to store the solution online, not only on my local computer (aka isolation), so that I, and others, can reference it in the future.
I DO NOT blog because I think it will make me popular or because I want to seem smarter than anyone else. I enjoy learning and sharing information.
Recently I had issues connecting to Github because of some firewall restrictions outside my control. The firewall had outbound SSH (port 22) blocked. My co-worker Justin Hammond found a git config option that lets you force all git commands to use
https:// (port 443) instead of
ssh:// (port 22).
git config --global url."https://".insteadOf git://
Worked like a charm. Thanks Justin. Hope this helps someone else.
NB: Don't use
--global if you don't want this applied to all repositories. Without it only sets for the current repository you're in.
NB: All ports but 80 and 443 were blocked. I couldn't use 9418 (Git protocol) either
Here is my current weechat.conf file
Some of the ones I use often:
- ctrl+h - window left
- ctrl+j - window down
- ctrl+k - window up
- ctrl+l - window right
- ctrl+z - window zoom (make current small window full screen)
- ctrl+n - next buffer
- ctrl+p - previous buffer
- ctrl+y - clipboard paste
- ctrl+r - search
- ctrl+[j|m] - stop search
normal commands not included with my weechat.conf that I use:
- /window resize
- resizes window to that percentage
- /buffer clear - clears the buffer, i use this often with the highlight monitor plugin
- /buffer merge
- merges two buffers into one (use ctrl+x to switch between them)
- /buffer unmerge - unmerge the buffer you're currently on out to its own