Adding photo to facebook album via mobile apps
I have being searching how to add my photo to facebook album via mobiles apps (android) facebook "help does not" does not really that help you so I figured it out my self, take note I'm using the Facebook Android apps on my galaxy note but the functionality should be identical to the Facebook iPhone apps.
Step 1. go to your profiles and go to your album list, tap the neat looking + button at the top right:
Step 2. chose to upload a photo of course
Step 3. after you chosen an images tap on the marked icon in the picture, it will allow you to set which album you to assign to images to
Final Step!: once you confirm the album are selected all you need to do left is tap upload or cancel you choose then you are basically done!
take note that this will not work if you uploading directly from you profiles pages it only works when you try to add an images from the Album list, that all folks hope you will find this useful
[Prestashop] Disabling country list in one go
Default installation prestashop included all the country in the world, as for me I don't realy need all of them to be enable which because I'm only selling items in my local country only.
This which require me to disable all 200+ entry which is a tremendous clicking task, but someone posted this in the prestashop forum which only require 1 SQL query statement to disable all of the entry beside your choosing:
of course you need to change the ps_ to your database prefix
Cheers!
ESX: Entering maintainance mode via command line
To enter Maintenance Mode, at the ESX console type:
To exit Maintenance Mode type:
To display whether the ESX Server is currently in maintenance mode or not type:
Mounting External USB Drive on DNS-323 with Readonly NTFS
I recently bought a DNS-323 NAS and I also bought a 2TB Seagate, manage to get the disk working but the problem is I have 500GB extra disk full of data.
I began copying my the data from the extra 500GB disk to my WD My Book 1TB, since DNS-323 will always need to format new inserted disk to it, and my plan is to make this disk to store all the fun_plug and some extra hack that I plan for my DNS-323
Setting up fun_plug was easy just follow the guide from here wiki.dns323.info/howto:ffp
After FFP installed we need to ssh to it, first we need 2 modules to make DNS-323 can use usb storage and read ntfs files system
I copy them to /mnt/HD_a2/.bootstrap/
next we need to load the modules:
insmod usb-storage.ko
then time to plug-in my usb disk dmesg should show my disk is detected
sdc: assuming drive cache: write through
SCSI device sdc: 1953525168 512-byte hdwr sectors (1000205 MB)
sdc: assuming drive cache: write through
sdc: sdc1
Attached scsi disk sdc at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg2 at scsi2, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
now I need to mount it so I can get access to all those data and copy it over to my 2TB disk on the NAS
mount -t ntfs /dev/sdc1 /mnt/usb
NOTE: please bare in mind ntfs read-write support is buggy I only use it for read only not write so you the modules with your risk!
after I done copying need to umount it
Done!
reference:
fun_plug 0.5: wiki.dns323.info/howto:ffp
ntfs.ko: forum.dsmg600.info/viewtopic.php?pid=30039#p30039
usb-storage.ko: dev.skcserver.de/dns323/modules_v1.03/kernel/drivers/usb/storage/
Daily Log: remove user password in linux/for change password
Q. How do I delete user Password and for user under Linux?
A. All user encrypted passwords are stored in /etc/shadow file. The quick way to remove/delete a user password is pass --delete option to passwd command.
First, login in as a root user. Command to delete user password under Linux
Type the following command to delete a user password:
OR
Above command delete a user's password (make it empty). This is a quick way to disable a password for an account. It will set the named account passwordless. User will not able to login. but if the user still have his/her ssh public keys he/she can still login to the accounts to disable the account permanently do:
NOTE: this also useful to force user to change their password at login (those that have ssh public keys auth enabled) with chage command combined, example
# chage -d 0 alba
command above will delete the user password and he/she will required to set a new password when connecting via ssh without needing to enter the old password, good for resseting forgotten user password
GIT + SSH passwordless auth on windows
Getting Git to use Plink for SSH on Windows somehow by default it wont
You need to create a system variable in Windows for GIT_SSH:
1. Go to System Properties > Advanced Settings
2. Click the button for Environment Variables
3. Click 'New' to add a new system variable
4. Under variable name, call it 'GIT_SSH'
5. Under variable value, put in the path to your Plink executable: 'C:\Program Files\PuTTY\plink.exe' (or where ever your plink are)

6. Click all the OK until you are out of System Properties
7. Git should now able to use Plink for SSH






aloo my wishlist! bukan kamu punyaaaaa hehe