Blender Fox


2-step verification - Accounts Help

#

Some may not know, but Google supports 2FA (2-Factor Authentication), and this basically means you need two items of information to log into your Google Account. Paypal also has this option.

I only found out about this through LastPass when I was cleaning up some old (and no longer used) accounts. This is worth a look and maybe switching on. But, as with most forms of authentication, you need to balance the convenience and risk (See related articles)

2-step verification - Accounts Help.

 

10 Bizarre Video Games - YouTube

#

Some really weird games in here.

[youtube=www.youtube.com/watch

Half Marathon Training

#

No run today – rest day

Easter

#

Extended weekend coming up. Going to be doing a lot of cleaning. Might actually be able to get started on the Blender project mentioned in my previous post.

Half Marathon Training - Day 3

#

Day 3 of training: Threshold Run. It was very difficult to keep within the yellow zone on this run, and even harder to maintain the zone. 5 minutes, and I was burnt out.

Overall Score: 57%

git Snippet: Proxy Configuration

#

I do a fair amount of work using git as version control, with SVN and CVS close behind, but I haven’t used any of them so much as a distributed version control.  However, since I’ve started using Bitbucket and GitHub, I have encountered many issues to do with DVC. One of the main ones is communication via proxy.

My workplace doesn’t allow communication through the net without it going through a proxy server and it is an major pain in the arse to get through. Fortunately, git allows you to configure git to use a proxy server:

To use a proxy server for HTTP communication:

git config --global http.proxy [proxyserver](http://user:password@proxyserver:9999)

To use a proxy server for HTTPS communication:

git config --global https.proxy [proxyserver](http://user:password@proxyserver:9999)

My company firewall also injects its own SSL certificate, which breaks SSL verification, so to get around that:

git config --global http.sslVerify false

graze

#

I came across an advert for this site. It advertises “snack boxes” with a selection of snacks that you rate up or down to improve your own customisations, and they are all healthy-type snacks (dried fruit, nuts, rice crackers, etc.)

Have you tried it? I’m going to go for one and see what they’re like.

Half Marathon Training - Day 2

#

I’m trying to train up for a Half Marathon – not for any charity in particular, but as a goal, so I’m using my miCoach equipment for logging the runs. Here’s Day 2. I haven’t posted Day 1 because logging it went somewhat wrong and the data was skewed.

Bash Snippet: basename

#

I love linux and bash scripting. Whilst I am no expert, I really love the way you can pipe one application’s output into another.

One thing I don’t like to much about linux, however, is the case-sensitivity. “file.ext” is not the same as “file.EXT”, for example. On Windows, it doesn’t much care about the case of the extension, but on linux, it does. And therein is my problem.

My digital camera takes pictures and gives them a .JPG extension, which doesn’t show up on listings on my linux box where the application is looking for .jpg extensions. Sure, I can rename them manually, or macro together a simple bash script, but when you have to do this repeatedly, it gets quite frustrating.

So I did some research, and found out about the basename application. It serves two purposes. It strips out directory information to leave just the file name so that “dir1/dir2/dir3/file” becomes just “file” and optionally, allows you to strip out a suffix from the name, so for example to rename all .JPG files to .jpg in the current folder, I would use this:

for a in *.JPG
 do
   mv $a `basename $a .JPG`.jpg
 done

Here’s an example output

$ ls
file1.JPG file2.JPG file3.JPG

$ for a in *.JPG
> do
> echo mv $a `basename $a .JPG`.jpg
> done
mv file1.JPG file1.jpg
mv file2.JPG file2.jpg
mv file3.JPG file3.jpg

$ for a in *.JPG
> do
> mv $a `basename $a .JPG`.jpg
> done

$ ls
file1.jpg file2.jpg file3.jpg

GfxTablet

#

GfxTablet (Graphic Tablet) is a project that consists of two parts – one is Linux input driver, and the other is an Android app. It turns your Android device into a graphics tablet and you can control your Linux machine with your tablet. There is no screen output on the android device and stylus/finger motion is transmitted to the Linux box.

The only downside is there’s no option for “lefty” mode for people like me. :(

It will be interesting to see how well I can use this.

rfc2822/GfxTablet · GitHub.

New Project: Yu Gi Oh 5Ds

#

The main characters and their Signer marks. Fr...

I am starting a new Blender project, or, more specifically, restarting it. I’m going to attempt to model some of the characters from the anime Yu Gi Oh! 5Ds. I have it on a Bitbucket Git repository at the moment (it is a private repository at the moment), but may make it public at a later date.