Linux / Freebsd

Getting Perforce client(not server) setup in Linux

Taking notes on steps needed to setup the client in linux so I can commit locally from our server.  I have setup the depot from my remote windows machine as well as the stream, what I’m doing in linux is client specific setup.  Obviously when you see terms like {port} or {depot} you shoould replace
[continue reading…]

Things to do when setting up a fresh Debian VM / server

Just going to make a list of the things you need to take care of immediately after logging into the VM for the first time.  Why this shit isn’t default I don’t know   Allow pasting into VIM with the right mouse button instead of this visual mode bullshit. Edit your ~/.vimrc and put this
[continue reading…]

High CPU and I/O Usage and Syslog getting spammed with DHCP Information

I ran into this issue earlier this day on a brand new Google Cloud VM.  In my cloud console my CPU usage was pinned at 100% for hours and the only thing showing up in top was dhclient using around 3-5% and journald using 3-5% After going into the syslog I found a ton of
[continue reading…]

Bash script to batch obliterate revisions with p4 perforce

Ok, so you have a project with a 1GB file and the devs have committed 120 revisions of that file, meaning they are probably taking up somewhere between 50-100GB worth of space on the server.  One option is to nuke the file entirely and re-upload it but then you look the version history and it’ll
[continue reading…]

Setting up Http/2 with debian 8.7+Apache 2 + WordPress

At the time of this post the version of apache with http2 support is not supported by Debian so you have to go into the testing branch to get it and then configure apache.  This tutorial should take you through that: https://www.shivering-isles.com/http-2-getting-ready-on-debian-with-apache2/ .  Just incase the tutorial ever goes down I’ll mirror it at the end
[continue reading…]

WP CLI just changed my life – Admin wordpress sites from the command line

I’ve installed somewhere between 300-500 wordpress sites in my life and I have no idea how I hadn’t heard of WP CLI until now but man oh man this thing is awesome.  Never again have to log into an admin site to do updates and maintenance because WP CLI is here. First off, head over
[continue reading…]

Mysql regularily crashing – Cannot allocate memory for buffer pool

So every day now on one of my Debian servers, Mysql is crashing with the following message: Fatal error: cannot allocate memory for the buffer pool 160915 6:38:10 [ERROR] Plugin ‘InnoDB’ init function returned error. 160915 6:38:10 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed. 160915 6:38:10 [ERROR] Unknown/unsupported storage engine: InnoDB 160915 6:38:10
[continue reading…]

Peforce: Multi-root folder access privileges within a single stream

They situation is this. We have a replicated that is replicated across two different platforms, which means the content stays the same but the platform specific tech around it all needs to be recreated from scratch for 2 platforms. So we create 2 folders within the root, one for each platform with the intention of allowing
[continue reading…]

Resizing GPT Partition on VMware virtual server without loosing data

So you want to enlarge one of your partitions on one of your virtual servers eh?  First things first, shut the instance down and then go into Edit Settings for the instance and change the hard drive to the new size. Now start up the box and go grab gdisk.  fdisk won’t work well, parted
[continue reading…]

Splitting Perforce Depots off main instance and running multi-instances on single server

Hello world! generic viagra where to buy viagra walmart online pharmacy www sildenafil tabletas 100 mg

Adding Google oAuth to Gitlab

Follow this tutorial here: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/integration/google.md# Before you restart gitlab you need to reconfigure it with #/opt/gitlab/bin/gitlab-ctl reconfigure   For some reason the people at gitlab forgot this crucial step as none of your changes will take effect until that is done

HTTPS / SSL for Gitlab

Easy peasy to setup.. Just create your private key and certificate, make a dir in /etc/gitlab/ssl and stick them in there.. Edit your gitlab.rb and add this: nginx[‘ssl_certificate’] = “/etc/gitlab/ssl/whatever.crt” nginx[‘ssl_certificate_key’] = “/etc/gitlab/ssl/whatever.key” #gitlab-ctl reconfigure and you should be good to go

Technology

How to revert and checkin files that another user has checked out

My afternoon was hijacked today when a user decided to mark an entire project for deletion, joy of joys.  So as I had to step out I told him to just revert his entire project, but at a few dozen GB by the time I got back and hour and change later it was still
[continue reading…]

Perforce – How to update depot on one workspace and transfer those updates to another workspace without re-downloading?

So here’s the situation.. You have one computer with a crazy fast connection and another computer with a slow connection.. Or perhaps you have one server that is crazy cheap to run and another that is crazy expensive to run.. The idea would be that, for whatever reason, you want to download and update your
[continue reading…]

Splitting Perforce Depots off main instance and running multi-instances on single server

Hello world! generic viagra where to buy viagra walmart online pharmacy www sildenafil tabletas 100 mg

Web filtering / protection using a repeater bridge

If you are connecting machines into a repeater via cat5 the sad truth is that Content restriction settings on the repeater don’t work and in rare cases you might not have or want to turn on content restrictions on the main network that your repeater is hooked into(ie: you’re sharing a connection with your neighbours).
[continue reading…]

Games

All Time High-Score for Overgod’s Time Trial

Well googling ‘Overgod’ and ‘time trial’ and ‘high school’ come up with absolutely zero results, so here’s hoping that there’s actually someone else out there that plays this game as much as I do and will stumble upon this.  Better yet, here’s to hoping there are a few hundred people out there like that 🙂
[continue reading…]

Starcraft Single Player Gameplay

Just caught the first video of the single player campaign in detail and oooh mama that gets me hot in the pants.

