#Qmail spam prevention:
Start Qmail
/etc/init.d/qmail start
/etc/init.d/xinetd start
Stop Qmail
/etc/init.d/qmail stop
| ### MAGENTO DIRECTORIES | |
| # Ignore everything in media, except for the htaccess files | |
| # Also include the Lazy Catalog Images (LCI) .htaccess if that's installed | |
| # (https://github.com/AOEpeople/Aoe_LazyCatalogImages) | |
| /media/* | |
| !/media/.htaccess | |
| !/media/customer/.htaccess | |
| !/media/downloadable/.htaccess | |
| !/media/catalog/product/LCI/.htaccess |
| // Mocked Service | |
| angular.module('mock.users', []). | |
| factory('UserService', function($q) { | |
| var userService = {}; | |
| userService.get = function() { | |
| return { | |
| id: 8888, | |
| name: "test user" | |
| } |
#Qmail spam prevention:
Start Qmail
/etc/init.d/qmail start
/etc/init.d/xinetd start
Stop Qmail
/etc/init.d/qmail stop
| // Copyright (c) 2012 Sutoiku, Inc. (MIT License) | |
| // Some algorithms have been ported from Apache OpenOffice: | |
| /************************************************************** | |
| * | |
| * Licensed to the Apache Software Foundation (ASF) under one | |
| * or more contributor license agreements. See the NOTICE file | |
| * distributed with this work for additional information | |
| * regarding copyright ownership. The ASF licenses this file |
| ::-webkit-scrollbar{ | |
| height:16px; | |
| overflow:visible; | |
| width:16px; | |
| } | |
| ::-webkit-scrollbar-button{ | |
| height:0; | |
| width:0; | |
| } |
| #!/bin/bash | |
| # current Git branch | |
| branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') | |
| # v1.0.0, v1.5.2, etc. | |
| versionLabel=v$1 | |
| # establish branch and tag name variables | |
| devBranch=develop |
Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.
cp ~/.gnupg/pubring.gpg /path/to/backups/
cp ~/.gnupg/secring.gpg /path/to/backups/
cp ~/.gnupg/trustdb.gpg /path/to/backups/
| find . -name \.AppleDouble -exec rm -rf {} \; |