Skip to content

Instantly share code, notes, and snippets.

View boussouira's full-sized avatar

Ahmed boussouira

  • Morocco
View GitHub Profile
@boussouira
boussouira / track.html
Last active May 2, 2021 11:12
Fire Facebook Pixel with for Free+Shipping Shopify Products
<script>
{% if first_time_accessed %}
var patchedTrack = function(type, data) {
data.revenue = "{{order.total_price | money_without_currency}}";
window.ShopifyAnalytics.lib.track2(type, data);
};
function patchTrack() {
if (window.ShopifyAnalytics &&
window.ShopifyAnalytics.lib &&

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • zh-CN and zh-TW translations from @tianshuo.
  • de translation from @mpbzh.
@boussouira
boussouira / README.md
Created January 25, 2016 09:54 — forked from teffalump/README.md
OpenWRT adblock implementation

Others have recently developed packages for this same functionality, and done it better than anything I could do. Use the packages instead of this script:

Description

In its basic usage, this script will modify the router such that blocked addresses are null routed and unreachable. Since the address blocklist is full of advertising, malware, and tracking servers, this setup is generally a good thing. In addition, the router will update the blocklist weekly. However, the blocking is leaky, so do not expect everything to be blocked.

@boussouira
boussouira / 0-intro.md
Last active August 29, 2015 14:27 — forked from dwayne/0-intro.md
My notes from the book "Authority by Nathan Barry".

A Step-By-Step Guide To Self-Publishing

Become an expert, build a following, and gain financial independence.

by Nathan Barry

Table of Contents