Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Tomasz Gregorczyk Tomasz-Silpion

I may be slow to respond.
View GitHub Profile
mbaersch / adwords-script-product-reviews.js
Last active Jul 9, 2019
Dynamische Anzeige von Trusted Shops Produktbewertungen
View adwords-script-product-reviews.js
/****** Dynamische Anzeige von Trusted Shops Produktbewertungen *******/
/* v1.2 2017 Markus Baersch (@mbaersch)
gandke marketing & software - */
/******************************* Setup *******************************/
//Bezeichnung des Labels für Anzeigegruppen mit zu behandelnden Keywords angeben
var lblDynParams = "ApiRating";
evgv / mage_update_content_of_meta_robots_tag.markdown
Last active Jan 5, 2019
Magento. Update content of meta robots tag
View mage_update_content_of_meta_robots_tag.markdown

Update content of meta robots tag

Declare observer into config.xml

thomaslorentsen / pca.js
Last active Feb 24, 2020
Custom integration of post code anywhere
View pca.js
pca.on("load", function (type, id, control) {
control.listen("populate", function (address) {
codenameone /
Last active Jul 8, 2020
Sample for creating a simple MultiList UI in Codename One
public void showForm() {
Form hi = new Form("MultiList", new BorderLayout());
int mm = Display.getInstance().convertToPixels(3);
EncodedImage placeholder = EncodedImage.createFromImage(Image.createImage(mm * 3, mm * 4, 0), false);
Image icon1 = URLImage.createToStorage(placeholder, "icon1", "");
Image icon2 = URLImage.createToStorage(placeholder, "icon2", "");
Image icon3 = URLImage.createToStorage(placeholder, "icon3", "");
Image icon4 = URLImage.createToStorage(placeholder, "icon4", "");
Image icon5 = URLImage.createToStorage(placeholder, "icon5", "");
bjorn2404 / wordpress_remote_images
Created May 21, 2015
WordPress load remote images if they don't exist on the local development server htaccess
View wordpress_remote_images
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/wp-content/uploads/(.*)$
RewriteCond %{DOCUMENT_ROOT}/wp-content/uploads/%1 !-f
RewriteRule ^wp-content/uploads/(.*)$$1 [R=301,L]
herveguetin / next_business_day.php
Last active Aug 26, 2017
Retrieve the next business or calendar day in Magento with an optional leadtime. Magento weekend days config is taken into account.
View next_business_day.php
* Retrieve the next business day with an optional leadtime.
* If leadtime = 1 => find the next business day
* If leadtime = 2 => find the "next next" business day
* etc...
* @param int $leadtime
* @return string|bool
ericthehacker / local.xml
Last active Jan 24, 2020
Local.xml nodes to disable annoying and/or inefficient admin spam
View local.xml
<?xml version="1.0"?>
<!-- disable annoying adminhtml observers and modules -->
View index.html
<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
<h1>Hello, world</h1>
<script src=""></script>
You can’t perform that action at this time.