I hereby claim:
- I am maciakl on github.
- I am lukemaciak (https://keybase.io/lukemaciak) on keybase.
- I have a public key whose fingerprint is A314 5C5C 6FC4 6268 8800 5023 D174 4A63 8129 BDAA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# GPG Cheat Sheet | |
# generate a new key: | |
gpg --gen-key | |
# export public key | |
gpg --export -a keyname >> public.asc | |
# import public key | |
gpg --import public.asc |
There is no user friendly way disable the annoying task bar icon that prompts you to "reserve" a free upgrade to Windows 10. You can however get rid of it by adding a registry key under:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GWX
The key you are adding should be a DWORD
named DisableGWX
and it's vale should be set to 1
.
netsh winsock reset catalog | |
netsh int ip reset resetlog.txt |
# Stop MySQL | |
sudo /etc/init.d/mysql stop | |
# Start MySQL skipping checks | |
sudo mysqld --skip-grant-tables & | |
# Log in as root |
# This is how you prepare your .vim directory to be source controlled across multiple platforms | |
# On Mac/Linux: | |
mv .vimrc .vim/ | |
ln -s .vimrc .vim/vimrc | |
# On Winodws: |
<?php | |
// (c) 2007 Lukasz Grzegorz Maciak | |
// Code Snippet ID: 5e8cf864-db67-4a30-9857-2ce8f3fcb1d5 | |
// takes a database resource returned by a query | |
function csv_from_mysql_resource($resource) | |
{ | |
$output = ""; | |
$headers_printed = false; | |
(?:http://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?)\. | |
)*(?:[a-zA-Z](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?))|(?:(?:\d+)(?:\.(?:\d+) | |
){3}))(?::(?:\d+))?)(?:/(?:(?:(?:(?:[a-zA-Z\d$\-_.+!*'(),]|(?:%[a-fA-F | |
\d]{2}))|[;:@&=])*)(?:/(?:(?:(?:[a-zA-Z\d$\-_.+!*'(),]|(?:%[a-fA-F\d]{ | |
2}))|[;:@&=])*))*)(?:\?(?:(?:(?:[a-zA-Z\d$\-_.+!*'(),]|(?:%[a-fA-F\d]{ | |
2}))|[;:@&=])*))?)?)|(?:ftp://(?:(?:(?:(?:(?:[a-zA-Z\d$\-_.+!*'(),]|(? | |
:%[a-fA-F\d]{2}))|[;?&=])*)(?::(?:(?:(?:[a-zA-Z\d$\-_.+!*'(),]|(?:%[a- | |
fA-F\d]{2}))|[;?&=])*))?@)?(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|- | |
)*[a-zA-Z\d])?)\.)*(?:[a-zA-Z](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?))|(?:(? | |
:\d+)(?:\.(?:\d+)){3}))(?::(?:\d+))?))(?:/(?:(?:(?:(?:[a-zA-Z\d$\-_.+! |
Attaching a Message | |
------------------- | |
1. ^R in email body | |
2. ^W to attach a message | |
3. Type in message number and Enter | |
Delete All in Folder | |
-------------------- |