Only allow numbers in textbox
//In this scenario it only allows digits
void textBox_KeyPress(object sender, KeyPressEventArgs e) { e.Handled = !(Char.IsDigit(e.KeyChar) || e.KeyChar == '\b'); }
12390 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
void textBox_KeyPress(object sender, KeyPressEventArgs e) { e.Handled = !(Char.IsDigit(e.KeyChar) || e.KeyChar == '\b'); }
# useradd -g root -s /bin/false -d /dev/null -c "SubVersion Daemon" svnserve # mkdir /var/svn # chown -R svnserve /var/svn # update-inetd --add 'svn\tstream\ttcp\tnowait\tsvnserve\t/usr/sbin/tcpd\t/usr/bin/svnserve --inetd --root /var/svn'
$ sudo sudo -u svnserve svnadmin <command>
So when is "Code Snippets" going to be open source ? what does "source code soon to be available" tell us ?