vi /etc/sshd/sshd_config
Change "PermitRootLogin no" to "PermitRootLogin yes"
service sshd restart
Here I am describing some technical issues which I faced and how I fixed them. I hope this will be helpful for those who may face the same.
Monday, December 5, 2011
Monday, November 28, 2011
How to make a bootable usb disk for windows?
This is the best solution I could find in the net for making a DOS bootable disk. Thanks VistaX64!
http://www.vistax64.com/tutorials/191416-dos-usb-boot-drive.htmlhttp://www.vistax64.com/tutorials/191416-dos-usb-boot-drive.html
Once you are done with the steps, don't get upset if you see no files in the USB. It happens to me in my Windows XP but still the disk has the required files to boot. You can copy any additional files you need into the disk and use them once it is booted.
http://www.vistax64.com/tutorials/191416-dos-usb-boot-drive.htmlhttp://www.vistax64.com/tutorials/191416-dos-usb-boot-drive.html
Once you are done with the steps, don't get upset if you see no files in the USB. It happens to me in my Windows XP but still the disk has the required files to boot. You can copy any additional files you need into the disk and use them once it is booted.
Thursday, June 9, 2011
How to import a mysql database?
Dump your source database to a file using
mysqldump --database <databasename> -h <server> -u <username> -p > c:\dump.sql
Enter password when prompted.
Now execute the script in the target using
source c:\dump.sql
mysqldump --database <databasename> -h <server> -u <username> -p > c:\dump.sql
Enter password when prompted.
Now execute the script in the target using
source c:\dump.sql
Could not resolve myComponent to a component implementation problem
Check your package name in the component.
Friday, June 3, 2011
Error #2130: Unable to flush SharedObject. at Error$/throwError()
Check your application url for some extra /. For me something like http://<ip>/<context>//index.html caused the error.
Invalid Embed directive in stylesheet - can't resolve source 'Embed(source = "my_resource.swf", symbol = "my_skin")'
If you are getting just one or two errors in your css, check the path of those resources.
Are you getting hundreds of such errors in your css, for all the resources? Then your css might be good ;-) Just comment out the css file in your source and take a look, you might have some broken embed resource path in your code (mxml or as). Fix it, you will be good.
Are you getting hundreds of such errors in your css, for all the resources? Then your css might be good ;-) Just comment out the css file in your source and take a look, you might have some broken embed resource path in your code (mxml or as). Fix it, you will be good.
Friday, May 6, 2011
How to access internal variables in Flex/Action Script 3?
Import the namespace mx_internal
//your existing imports
import mx.core.mx_internal;
Tell Actionscript that is a namespace
use namespace mx_internal;
Prefix the property name with mx_internal::
<instance>.mx_internal::<internal var/method>
//your existing imports
import mx.core.mx_internal;
Tell Actionscript that is a namespace
use namespace mx_internal;
Prefix the property name with mx_internal::
<instance>.mx_internal::<internal var/method>
HTTP Basic Authentication - GET - passing headers in ActionScript 3
Unfortunately I couldn't figure out anyways to handle this. Player discards the headers you set in a GET request. My SSO was okay for a POST, and in POST headers will be included if you pass some dummy parameters along with the request.
Flex 3.5SDK, Flash player 10.2
Flex 3.5SDK, Flash player 10.2
Wednesday, April 6, 2011
Flex Drag Drop: Item is moved instead of copy/How to set the action on drag-drop
Write a dragOverHandler and with in the handler set the action using DragManager.showFeedback(). The possible values for action are:
DragManager.COPY
DragManager.LINK
DragManager.MOVE
DragManager.NONE
DragManager.COPY
DragManager.LINK
DragManager.MOVE
DragManager.NONE
Wednesday, March 23, 2011
Flex line chart/series: Broken/discontinuous lines
If it appears as a bug, check your dataProvider. You might have data points outside the range of Y-Axis.
If you have to live with the faulty data, then disable the filterData property of the series.
If you have to live with the faulty data, then disable the filterData property of the series.
Sunday, March 20, 2011
Unable to drag formula cell in Microsoft Excell
Go to: Tools > Options > Edit [Tab] and tick "Allow cell drag and drop"
Saturday, March 19, 2011
How to increase console output in Eclipse?
Go to Window > Preferences > Run/Debug > Console
Uncheck "Limit Console Output" or set console buffer size.
Uncheck "Limit Console Output" or set console buffer size.
How to prevent a flex datagrid from scrolling up when setting dataprovider?
var scrollPos:int = myGird.verticalScrollPosition;
myGrid.dataProvider = updatedDataProvider;
myGrid.verticalScrollPosition = scrollPos;
myGrid.dataProvider = updatedDataProvider;
myGrid.verticalScrollPosition = scrollPos;
Sunday, January 30, 2011
Dropdown on a ComboBox not updating when changing dataProvider
[yourCombo].dataProvider = yourDataProvider; is not updating the dropdowns?
Try,
[yourCombo].dataProvider = yourDataProvider;
[yourCombo].dropdown.dataProvider = [yourCombo].dataProvider;
It should happen internally but bad bad SDK!
Try,
[yourCombo].dataProvider = yourDataProvider;
[yourCombo].dropdown.dataProvider = [yourCombo].dataProvider;
It should happen internally but bad bad SDK!
Subscribe to:
Posts (Atom)