Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/
./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent
#!/usr/bin/env python | |
# found on <http://files.majorsilence.com/rubbish/pygtk-book/pygtk-notebook-html/pygtk-notebook-latest.html#SECTION00430000000000000000> | |
# simple example of a tray icon application using PyGTK | |
import gtk | |
def message(data=None): | |
"Function to display messages to the user." | |
# Russian. Updated 2012-07-18 | |
ru: | |
admin: | |
home: | |
name: "Главная" | |
pagination: | |
previous: "« Предыдущая" | |
next: "Следующая »" | |
truncate: "…" |
// http://www.olark.com/spw/2011/08/you-can-list-a-directory-with-8-million-files-but-not-with-ls/ | |
#define _GNU_SOURCE | |
#include <dirent.h> /* Defines DT_* constants */ | |
#include <fcntl.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <sys/stat.h> | |
#include <sys/syscall.h> |
#!/bin/bash | |
# Script to convert PDF file to JPG images | |
# | |
# Dependencies: | |
# * pdftk | |
# * imagemagick | |
PDF=$1 |
<?php | |
/** | |
* Callable typehints are only supported in php >= 5.4. | |
* | |
* For PHP 5.3, remove callable typehint, use is_callable($callback) instead. | |
*/ | |
/** | |
* Returns true if the given predicate is true for all elements. | |
*/ |
// XPath CheatSheet | |
// To test XPath in your Chrome Debugger: $x('/html/body') | |
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
// 0. XPath Examples. | |
// More: http://xpath.alephzarro.com/content/cheatsheet.html | |
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |
"AJSIAJSIAJ BANK EVRAZIYa" (OOO) | |
"ALOR BANK" (OAO) | |
"ANKOR BANK" (OAO) | |
"AZIATSKO-TIKhOOKEANSKIJ BANK" (OAO) | |
"BANK "MBA-MOSKVA" OOO | |
"BANK KREMLEVSKIJ" OOO | |
"BANK24.RU"(OAO) | |
"BMV BANK" OOO | |
"BNP PARIBA" ZAO | |
"BRATSKIJ ANKB" OAO |