mysql -u root -p
Create a database:
create database mydatabasename;
Create a user with full privilege on that database :
grant all on mydatabasename.* to mydatabaseuser@localhost identified by 'somepassword';
That's all folks.
mysql -u root -p
Create a database:
create database mydatabasename;
Create a user with full privilege on that database :
grant all on mydatabasename.* to mydatabaseuser@localhost identified by 'somepassword';
That's all folks.
alias hibernate='/cygdrive/c/Windows/System32/rundll32.exe powrprof.dll,SetSuspendState Hibernate'So now you can launch a compilation or a test, launch the following command, lock your screen and go home.
sleep 3600; hibernateAfter one hour, the PC will dump his memory to the hard disk and turn the power off.
The next morning, turn the PC on, it will restore his state, and you can review the result of your last task.
apt-get install git-svn
git svn clone http://svn.your_company.com/your_project/trunk/ cd trunk ls -lThe match between the revision numbers of git dans svn is in ".git/logs/refs/remotes/git-svn"
git gc
git svn fetch git svn rebase
git svn fetch git stash git svn rebase git stash pop
rm -rf some_directories_or_files git checkout . ls -l
svn propset svn:executable ON nom_du_fichierand reverse it :
svn propdel svn:executable nom_du_fichierHere is how to indicate that a file is a text (in order to "svn diff" and automatic conflict resolution to work) :
svn propset svn:mime-type text/plain nom_du_fichierand how to indicate a is "binairy" :
svn propset svn:mime-type application/octet-stream nom_du_fichier
You must install cygwin with those packages :
Then download squashfs-tools from sourceforge.
Here is the simple procedure :
tar xvzf squashfs4.3.tar.gz cd squashfs4.3/squashfs-tools make EXTRA_CFLAGS="-Dlinux -DFNM_EXTMATCH='(1<<5)' -D'sigtimedwait(a,b,c)=sigwaitinfo(a,b)'"...et voilà !
I did not found any problem, but this trick replaces "sigtimedwait" with "sigwaitinfo". Those two functions does the same except that sigtimedwait has a timeout. So you may expect some lock up, in some conditions.
Happy squashing with that !