Posts Tagged ‘command-line’

Creating a centralized git workflow

This weekend, I made an interesting (re)discovery. I was digging though some old emails and found an email with details about how an acquaintance and I were creating a centralized git workflow. I figured out how to keep my project in sync with yours. I use git on the command-line, but I imagine it should… Continue Reading →

Using the ‘–‘ argument with git

If you add ‘–‘ to your git command, git will know not to process anything after the double hyphen as a command-line argument. This was useful to know for the situation I just found myself in. I had accidentally cloned a repo into a directory called “–force”. I had placed the –force argument in the… Continue Reading →

How to add an OpenType Font (OTF) to Ubuntu

I’ve been working with a colleague on getting a logo designed for the game company he has recently started. The designer that was hired used a font called “Exo” in the logo. The source file was given to us in a .svg file. And in order to view the logo with the correct font, I… Continue Reading →

Searching on Linux – ‘grep’ command

So I’m investigating an Eclipse error I’m getting on my dev laptop and need to search for a bit of text in a file that may be in a hidden file somewhere in my workspace. I don’t trust Eclipse’s global File search (Ctrl + H) to be thorough enough for my needs. I need to… Continue Reading →

Merge git history from two separate projects

git merge

I am not sure how long Github has offered their Pages service, but I only recently discovered it. And, as I have been trying to improve my workflow, I found the idea of deploying my site with a simple “git push” very enticing. I experimented briefly with Pages and decided to go with Github for… Continue Reading →

Lost Java

Somehow, I broke my Fedora installation this weekend. After having a great time getting started on my Gravatar project this past Saturday, I settled in for some Labor Day programming yesterday. However, as soon as I tried to open Eclipse, I was given an error message telling me that the command ‘java’ was not in the… Continue Reading →

‘new’ linux command jammed into my grey pudding

I have begun working with Codeigniter 2.1.0 and am trying to wrap head around what exactly is required for an app to be deployed onto a server. This required me to move some files and folders around. Unfortunately I set up my XAMPP installation as ‘root’, so I can’t use the lovely file manager-type windows in… Continue Reading →

Runaway upload conclusion

So after I stopped the FTP upload from my inappropriate account , I needed to delete the 726 megs of “illegal” uploads. I remembered the ‘rmdir’ command, but that only works on empty directories. I remember this fact as soon as I was given the ‘rmdir: failed to remove `Pictures/’: Directory not empty” response on… Continue Reading →

Linux command of the day

So I decided to take advantage of the free 50Gb storage space that DreamHost offers all of its webhosting customers today. Unfortunately, I didn’t understand that I needed to use a special user account that Dreamhost provides for me for this activity. So I am currently uploading approximately 25Gb of pictures to my account on… Continue Reading →

%d bloggers like this: