Mochabomb

Web Design and Technical notes

Mochabomb header image 4

Entries Tagged as 'Cygwin Linux'

Dual NIC setup with CentOS - public and local interfaces

May 7th, 2008 1:20 pm · No Comments

Ever had dual NICs fighting to be king of the hill? This will help settle the battle once and for all.

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Cygwin Linux · Linux · Networking · Subversion

Diff and Patch Notes

February 28th, 2007 1:41 am · No Comments

Useful diff and patch commands:
Create a patch with 3 lines of context and amount of blank lines. I want to see other whitespace difference - it might expose a typo.
diff -u 3 oldfile newfile > patchfile

Use CVS diff to create a patch comparing the local file (newer) with the repository version.
cvs diff [...]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: CVS · Cygwin Linux · Subversion

Worpdress upgrade notes

December 9th, 2006 2:49 am · No Comments

Cygwin is installed on this system, thus the command line work. You can do this with the command console perhaps, but I have never seen the value of learning the windows command line when unix is more mature and stable (since the late 1960’s).
1] Backup the database:
Format: `mysqldump -u -p
-h [...]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Cygwin Linux · MySQL · Wordpress

Linux Setfacl ACL examples and setting them for files

November 2nd, 2006 9:04 pm · No Comments

From http://www.linuxcommand.org/man_pages/setfacl1.html
#####Granting an additional user read access
$ setfacl -m u:lisa:r file
#####Revoking write access from all groups and all named users
(using the effective rights mask)
$ setfacl -m m::rx file
#####Removing a named group entry from a file’s ACL
$ setfacl -x g:staff file
#####Copying the ACL of one file [...]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Cygwin Linux

Cygwin gunzip errors - a band-aid

January 3rd, 2006 11:48 am · No Comments

Cygwin was erroring out when I tried the following:
csh# gunzip articles.tar.gz
After some googling, found that gunzip is symlinked to gzip -d, so I added this line to my .aliases file:
csh# alias gunzip `gzip -d `
This fixed the errors.

These icons link to social bookmarking sites where readers can share and discover new web pages.

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Cygwin Linux