Badges

Types

Formats

Show Only

VIM
https://mreschke.com/88/vim
manup install vimrc ,m toggle line number column ,f toggle fold column ,q close current window ,Q close current buffer ,d yank line without adding to the yanked stack ,v reselect text that was just pasted :w!! write as sudo ,ev edit vimrc file Tab jump to marching brackets / search K search for highlighted word ,/ clear search highlights ,z put highlighted word in search/replace box za fold i enter insert mo...
|
post #88 by mreschke Jul 22nd 2008 (4013 views)
Mac Ports
https://mreschke.com/232/mac-ports
Update ports tree sudo port selfupdate List all ports port list Search for a port port search xxx Info on a port port info xxx Install port with port install xxx Show outdated ports port outdated Upgrade all your existing ports sudo port upgrade outdated Upgrade one port sudo port upgrade xxx You can install GTK apps like leafpad, but they look ugly. Change the GTK theme with: http:hints.macworld.com/article.php?story=20080309171359879 You can use the mac4lin gtk theme, see: http:pepijndevos.nl...
|
post #232 by mreschke Feb 3rd 2011 (2731 views)
Palm Zire72 Linux
https://mreschke.com/156/palm-zire72-linux
My Attempts to get my own compiled kernel to boot on my Palm Zire72 I am currently trying to build a simple busybox system for i386 using Buildroot http:buildroot.uclibc.org/buildroot.html It's compiling now, been going for about 15 minutes on my Athlon X2 2GHz I am also testing Scratchbox http:www.scratchbox.org/documentation/user/scratchbox-1.0/html/tutorial.html Followed http:buildroot.uclibc.org/buildroot.html and it took about 20 minutes on my Athlon X2 2Ghz. I basically just built it with...
|
post #156 by mreschke Sep 29th 2009 (3274 views)
Kernel Virtual Machine (KVM)
https://mreschke.com/128/kernel-virtual-machine-kvm
Very nice, KVM on ubuntu instructions https:help.ubuntu.com/community/KVM Remember, theres also VirtualBox which I do have running, and there is vmware which I also have running. First attempt to virt vista Installing Windows Vista Ultimate on a KVM Virtual Machine running on Ubuntu Hardy Heron 8.04 Check if CPU can virtualize (can it returns any results) egrep '(vmx|svm)' --color=always /proc/cpuinfo Check if you have a 64 CPU (is if it returns any results) grep ' lm ' /proc/cpuinfo Check if y...
|
post #128 by mreschke Feb 9th 2009 (5539 views)
BSD Help
https://mreschke.com/122/bsd-help
FYI, new install of FreeBSD 9.0-BETA3 with docs, src, ports,, (basic standard full install) ended up using 2.5g HD space. The new installer defaults entire drive to / slice, in fact the entire installer is quite different that previous versions, much easier it seems. portsnap fetch portsnap extract portsnap upgrade (after that just 'portsnap fetch update' to get latest ports) whereis portupgrade cd /usr/ports make quicksearch name=portupgrade cd /usr/ports/ports-mgmt/portupgrade; mak...
|
post #122 by mreschke Dec 31st 2008 (4766 views)
MySQL Performance & Optimization
https://mreschke.com/108/mysql-performance-optimization
InnoDB provides MySQL with a transaction-safe (ACID compliant) storage engine that has commit, rollback, and crash recovery capabilities. However, it cannot do so if the underlying operating system or hardware does not work as advertised. Many operating systems or disk subsystems may delay or reorder write operations to improve performance. On some operating systems, the very system call that should wait until all unwritten data for a file has been flushed - fsync() - might actually return befo...
|
post #108 by mreschke Sep 23rd 2008 (6043 views)
SSH RSA Keys
https://mreschke.com/106/ssh-rsa-keys
For this to work the servers /etc/ssh/sshd_config must have RSAAuthentication yes PubkeyAuthentication yes On the local client, in a terminal, as the user you normally use to ssh with (like your normal username) ssh-keygen -t rsa This generates an RSA key for SSHv2 (v2 is the -t paramater) This creates 2 files in your /home/username/.ssh/ folder id_rsa, which is the private key id_rsa.pub which is the public key Now we have to get that public key file on to the server your are connecting to wit...
|
post #106 by mreschke Sep 14th 2008 (4916 views)
Manage Linux Users and Groups
https://mreschke.com/104/manage-linux-users-and-groups
A quick topic describing how to create and manage linux users and groups from the command line. This topic only describes what linux users and groups are and how to manage them. It does not explain security and permissions for those users. Please see for help on that topic. > Remember to use --help (example usermod --help to see a help list for that command Linux is a multi-user operating system. The linux user system uses users and groups to define a users role on the system. A user...
|
post #104 by mreschke Sep 13th 2008 (7153 views)
Windows Remote Desktop
https://mreschke.com/99/windows-remote-desktop
While connect to a remote computer using windows remote desktop, the normal CTRLnot effect the remote machine, only your local computer. So these shortcuts give you control on the remote computer. Key combination Function Similar local keys CTRLCTRLALTALTALTCTRLCTRL http:sqlblogcasts.com/blogs/simons/archive/2006/02/06/CTRL-ALT-DEL-in-Terminal-Services.aspx First off, make sure the Remote Desktop Services service is started. In the Remote Desktop settings of my Windows 7 Professional 64bit insta...
|
post #99 by mreschke Aug 22nd 2008 (6015 views)
MSSQL Maintenance
https://mreschke.com/92/mssql-maintenance
SQL Server 2000 Maintenance > The database administrator works like a doctor, keeping databases healthy. Learn the routine maintenance tasks that can help your databases live a long and active life. SQL Server 2000 eliminates the need to run DBCC CHECKDB or DBCC CHECKALLOC. 99% of database failures and corruption with SQL Server 2000 happen due to hardware failures. It is still a good Idea to run DBCC CHECKDB to ensure the overall health of your database prior to backing it up. DBCC C...
|
post #92 by mreschke Jul 23rd 2008 (8643 views)
Debian Apt-Get
https://mreschke.com/90/debian-apt-get
You can see a list of all packages installed by dpkg --get-selections, some packages will say "deinstall" next to them, this means that package has been uninstalled, but old data is still ramaining. You can purge these uninstalled packages by dpkg --purge the-nameof-the-package. If you wanted to write a loop to --purge all package with deinstall, do this for i in $(dpkg --get-selections|grep deinstall|awk '{print $1}'); do dpkg -P $i; done To Count installed packages dpkg --get-selections|grep i...
|
post #90 by mreschke Jul 22nd 2008 (2335 views)
Linux Network Configuration
https://mreschke.com/81/linux-network-configuration
Nice how2 on the /etc/network/interfaces http:www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/ Start the GUI network administration/configuration tool by typing redhat-config-network (Red Hat 9 and Enterprise 3.0) or system-config-network (Fedora) at a shell prompt. Make sure your network interface (typically eth0) is highlighted and click the Edit icon. Select the Automatically obtain IP address settings with dhcp radio button. Check the Automatically obtain DNS information from pr...
|
post #81 by mreschke Jul 12th 2008 (4659 views)
Linux Screen Command
https://mreschke.com/68/linux-screen-command
The following are some of the most used shortcuts that lets you navigate through your screen environment. Note that unless modified by your .screenrc, by default every screen shortcut is preceded by CtrlNote that these shortcuts are case-sensitive (so use shift A and K...) Dont forget to hit Ctrl 0 through 9 - Switches between windows CtrlBackspace - Switches to the previous available CtrlA - Changes window session name K - Kills a window session c - Creates a new window ' Default screens scree...
|
post #68 by mreschke May 21st 2008 (5396 views)
Linux NFS Remote Filesystem
https://mreschke.com/67/linux-nfs-remote-filesystem
Overview of the nfs server options I choose See man exportfs and http:www.troubleshooters.com/linux/nfs.htm for NFS server option details. Also CentOS docs are great for NFS client/serve details http:www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-nfs.html secure server must be started by root because it will use ports lower than 1024 rw enable read and write sync data must be fully synced to disk, this prevents corruption if a server crashes no_wdelay I use this because my nfs re...
|
post #67 by mreschke May 20th 2008 (4680 views)
Iptables Firewall
https://mreschke.com/66/iptables-firewall
<p>This document describes a small portion of iptables and how to setup a basic firewall using iptables. There are many huge books on iptables so I cannot go into any sort of detail here. If you want to create a more advanced firewall, then I suggest installing shorewall and reading the documentation <a class="urlLink" href="http://www.shorewall.net/Introduction.html" onclick="window.open(this.href, '_blank'); return false;">http://www.shorewall.net/Introduction.html</a> about setting it up. I generally use shorewall on my systems and configure them using <a class="urlLink" href="http://www.webmin.com/" onclick="window.open(this.href, '_blank'); return false;">http://www.webmin.com/</a>.</p>
|
post #66 by mreschke May 20th 2008 (5412 views)
IE7 Extensions
https://mreschke.com/61/ie7-extensions
How to turn Internet Explorers Extensions Off Pass the parameter -extoff to iexplorer.exe to disable add-ons You can create a shortcut with extension off by settings the target to "%PROGRAMFILES%\Internet Explorer\iexplore.exe" -extoff Start In would be: %HOMEDRIVE%%HOMEPATH% Note: Attached to this article is a ready made link, just rename it from ....ln_ to ....lnk Keywords > IE7 Internet Explorer Add-ons addons extension off disable
|
post #61 by mreschke May 14th 2008 (2900 views)
Linux Paths
https://mreschke.com/43/linux-paths
Paths are the locations for executables which can be accessed from any location. echo $PATH PATH=$PATH:/dir/dir1 I downloaded UNace (an .ace acrhive extractor) I copied the unace folder to /usr/bin/ I added a path: PATH=$PATH:/usr/bin/unace now I can type unace anywhere, and it finds it from the path To edit a path for a user open $HOME/.bash_profile or to edit for all users edit /etc/profile In either file you will see: PATH=$PATH:$HOME/bin, just add paths to that, separate paths by a : PATH:$P...
|
post #43 by mreschke Apr 15th 2008 (2181 views)
Daemons and Runlevels
https://mreschke.com/41/daemons-and-runlevels
See LXF 114 p48, 'Banish Your Daemons' Runlevels are defined levels in which a linux operating system can start. Daemons (or services) are scripts/programs that run in the background constantly (like apache or mysql are services that are always running) and are usually executed at startup by the defined runlevel. Runlevels are identified by a number from 0 - 6, but each linux distribution may use those numbers a bit differently. Basically a runlevel determines which daemons to execute at startu...
|
post #41 by mreschke Apr 12th 2008 (13047 views)
Autostart Beryl
https://mreschke.com/36/autostart-beryl
<p>Beryl (a linux 3D desktop cube application) does not defaultly start with linux KDE or Gnome. These are instructions taken from <a class="urlLink" href="http://wiki.archlinux.org/index.php/Beryl#Method_2_-_Beryl_without_loading_kwin_.28Faster.29" onclick="window.open(this.href, '_blank'); return false;">http://wiki.archlinux.org/index.php/Beryl#Method_2_-_Beryl_without_loading_kwin_.28Faster.29</a> on how to autostart beryl in KDE.</p> <blockquote class="blockQuote">Beryl is old and is now known as compiz or compiz/fusion </blockquote>
|
post #36 by mreschke Mar 24th 2008 (3235 views)
Favorite Linux Commands
https://mreschke.com/25/favorite-linux-commands
<p>A list of my favorite or often used (and forgotten) linux commands (favcom).</p> <p>Most of the favorite one liners below come from <a class="urlLink" href="http://commandlinefu.com" onclick="window.open(this.href, '_blank'); return false;">http://commandlinefu.com</a> These are only the ones that I have found to be useful for me. Browse and search commandlinefu for yourself to find thousands of incredible linux commands. Also check out the references links, a lot of them simply goto commandlinefu with custom search queries.</p>
|
post #25 by mreschke Feb 14th 2008 (6253 views)
Showing 1 to 20 of 20 results