After going through many useless posts to edit externals for a repo, google finally helped me to reach atsome useful point. I thought this may help many.
propedit to change externals on a repo.
~Checkout the repo on your machine.
>>>svn co svn+ssh://.....
~go to the directory which contains sub directories coming through external links.
>>>cd dir_containing_external_dirs/
~execute the command that will edit external links
>>>svn propedit svn:externals .
don't miss dot at the end.
~checkin your code.
>>>svn ci -m ""
~update your code with new external links.
>>>svn up
Friday, June 8, 2012
Monday, May 14, 2012
Include variables to a shell script from an external script
file1 include.sh
#!/bin/bash
var1="Hello there"
file2 includetest.sh
#!/bin/bash
. include.sh
echo $var1
#file2 has access to all variables defined in file1
>>>>Run file2 and you see the required output.
>>chmod +x includetest.sh
>>./includetest.sh
#!/bin/bash
var1="Hello there"
file2 includetest.sh
#!/bin/bash
. include.sh
echo $var1
#file2 has access to all variables defined in file1
>>>>Run file2 and you see the required output.
>>chmod +x includetest.sh
>>./includetest.sh
Mount a LAN resource in cmd
My need led me to think about this problem. I had to run an application from sources when I had the source code on a machine connected to my network(LAN). Due to some problem I didn't want to copy the source code on my machine. I took the following steps:-
1)mount the LAN resource:-
>>>net use z: \\192.168.x.x\shared_folder
Now z drive is a virtual drive on your machine.
2)Set all your environment variables referring z drive.
The above two steps makes you all set to run the application from sources that is present on a LAN resource.
There are many other such utilities with "net" command. Check them, You may find them beneficial too.
1)mount the LAN resource:-
>>>net use z: \\192.168.x.x\shared_folder
Now z drive is a virtual drive on your machine.
2)Set all your environment variables referring z drive.
The above two steps makes you all set to run the application from sources that is present on a LAN resource.
There are many other such utilities with "net" command. Check them, You may find them beneficial too.
Monday, October 10, 2011
something u must know if u r using DOCOMO(know ur call logs)
Recently I was really surprised to dat 1 of ma frnds had access to all my account details, my recent call logs n muh more. After some research I got to know some facts...
1)Docomo has an online support desk(link-Online Support). Many of the advanced queries which customer support guys at 121 cannot answer are all answered there.
2)Docomo has a "my accounts" page (link- My Account), where you can see all your account details.The details include...
a)Ur account info like ur name n address on which ur no. is registered.
b)Ur recent call logs.
c)Ur recharge information.
d)U can activate/deactivate DND. And some more information.
Hope u would like the post.Remember not to disclose ur passwd :)
~barun
1)Docomo has an online support desk(link-Online Support). Many of the advanced queries which customer support guys at 121 cannot answer are all answered there.
2)Docomo has a "my accounts" page (link- My Account), where you can see all your account details.The details include...
a)Ur account info like ur name n address on which ur no. is registered.
b)Ur recent call logs.
c)Ur recharge information.
d)U can activate/deactivate DND. And some more information.
Hope u would like the post.Remember not to disclose ur passwd :)
~barun
Monday, August 8, 2011
Increase your PC's RAM!!
Use Ready Boost to use your USB as a temporary memory to increase your RAM.
Do chek this link...
http://www.sevenforums.com/tutorials/33289-readyboost-setup-use.html
Do chek this link...
http://www.sevenforums.com/tutorials/33289-readyboost-setup-use.html
Windows boots up Slow..Cool Solution??
1)goto run-->msconfig...and remove the items from startup which eat up your memory while startup but you don't need them as such.
2)Delete all temporary files from your Windows machine..
goto run-->%temp% and delete all temporary files.
I hope your computer is not infected else you need an antivirus first!! :)
2)Delete all temporary files from your Windows machine..
goto run-->%temp% and delete all temporary files.
I hope your computer is not infected else you need an antivirus first!! :)
Monday, May 16, 2011
Know your System
Method 1
~type "systeminfo" in a dos.
Method 2
~Start->Run(Windows key+R)
~type "winmsd" and click "OK".
~type "systeminfo" in a dos.
Method 2
~Start->Run(Windows key+R)
~type "winmsd" and click "OK".
Subscribe to:
Posts (Atom)