Posts Tagged ‘ linux ’

Getting Perforce client(not server) setup in Linux

Nov 14th, 2017 | By

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…]



Bash script to batch obliterate revisions with p4 perforce

Aug 3rd, 2017 | By

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…]



How to get the alt+left click move window linux functionality in Windows?

Aug 26th, 2013 | By

One of my most missed features from Gnome in my linux days is the ability to just hold down alt and left click drag a window. You didn’t have to go up to the title bar and click, you could click anywhere and it would just start moving the damned thing.  Windows of course doesn’t
[continue reading…]



Preventing a server melt-down and saving resources: Block all Shit bot

Oct 11th, 2012 | By

Alright, I woke up today to a load average of 75.. Seventy-fucking-FIVE.  I didn’t even know that shit was possible and I’m pretty sure the guys at the DC were probably roasting marshmellows over my glowing box.  I couldn’t believe it so into my server I went, waiting 5 minuets for every command I typed
[continue reading…]



Setup your swap partition a flash card in Debian linux

Jul 20th, 2012 | By

*A WORD TO THE WISE – DO NOT ATTEMPT THIS* Flash cards are not designed to handle heavy loads of tiny read/writes all the time and will fail sooner rather than later.. I just had my system go into the shitty with a syslog filled with 1000’s of messages like this:  [59443.104957] Write-error on swap-device
[continue reading…]



Cannot login to Skype in Linux: Another instance may exist

May 4th, 2012 | By

Try deleting the ~/.Skype/shared.xml and shared.lck and ~/.Skype/PROFILENAME/config.lck next rename .Skype to .Skype_saved and restart skype You will be able to login correctly but not mcuh good without all your stuff so copy _saved directory over the regular one and see if that helps. If it doesn’t then check this out: You need to find
[continue reading…]



Digitally signing a PDF in linux

Apr 10th, 2012 | By

Good fun today as one of my team members sent me over a digitally signed PDF and that got me looking into how I would go about signing it back.  Up until this point I had just been putting an old fashioned signature on it and sending it out but upon further research it appears
[continue reading…]



Iteratively backing up a linux server to a windows server via SSH

Mar 17th, 2012 | By

Ok, so I know that if you are anything like me that you know all about cygwin and rsync but you’re thinking to yourself that it’s kind of overkill to install cygwin in it’s entirety just to be able to use rSync.  Surely there are windows based applications out there that can do the job
[continue reading…]



Terminal scrolling not working through ssh

Mar 14th, 2012 | By

Works fine when working locally but as soon as you ssh into your server the scroll wheel just cycles through commands now and shift-pg up doesn’t jack all.  I ran into this fun little dilema today and after 30 sseconds of fiddling found the fix is rather simple. Just go into edit -> Profiles and
[continue reading…]



How to batch convert .xm / .mod files to .wav files in linux

Mar 11th, 2012 | By

Well funny enough I had given up on this because of so many forum posts that I found saying it cant’ be done and that you need windows bla bla bla.. Well they are all a bunch of chumps because there is a native linux solution that is easier and quicker than anything you can
[continue reading…]