I ran into a situation where I accidentally staged a file I didn't want to stage, and when I ran "git reset --hard" it was wiped out. After a simple google search (git recover staged files), recovering the file was simple. I've put together a loop, which will check each commit, and look for a string "responsive", which I know is in the file.
We need to start by installing the oracle client appropriate for your architecture. Grab the oracle instant client rpms from oracle's site. Then run...
sudo alien --to-deb oracle-instantclient11.2-*.rpm
I found a great little utility that can enumerate through all the block devices, including your lvm, crypt, etc.
I may update this from time to time.
So, perhaps you've seen this message, but when you check the space usage, it's just fine. It's usually because your file system is using a whole bunch of inodes. So, if you're using your drive space for backups, and those backups require using a lot of inodes, then you'll use up your disk very quickly.
inodes are the pointers at the beginning of the disk, which point to each datablock. They also contain extra information like file permissions, user, group, etc
Well, let's create a file system that has more inodes, so that this doesn't happen as quickly.
I kind of get sick of my work computer dying, and then I lose some history because I forgot to exit my terminal sessions. I've always used the histappend feature, but this prompt command thing is great. Thank you Stack Exchange. The other benefit of this is that each terminal immediately receives the new history next time you press enter.
One of my drives in my RAID died, so I went and bought a 3TB drive for a replacement. The RAID is only 1T, so I'll use the rest of it for something else.
It drives me nuts that every site out there describes in great detail how to do different things. Anyone can read the man page, or issue the parted "help mkpart" for example; but what I usually look for is a quick start. So, here's a quick rundown on how I re-set up the RAID drive. At the bottom is a full rundown on how I think I originally setup the RAID, but don't quote me on it.
We run through the basic use of parted and mdadm.
This is just a simple rundown of how to setup git properly for SSH use. SSH specific information about how to connect using SSH keys, and things of that nature, are not within the scope of this post. I will update this as I go.
I couldn't really find anything that could get me up and running really quickly with git commit emails. In this blog post we provide a git post-receive-email example. In our case, our server is CentOS.
Finding a decent OpenJPA standalone example is very difficult. The one I've created on github does not provide any sort of complex example, but it at least shows how to get started with a standalone Open JPA application, with a maven build.