Comments for Adams Bros Blog http://blog.adamsbros.org Thu, 18 Jan 2018 08:34:33 +0000 hourly 1 https://wordpress.org/?v=5.2.2 Comment on Send Email in your Android Application by garry http://blog.adamsbros.org/2011/12/31/send-email-in-your-android-application/comment-page-1/#comment-93752 Thu, 18 Jan 2018 08:34:33 +0000 http://blog.adamsbros.org/?p=416#comment-93752 The post help us to give the various solutions I found, and the solution that brings up only email clients.Quite helpful!!

]]>
Comment on Recover LVM Volume Groups and Logical Volumes WITHOUT Backups by Dave http://blog.adamsbros.org/2009/05/30/recover-lvm-volume-groups-and-logical-volumes-without-backups/comment-page-1/#comment-85970 Tue, 25 Apr 2017 14:19:45 +0000 http://blog.adamsbros.org/?p=7#comment-85970 This method also worked beautifully for me. My bacon was well and truly saved! Thank you!

]]>
Comment on Upgrade Android SQLite Database by Angie http://blog.adamsbros.org/2012/02/28/upgrade-android-sqlite-database/comment-page-1/#comment-84645 Thu, 20 Apr 2017 16:07:44 +0000 http://blog.adamsbros.org/?p=431#comment-84645 No, it’s easy. The number of progress ticks is newVersion – oldVersion and each case can update the progress by one.

]]>
Comment on Spring Building a RESTful Web Service – revisited by Trenton http://blog.adamsbros.org/2016/01/28/spring-building-a-restful-web-service-revisited/comment-page-1/#comment-74746 Sun, 12 Mar 2017 02:07:17 +0000 http://blog.adamsbros.org/?p=632#comment-74746 If you’re referring to brand new Java developers, sure, that may be the case.

But for a junior developer with even a bit of experience, if you read this blog post, and follow it through, you’re up and running and understand how it works within minutes. The spring docs on the other hand go into extremely verbose descriptions that are wordy as can be, to the point where it’s 7 printed pages if you wanted to print it. Verbosity is not a good thing when it comes to documentation.

]]>
Comment on Spring Building a RESTful Web Service – revisited by August http://blog.adamsbros.org/2016/01/28/spring-building-a-restful-web-service-revisited/comment-page-1/#comment-65170 Tue, 03 Jan 2017 13:23:30 +0000 http://blog.adamsbros.org/?p=632#comment-65170 This isn’t a guide to creating a RESTful web service in Spring. This is a guide to cloning a git repository and starting it. You’ve presented this article as an alternative to Spring’s allegedly terrible documentation and yet anyone reading this would have to still read Spring’s documentation to have any idea what you’re summarizing here.

]]>
Comment on Spring Building a RESTful Web Service – revisited by AB http://blog.adamsbros.org/2016/01/28/spring-building-a-restful-web-service-revisited/comment-page-1/#comment-63778 Fri, 28 Oct 2016 13:31:02 +0000 http://blog.adamsbros.org/?p=632#comment-63778 The spring documentation is much easier to read.

]]>
Comment on Recover LVM Volume Groups and Logical Volumes WITHOUT Backups by Basudev Roy Choudhury http://blog.adamsbros.org/2009/05/30/recover-lvm-volume-groups-and-logical-volumes-without-backups/comment-page-1/#comment-63613 Sat, 22 Oct 2016 11:14:07 +0000 http://blog.adamsbros.org/?p=7#comment-63613 Hi I am using Iomega storecenter IX2 with 500GB RAID1. One day suddenly when the NAS box bootup, there is no data only default folders. I can access the HDD through NAS but there is no previous data. I don’t know how it happens. I took out the HDD and connect to aubunto pc and ran the commands. Please find the results below: If any one can advice me to get back the data.

500gb DISK2

root@basudev-UBUNTU:~# pvs -v
PV VG Fmt Attr PSize PFree DevSize PV UUID
/dev/sda5 ubuntu-vg lvm2 a– 297.61g 0 297.61g qzhOzn-YgK6-CFCH-d2oG-2dBi-PBZp-eSoOfY
/dev/sdb2 md1_vg lvm2 a– 464.79g 0 464.79g kKyZKa-h4dJ-zm6T-t8vi-93c5-Cl9Q-BmO092

root@basudev-UBUNTU:~# vgdisplay -v

— Volume group —
VG Name md1_vg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 464.79 GiB
PE Size 2.00 MiB
Total PE 237971
Alloc PE / Size 237971 / 464.79 GiB
Free PE / Size 0 / 0
VG UUID niI7Ih-8J1c-DUNj-ujxu-BURc-EzLG-zw3Ncj

root@basudev-UBUNTU:~# lvdisplay

— Logical volume —
LV Path /dev/md1_vg/md1vol1
LV Name md1vol1
VG Name md1_vg
LV UUID AhwrYy-Uutm-haZn-MZtE-g1OI-sTG8-XjeQvK
LV Write Access read/write
LV Creation host, time ,
LV Status available
# open 1
LV Size 464.79 GiB
Current LE 237971
Segments 1
Allocation inherit
Read ahead sectors auto
– currently set to 256
Block device 252:1

root@basudev-UBUNTU:~# pvck -d -v /dev/sdb2
Scanning /dev/sdb2
Found label on /dev/sdb2, sector 1, type=LVM2 001
Found text metadata area: offset=4096, size=192512

root@basudev-UBUNTU:~# hexedit /dev/sdb2

00000200 4C 41 42 45 4C 4F 4E 45 01 00 00 00 00 00 00 00 LABELONE……..
00000210 3C C3 D7 9B 20 00 00 00 4C 56 4D 32 20 30 30 31 <… …LVM2 001
00000220 6B 4B 79 5A 4B 61 68 34 64 4A 7A 6D 36 54 74 38 kKyZKah4dJzm6Tt8
00000230 76 69 39 33 63 35 43 6C 39 51 42 6D 4F 30 39 32 vi93c5Cl9QBmO092
00000240 00 00 7B 32 74 00 00 00 00 00 03 00 00 00 00 00 ..{2t………..

root@basudev-UBUNTU:~# vgchange -ay
2 logical volume(s) in volume group "ubuntu-vg" now active
1 logical volume(s) in volume group "md1_vg" now active

]]>
Comment on Linux Macbook Function Key Mode – fnmode by Troy http://blog.adamsbros.org/2009/06/14/linux-macbook-function-key-mode-fnmode/comment-page-1/#comment-61497 Mon, 16 May 2016 01:56:42 +0000 http://blog.adamsbros.org/?p=56#comment-61497 Every time I do a reinstall on a Mac I end up searching for how to fix this, then I end up on this post. Thanks for saving my sanity time and again.

]]>
Comment on Linux Macbook Function Key Mode – fnmode by Aaron http://blog.adamsbros.org/2009/06/14/linux-macbook-function-key-mode-fnmode/comment-page-1/#comment-57484 Sat, 05 Dec 2015 19:45:49 +0000 http://blog.adamsbros.org/?p=56#comment-57484 Finally! A solution for the accursed Fn+F# key issue. Mac users touching an iSeries have lots of problems with this…

Still works in late 2015 on Ubuntu 15.10 on a MBP.

]]>
Comment on Upgrade Android SQLite Database by Paritosh http://blog.adamsbros.org/2012/02/28/upgrade-android-sqlite-database/comment-page-1/#comment-56688 Sat, 14 Nov 2015 22:37:23 +0000 http://blog.adamsbros.org/?p=431#comment-56688 Been trying a couple of approaches but this one does the job efficiently for apps with relatively shorter database version changes.

]]>