[SOLVED] “fatal: Could not read bundle ‘/path/to/your/file.ext’.” during git clone
Jan0
$ git clone /path/to/repo/*
Initialized empty Git repository in /path/to/file.ext/.git/
error: ‘/path/to/repo/file.ext’ does not look like a v2 bundle file
fatal: Could not read bundle ‘/path/to/repo/file.ext’.
Fortunately, it happened after I’d just done a serious site-wide rename of a bunch of files, and I decided to try cleaning the repository.
This solved everything:
$ git gc /path/to/repo
[SOLVED] Screen Resolution resets to something undesired in Ubuntu 9.10 Karmic
Nov2
Assuming you have a monitor that supports some high resolution, say 1680 x 1050, and you’re using an nvidia card:
- System > Administration > Hardware Drivers
- Make sure the latest recommended nvidia proprietary driver is activated (if not, do it and reboot)
- System > Preferences > Display (it should ask if you want to use the proprietary config screen – select ‘Yes’)
- Select X Server Configuration
- Set the resolution to what you want and ‘Apply’, then quit the nvidia-settings screen.
- System > Preferences > Display (when it asks this time, select ‘No’)
- Click ‘Apply’
- Click ‘Keep configuration’ (assuming everything looks OK)
- Click Close
When you reboot, everything should be preserved. I still notice a flicker on the boot-up screen when I think it tries to reset it to something else, but it should stay at the resolution you specified.
Experiment 20090618
Jun3
Just like Experiment 20090616 except now pulling in from the 100 Days blogs (the wordier ones – sorry, graphical people!) as Steve had suggested. I had to figure out where to split phrases, so I’m doing so on the following characters:
- .
- ,
- !
- ?
- - (these are tricky because there are many ways to code a hyphen – I don’t account for any variations, just he stock keyboard hyphen)
- \n (which is a ‘new line’ character, meaning the ‘end of a line’)
Experiement 20090617 Placeholder
Jun0
This is just a placeholder. Don’t bother clicking to this for now.
Experiment 20090616
Jun9
A fun, pointless script which plays a lot with randomness: random start/end color, start/end position, start/end size, number of objects, time before beginning animation, length of animation, selection of verbiage.
Experiment 20090615
Jun1
A simple podcast player. Makes use of jw player from longtail video. Also experiments with linking to jquery ui resources hosted at googleapis. Using CDNs for commonly used javascript and css resources is cool because a) you don’t have to host it yourself, b) people’s browsers cache it, so it loads much more quickly, and c) google knows what the hell they’re doing, so they serve it in the best way possible. The only down side is that if their site ever gets bogged down or they go offline, you’re kinda screwed. Still, Google is pretty safe to bet on, so we web developers do.
“Simple Spy” Wrapper
Jun1
No time to explain right now. Gotta run!
[UPDATE 2009-06-14] I just looked at this again and it had some bugs in it, which I fixed, plus it turns out I forgot to tag it 100 Days, so no one has seen it yet, most likely. I’m also going to take this opportunity to explain the script a little bit. I guess there was this site called ‘Simple Spy’ which used some sort of rotating script to achieve this effect in their side bar. jqueryfordesigners.com, which looks to be an excellent resource for attractive jquery demos and tutorials, did a little demo and tutorial on how to ajaxify it to pull content in from whatever source one desired. But I didn’t follow the tutorial to create mine. I rolled my own wrapper. ‘Wrappers’ are pieces of code which abstract the functionality of some other code. Simply put, a wrapper usually makes life easier for the next programmer, because it handles the inner working for you and gives you just an easy-to-use subset of tools or configuration options.
In this case, my wrapper gives the user one configuration option, FEED_URL. Since I plugged in Maggie’s feed URL, the demo features her content. If we provide my feed URL, we’d get content loading from my web site. Of course, a lot more documentation and use cases would need to be written to make this useful to anyone, but it’s a dandy start.
Based on demo here: http://jqueryfordesigners.com/ajax-spy/


