- Direct download Magento extensions: http://freegento.com/ddl-magento-extension.php
- Delete all orders from database: http://www.codelogbook.com/remove-all-orders-from-magento-database/
- Magereverse http://www.magereverse.com/
############################################################################### | |
# The MIT License | |
# | |
# Copyright 2012-2014 Jakub Jirutka <jakub@jirutka.cz>. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
--- gentoo.igz/init.orig 2013-07-29 16:56:59.274531548 +0200 | |
+++ gentoo.igz/init 2013-07-29 16:53:28.636472431 +0200 | |
@@ -254,6 +254,11 @@ | |
nounionfs) | |
USE_UNIONFS_NORMAL=0 | |
;; | |
+ autoinstall) | |
+ AUTO_INSTALL_URL=${x#*=} | |
+ export AUTO_INSTALL_URL | |
+ good_msg "Autoconfiguration from ${AUTO_INSTALL_URL}" |
import MySQLdb.cursors | |
from twisted.enterprise import adbapi | |
from scrapy.xlib.pydispatch import dispatcher | |
from scrapy import signals | |
from scrapy.utils.project import get_project_settings | |
from scrapy import log | |
SETTINGS = get_project_settings() |
# To run this file you will need to open Powershell as administrator and first run: | |
# Set-ExecutionPolicy Unrestricted | |
# Then source this script by running: | |
# . .\install_python.ps1 | |
$save_dir=Resolve-Path ~/Downloads | |
$project_dir = "C:\Projects" | |
$virtualenv_dir = $project_dir + "\virtualenvs" | |
$client = New-Object System.Net.WebClient |
adapted from the article "Crawling anonymously with Tor in Python" by S. Acharya, Nov 2, 2013.
The most common use-case is to be able to hide one's identity using TOR or being able to change identities programmatically, for example when you are crawling a website like Google and you don’t want to be rate-limited or blocked via IP address.
Install Tor.
Mautic has API to interact with other systems. There is PHP API library for faster integration to PHP projects.
API library isn't at Packagist in time of writing this article. Good chance is the library is at Packagist in time of reading, so install it from there and skip this.
Install from GitHub repo. So to use the library as Composer package from GitHub repo your composer.json should contain:
...
mainly used in start-up script
When we play with iptables aka firewall we might end up in situation, where we execute rule, which has unforseen impact - lock yourself out. Recovering from this situation is necessity.
How to:
- Enable reboot via SMS.
- Test all commands in shell first before putting them into Start-up script. This way the command will be wiped out, when unit is rebooted.
<?php | |
error_reporting( E_ALL & ~E_STRICT ); | |
ini_set( 'display_errors', true ); | |
$path = dirname( __FILE__ ).'/library'; | |
set_include_path( | |
get_include_path() . PATH_SEPARATOR . $path | |
); |
<?php | |
// contributed by supplify.com | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
require_once '../curl/Zebra_cURL.php'; | |
require_once '../app/Mage.php'; | |
Mage::app(); | |
class action extends Zebra_cURL{ |