MySQL Query for Database Size
SELECT table_schema "Data Base Name", sum( data_length + index_length ) / 1024 / 1024 "Data Base Size in MB" FROM information_schema.TABLES GROUP BY table_schema;
SELECT table_schema "Data Base Name", sum( data_length + index_length ) / 1024 / 1024 "Data Base Size in MB" FROM information_schema.TABLES GROUP BY table_schema;
Use the to convert any kind of video that ffmpeg can understand to an x264 video that can be played on an Andriod device.
The DocumentFormat.OpenXml.dll is registered in the GAC when the SDK is installed so it doesn't physically copy it to your project's output folder by default when you build the application. If you select the option to Show All Files in Visual Studio (Project | Show All Files), you'll see a References node appear in your VB.NET project in the Solution Explorer. Expand it, select DocumentFormat.OpenXml, view it's properties, and set the Copy Local option to True so that it copies it to the output folder when you build the app.
To Filter on port 80 and look at HTTP POSTS only:
tcp.port eq 80 and http.request.method eq POST
To find traffic on a specific host:
ip.dst == 17.19.4.32 or ip.src == 17.19.4.32
To find a string value in any packet:
frame matches "(?i)[STRING_VALUE]"
cryptsetup luksFormat /dev/sda3
cryptsetup luksOpen /dev/sda3 secure
This article describes how to use Puppet to manage a group of servers. This management can range from package management to configuration management as well as many other things. The goal of this document is to use only stable, trusted CentOS repositories and native RPM package management as much as possible.
Are you sick of notepad? Here's some great tricks to tweak gvim for windows to act like the vim you love.
Other than downloading the latest version of gvim, you should also get vimtweak.dll here:
http://www.vim.org/scripts/script.php?script_id=687
Once you've installed gvim, to set up a _vimrc file:
diff <(ssh myServer1 'cat foo') <(ssh myServer2 'cat foo')