BUG Community

Welcome! Log In

Forums BUGbase some hacks

Subscribe to some hacks  3 posts, 2 voices

Log in to reply to this topic
May 27, 2008 1:22pm
Medium Bug Labs team jconnolly 285 posts

I figured I'd start a thread to document some hacks that I've thrown together for fine-tuning my interactions with the BUG.

With R1.1 of the Rootfs up, and R1.2 scheduled for release very soon, there are some things that are included as features, and others that haven't been included for any number of reasons. One example is that the /var/log/concierge.log is overwritten each time /etc/rc.d/init.d/concierge is restarted (at boot, or manually via the console). One reason to do this is that the file could get excessively large. the /var/log/kern.log is rolling (as configured with syslog, so while it may be large, at least it doesn't grow out of control.

One thing I do when I get my hands on a fresh production BUG is to modify my concierge (OSGi) start script to append, rather than overwrite, my log.

Assuming you have network access and can open a terminal or command window, you'll want to telnet into your bug (windows users should consider downloading putty) and edit /etc/rc.d/init.d/concierge script

More to come, and this thread will be turned into a wiki entry, or many.
May 29, 2008 6:43am
Medium Bug Labs team jconnolly 285 posts

Sometimes on the BUG an app becomes unresponsive or the VM itself can crash if you putz around too much (which I happen to do fairly often :wink: ). I have a few commands I use to start the VM and concierge anew, which can be thrown into a script.

/etc/rc.d/init.d/concierge stop
rm /opt/concierge/apps/*
rm -fr /opt/concierge/storage
find /opt/concierge/ -name \*program\*.bin | xargs rm $1
sleep 2
/etc/rc.d/init.d/concierge start
tail -f /var/log/concierge.log

/etc/rc.d/init.d/concierge stop does what it looks like. It's the equivalent of hitting the escape button on your keyboard with the Virtual BUG. Sometimes this isn't enough to kill it, and you may need to kill the vm altogether. In that case, you'll want to do something like killall cvm and proceed with the commands below.

rm /opt/concierge/apps/* removes all of the applications from the apps folder, which is scanned upon reboot to restart bundles. I do this to start anew.

rm -fr /opt/concierge/storage removes any bundle storage.

find /opt/concierge/ -name \*program\*.bin | xargs rm $1
will remove the UserAppManager's persistent information about bundle behavior. I find this line particularly convenient when a bundle is blocked from restarting (because, say, it has an exception in it's doStart method and is terminated).

/etc/rc.d/init.d/concierge start does what it looks like: starts concierge back up again (also starts the vm, if not running already).

tail -f /var/log/concierge.log
is a command I probably use 1000 times a day, it just tails the last 10 lines of concierge.log, the output of the VM. This is the "console" on your BUG. the -f option just follows the log, so any new output is printed to screen.

more to come................
Aug 14, 2012 2:09am
User_img_not_found_06_med rubing 103 posts

Isn’t it funny how we www.coachfactorystoreec.com/ Coach Factory Store always want what we can’t have? The girl with the round and pert backside wishes that her rear were 5 times smaller. Meanwhile, the girl with the non existent posterior wishes to achieve a larger butt. Well, if the grass is greener on the other side, just water yours! If you’ve got a small behind, you can create the illusion of a larger one with butt enhancing jeans. Here’s how to do it. Look for light weight denim – This material is very stiff and heavy. If you try to stuff a flat butt into denim jeans, it will only create a flatter looking behind. A little stretch goes a long way – Your butt enhancing jeans should additionally contain some stretch. A mixture of 98 percent cotton and 2 percent lycra is best. This combination of lycra and cotton, especially when it’s in a nice tight-weave fabric that’s fitted through the hip and thigh area will help lift your buttocks. Too much lycra and your jeans may start to ripple like a pair of leggings. If there’s not enough cotton content, there won’t be enough structure to hold you up. It’s all in the pockets – The most effective trick for creating the illusion of a bigger butt is to choose jeans with flap pockets. The added bulk of the flap will enhance and add dimension to your tiny tush. True Religion is notoriously famous for their flap pocket designs. You can also try Hudson, Rock & Republic, Frankie B and Paige for addition flap pocket styles. Pocket placement – If you’re not a fan of flap pockets, or if you’ve already bought too many of them, you can also try denim with regular pockets. Be sure to aim for a pair with smaller pockets that sit higher and this will help make your rear look lifted. Cut is also important – Look for jeans with a slight tapering at www.coachfactoryonliness.com/ Coach Factory Online the knee, such as a straight leg or skinny style. This cut will make your bum look a bit larger in comparison to the rest of your body. Great styles to try are True Religion Billy, Julie or Stella, Siwy Harmah or Rose, and Hudson Emily or Paige. How low can you go – Actually, you don’t want to go too low when it comes to the jean rise. The goal is to project more, not less. A pair of low rise denim will only reduce the size of your rear. Instead, opt for a pair with a medium rise. Color me right – Since dark colors minimize, dark denim and indigo will create a slimming effect. You do not want this kind of effect on your barely there behind! Try to find light colored or medium blue denim. Grey is very flattering and will also work. Like a great bra, butt enhancing jeans can also lift and www.coachfactoryoutletusa.com/ Coach Factory Outlet separate what little you have. So it wasn’t in your genes to have a nice, round bottom. Big deal. Be happy with what you’ve got and just improvise!

Log in to reply to this topic
Forums BUGbase some hacks

Powered by Community Engine