Friday, August 30, 2013

Android 4.2.2 Device Offline / Copy files to Android Phone

if you have properly installed adb and you tried all of the remedies mentioned at above the listen to my remedy:
The reason to appearing "device offline" in android 4.2.2 is that android has a security feature in 4.2.2 that create a whitelist of usb ports that can be used as debugging port.
After plugging deivce in usb and entering the command "adb devices" a popup window will be raised in your device and ask you to accept the connection:
popup window to accept RSA fingerprint of your usb
After accepting RSA fingerprint of you usb you can now issue the "adb devices" again and see the device is no longer offline,
If you dont see the popup window, the reason is your adb version is old, your adb version must ne at least 1.0.31 (you can see the version using the command "adb version"). if version is older than 1.0.31 then update your platform-tools package using latest updates from google
that's it

share|improve this answer
$ cat /etc/udev/rules.d/51-android.rulesUBSYSTEM=="usb", ATTR{idVendor}=="NNNN", MODE="0666", GROUP="thegroup"
$ sudo chmod a+r /etc/udev/rules.d/51-android.rules
$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
XXXXXXXX device
$ adb push <local_file> /mnt/sdcard/Music

joffre's lake

 joffre's lake

Region: Pemberton
Difficulty: Intermediate
Time: 5 hours
Distance: 11km
Elevation Gain: 400 meters
Season: June - September
Camping: Yes
Dog Friendly: Yes
Public Transit: No
Approx. 3 hours from Vancouver  
http://www.vancouvertrails.com/trails/joffre-lakes/

Thursday, August 29, 2013

Finding local extrema of a density function using splines

http://stats.stackexchange.com/questions/30750/finding-local-extrema-of-a-density-function-using-splines

require(graphics)
#some data
d <- density(faithful$eruptions, bw = "sj")

#make it a time series
ts_y<-ts(d$y)

#calculate turning points (extrema)
require(pastecs)
tp<-turnpoints(ts_y)
#plot
plot(d)
points(d$x[tp$tppos],d$y[tp$tppos],col="red")

Sunday, August 11, 2013

Best Challenging Hikes

Garibaldi Lake
A scenic turquoise lake lake with a glacier in the background. Read More
Longer hikes can be done to Black Tusk orPanorama Ridge.

Brandywine Meadows 
* The terrain may be difficult and too steep for some dogs.
A short hike to a scenic meadow, great this time of year when the wildflowers are in bloom. Read More

Wedgemount Lake
Make sure to leave plenty of time to return as the descent can be difficult through the steep section and the wet tree roots in the forest can be very slippery and dangerous
Although a brutally steep hike, the reward of the glacier and turquoise lake make it well worth the trek.Read More

The Lions
* Make sure to arrive early as there are very few parking spots by the yellow gate and vehicles that illegally park will be TOWED to North Vancouver
This challenging hikestarts in Lions Bay and takes you to the two most recognizable peaks from Vancouver.Read More

Goat Mountain
* Accessible by public transit
If the Grouse Grind isn’t enough of a workout, continue to Goal Mountain and enjoy one of the best views of the Lower Mainland and the mountains in behind Grouse Mountain. Read More

Mount Cheam
* to reach the trailhead requires a 4-wheel drive truck
* Do not venture close to the edge as the loose rocks have given way in the past and taken several people over the sheer cliff to their deaths
The highest mountain in the Chilliwack area makes you feel on top of the world but the real challenge is getting up the rugged road to the start of the trail. Read More

Panorama Ridge, Garibaldi, Whistler

http://www.vancouvertrails.com/trails/panorama-ridge/

Joeffre lakes

Saturday, August 10, 2013

Buntzen Lake Hike

http://www.vancouvertrails.com/trails/buntzen-lake/


Region: Tri Cities
Difficulty: Easy
Time: 3.5 hours
Distance: 8km
Elevation Gain: 110 meters
Season: year-round
Camping: No
Dog Friendly: Yes
Public Transit: Yes
Approx. 1 hour from Vancouver


Transit Access to Buntzen Lake

Buntzen Lake is accessible by transit by taking the C26 Bus from Coquitlam Centre. On weekends between July and September, the bus will stop in the parking area near the beach at the south end of the lake. However, during the weekdays and non-summer months, the final bus stop is just outside the park gate, approximately 1.8km walking distance from the south beach area. Check Translink's website for more information. 

Friday, August 9, 2013

We all have the extraordinary coded within us... waiting to be released. -- Houston, Jean

We all have the extraordinary coded within us... waiting to be released. -- Houston, Jean

“The secret is here in the present. If you pay attention to the present, you can improve upon it. And, if you improve on the present, what comes later will also be better." -- The Alchemist”

“The secret is here in the present. If you pay attention to the present, you can improve upon it. And, if you improve on the present, what comes later will also be better." -- The Alchemist”

“And, when you want something, all the universe conspires in helping you to achieve it.” -- The Alchemist

“And, when you want something, all the universe conspires in helping you to achieve it.” -- The Alchemist

Life finds Life -- The Alchemist

Life finds Life -- The Alchemist