Starcraft 2 Battle Report #3

Just watched the latest Battle Report for Starcraft 2 and man this game is looking impressive. I can see the hours of my life already being sucked away

Best Tower Defense game hands down

http://www.maxgames.com/game/the-horde-2.html Without a doubt the best Tower Defense game I have played, and I’ve played a lot of them 🙂 There is a ton of rethinking your strategy as you go throughout, just the right amoutn of challenge where youcan adopt new strategies, test and refine before getting too frustrated and giving up. The complexity
[continue reading…]

Game Industry

A Shout out to Kelowna and Okanagan Video Game Developers

At the last OK Game Developer Cluster meet-up we discussed the need to get more people networked and involved in the local Game Developer here in Kelowna.  It is a wonderful blessing to have Disney and Club Penguin in our beautiful city as they has no doubt inspired many people to pick up the trade
[continue reading…]

The Uncanny Valley

Was just showed this video today and started to look for more resources on the topic so I thought I’d share 7 Part Series:

Sony’s and Microsofts new 3D Controllers

The tracking on this thing looks really impressive(“Sub-milimeter accuracy”).  To take the Wii Experience, but better, and put it on the power of the PS3 is enticing to say the least. And M$ wouldn’t be outdone by Sony and is also jumping on the Nintendo Bandwagon.  Now what we really should be excited is to
[continue reading…]

EuroGamer standing behind unfair and ignorant reviews?

I have respect for what this company is doing with this game.. They are going down a road that is against popular WoW trends and aren’t sacrficing their vision to play it safe.  A lot of things get me pumped for this game and what this company is doing so it ticks me off when
[continue reading…]

Inspiring

Mozilla Seabird: Best tech concept of the decade (Get a towel)

You can read all about the concept here but to be clear this is simply a concept, mozilla has stated they have absolutely no intentions of entering the OS nor the hardware market. The Mozilla Seabird, part of the Mozilla Labs’ Concept Series, is an experiment in how users might interact with their mobile content
[continue reading…]

Netvibes – This will change your life, your virtual one at least

HTTP://WWW.NETVIBES.COM In my experience with talking with folks that are much more tech savvy than I, one of the most surprising things is how few people know about Netvibes, even more surprising is how few people in the world actually use this brilliant free resource.   I’ve had this post in draft forward for well over
[continue reading…]

Bill Gates on Cnet – Talks about why he’s fired up

In a recent video interview Bill Gates did with CNET , he talks about this work with his foundation, what’s getting him fired up and how to tackle some of these bleak challenges facing the world today. I find it interesting just to sit and watch this man talk, such an unassuming guy that I’ve
[continue reading…]

Science Fiction as a tool for human survival

It was like film directors and authors realized this magic lamp where they could very surreptitiously put these unquestioned injustices into peoples minds and make them question them for the first time. I wouldn’t call this a ‘golden age’ of sci-fi but it certainly was a purer age.

Internet

Getting Perforce client(not server) setup in Linux

Taking notes on steps needed to setup the client in linux so I can commit locally from our server.  I have setup the depot from my remote windows machine as well as the stream, what I’m doing in linux is client specific setup.  Obviously when you see terms like {port} or {depot} you shoould replace
[continue reading…]

Setting up Http/2 with debian 8.7+Apache 2 + WordPress

At the time of this post the version of apache with http2 support is not supported by Debian so you have to go into the testing branch to get it and then configure apache.  This tutorial should take you through that: https://www.shivering-isles.com/http-2-getting-ready-on-debian-with-apache2/ .  Just incase the tutorial ever goes down I’ll mirror it at the end
[continue reading…]

WP CLI just changed my life – Admin wordpress sites from the command line

I’ve installed somewhere between 300-500 wordpress sites in my life and I have no idea how I hadn’t heard of WP CLI until now but man oh man this thing is awesome.  Never again have to log into an admin site to do updates and maintenance because WP CLI is here. First off, head over
[continue reading…]

Peforce: Multi-root folder access privileges within a single stream

They situation is this. We have a replicated that is replicated across two different platforms, which means the content stays the same but the platform specific tech around it all needs to be recreated from scratch for 2 platforms. So we create 2 folders within the root, one for each platform with the intention of allowing
[continue reading…]

Random Musings

Allowin Zimbra users to actually send as another user

Persona’s is great, adding external accounts is great but neither of these two options will actually allow the user to send as the persona or the external account(or in our case an internal account).  to do that you need to do this: https://wiki.zimbra.com/wiki/Ajcody-How-To-Setup-sendAs-Right-And-Persona-For-Internal-Users

Right clicking anything in windows explorer crashes explorer.exe

One of your third party context menus is causing mayhem.  Go to http://www.nirsoft.net/utils/shexview.html , download the program and disable every 3rd party context menu(non microsoft) until you fix the issue

DLNA server on Android device streaming to chromecast/wireless speakers via an ipad

So here’s what I need to do: Turn a library of 300+ CD’s into a digital only collection Stream that collection to a central amplifier that lacks wifi capabilities Add wifi speakers around the house to stream the music to various rooms if needed All be controlled from an ipad Must be easily and flawlessly
[continue reading…]

Moving repository from one gitlab server to another, now I can’t push

Do I used SCP to copy a repo from one server over to another today.  What I needed to do was to create the repo on the new server first inside Gitlab, and then copy eveyrthing over top of it from the other server.  Unfortunately upon doing so I was greeted with the following message:
[continue reading…]