I’ve been exploring dockerizaton lately more and more and I think I like the idea of having my apps in containers. I am not going to lie, it does take some time to get used to, but it is pretty cool the things that you can do.
One thing that I think I wanted to accomplish was able to run X11 apps through docker. I found Docker Headless VNC container and that was slick. Where I was able to run a whole Xfce environment within a Docker container!!! kudos to those folks. Now, my challenge was that in my case, I didn’t want a fat image and/or configure each app to download of configuring. So, this wasn’t my solution at this time. So, I decided to explore further and found a way to run X11 from a Docker container in macOS. Below are the steps on how to accomplish this.
Install socat which is a “multipurpose relay.” This will allow us to call the display.
brew install socat
Create you local Dockerfile. In this particular case, I am using Ubuntu latest (which at the time of this post is 16.04.1 LTS). On your terminal, you can do “vi Dockerfile” and paste the info from below in that file.
After years of monitoring my data usage and going over, I decided to make a dashboard (yes, like your car dashboard) for my ISP data usage.
I decided to publish this piece of code with the hopes that would help other people setting something up, where they could be notified via text message/SMS on their current data usage and predict what their usage will be by the end of the [billing] cycle.
I just recently migrated from Untangle 11.2 to Sophos UTM to give it a ride and noticed that a lot of things are blocked (which is a good thing if you know what you are doing and need to unblock it). Just recently I noticed that I couldn’t make any more calls by using my iPad or Mac through my iPhone. So, continuity was not working like it was before.
I went to the Apple site (see sources), but couldn’t figure out what port or services were the one that needed to be allowed by the firewall. So, after analyzing dropped packages by the firewall, I noticed a pattern and created the following firewall rule. Since the creation of this firewall rule, I haven’t had any more issues with continuity nor downloading content from games in Game Center.
So, if you have RHEL 6, you might be stuck with Python 2.6. But, not really. Even though you might not be able to install a new version of python using yum, you can still download a new version of python and install it in your environment. Now, you can install it and replace the current version or you can install another version and have two python in your system.
Install GCC by typing
sudo yum install gcc
Now, let’s download a release from python.org. In this example we will be using Python 3.5.0.
sudo wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tar.xz sudo tar xf Python-3.5.0.tar.xz sudo cd Python-3.5.0
Let’s build the package
Now, to install it you have two options. You can either overwrite the python executable or you can install as concurrent instance.
If you want to overwrite the OS python executable
sudo make install
If you want to install concurrent (not overwritting the OS executable)
The title to this post might be deceiving, since I am not going to walk you through on how to make Thunderbird portable, but rather how to make Thunderbird portable cross different devices by using a file sharing tool (ie. Dropbox).
Let’s say that you have two Linux, Mac, or Windows machines and would like to have your Thunderbird mailboxes and configurations to be the same. So, whenever you make a change on one machine, it will synchronize on the other. Key that you want to consider is how much space your Thunderbird profile is taking and if you will have enough space in Dropbox.
The following was tested in two different Ubuntu Linux machines (I also did it on Windows machines, but the steps below are for Linux). Here is what you will need to do.
Make sure that you have Thunderbird configure the way you want it/like it on PC#1
Then close out Thunderbird to make the following changes
Go to folder /home/pc1_user/.thunderbird/
where pc1_user will be change to your actual user profile
You will see couple of files and folders in there. The ones that you will be interested are “profiles.ini” and “randomfoldername.default”
where “randomfoldername.default” will be something like this “z85gg4eg.default”
Move “randomfoldername.default” to your Dropbox account. In my case I created a folder for Thunderbird where this new folder will be under.
Here is how it looks… /home/pc1_user/Dropbox/Thunderbird/randomfoldername.default
Now, let’s update “profiles.ini”. Your configurations might look like something like this
What you are going to do is to make some modifications to this file by changing “IsRelative” and “Path” to look this this
Lately I been using PGP more and more… and I wanted to have my portable application on a flash drive where I could carry all of the private and public keys (of course that if I loose my flash drive, I am at risk – I know that). But, there is really not good documentation that walks through a first time user on how to accomplish this. So, here is my attempt to those first time users on how to do it.
When installing Gpg4Win, make sure that you have enable all of these options
Claws Mail 3.9.1
Kompendium (de) 3.0.0
Compendium (en) 3.0.0
Once you are done with the installation, then you can run the following command in order to make your own Gpg4Win portable application. Keep in mind that you can go two different routes. Full or Lite. In my example, I will show you how to have it fully loaded.
Open command prompt (CLI)
cd to the path where GPG4Win is located
If you use the defaults it will be at “C:\Program Files (x86)\GNU\GnuPG\”
Run “mkportable.exe –full –verbose TARGETDIR”
where TARGETDIR in this case will be “E:\gpg4winapp”
Then once the program runs, you will be able to open Kleopatra and there you have it
Not until today that I found the right article to be able o stream from my iTunes to any of my apple devices. Previously any time that I tried to make such a research, I found a bunch of apps that you would need to pay for and do some configuration on your PC or Mac. Well, the article below will go over that you can do such a sharing for free by just using Apple “Home Sharing”. … and let me tell you, it works slick!!! I was able even to stream my >15k songs to my devices :).
First things first… enable iTunes Home Sharing on your PC so open iTunes
Go to File “Home Sharing” -> “Turn On Home Sharing”
Login with your Apple ID and password to identify your Home Shares
With your Apple ID entered, click on “Create Home Share”
Now let’s configure your devices….
Go to “General” -> “Videos and scroll down and login with your Apple ID and password
Open the Video app on the device.
Then your shared library will show up 🙂
Click on that library and you will be able to see all of your videos.
Then click on the video that you would like to watch and enjoy
I’ve tested the steps form 5 through 9 using the Music app as well from my device. The only difference is is that you would have to click on “More” to make the switch from sharing library to local library on the device.