Skip to content

Instantly share code, notes, and snippets.

Avatar

Ahmed Saidi boussouira

  • Morocco
View GitHub Profile
@boussouira
boussouira / track.html
Last active Mar 4, 2018
Fire Facebook Pixel with for Free+Shipping Shopify Products
View track.html
<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 &&
View History.md

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 Jan 25, 2016 — forked from teffalump/README.md
OpenWRT adblock implementation
View README.md

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 Aug 29, 2015 — forked from dwayne/0-intro.md
My notes from the book "Authority by Nathan Barry".
View 0-intro.md

Authority

A Step-By-Step Guide To Self-Publishing

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

by Nathan Barry

Table of Contents

You can’t perform that action at this time.