Skip to content

Instantly share code, notes, and snippets.

@primozcigler
primozcigler / usage.js
Last active Aug 29, 2015
UTM link decorator, AMD module. It decorates all your links you pass with the current UTM parameters from URL.
View usage.js
require( [ 'jquery', 'utm-decorator' ] , function ( $, Decorator ) {
'use strict';
// decorate all links to themeforest and to our demo page on page load
$( function() {
var utmDecorator = new Decorator;
$( '[href*="themeforest.net"], [href*="proteusthemes.com"]' ).each( function ( index, $el ) {
utmDecorator.decorate( $el );
} );
} );
@primozcigler
primozcigler / marko-learning.md
Last active Dec 30, 2015
Learning course for the new coworker Marko
View marko-learning.md

Naloge

Ta teden bo predvsem poudarek na SASS in JavaScript. Če boš tako hiter kot na začetku, potem se proti koncu tedna bolj resno lotiva Grunt, Bower in ostalih CLI orodij.

Ta fajl bom updateal tekom tedna za vsak dan, glede na napredek.

JavaScript

V tem delu se boš spoznal z osnovami JavaScripta. Poudarek bo na jQuery, ker boš to sigurno potreboval.

@primozcigler
primozcigler / tooling.md
Last active Dec 29, 2015
My tooling, the tools I use for the advanced web development which make my life easier
View tooling.md

On my tooling

I usually send this file if someone is working on the same code as I do. Just a quick overview of my tooling. Hard punishment for the guys which don't listen to me.

Command line tools

Yeoman

@primozcigler
primozcigler / .gitignore
Last active Dec 29, 2015
My talks notes from WordCamp London 2013
@primozcigler
primozcigler / rules.md
Last active Dec 28, 2015
Coding rules and patterns
@primozcigler
primozcigler / themeforest-contract.md
Last active Oct 12, 2020 — forked from malarkey/Contract Killer 3.md
Modified version of @malarkey's Killing Contract for use for the ThemeForest cooperation (more dev to dev team than dev to client).
View themeforest-contract.md

Contract for developing a Drupal theme for selling on the ThemeForest

Between us: [ProteusNet d.o.o., Rudarska cesta 11, 8281 Senovo, Slovenia, EU] and you: [partner]

Summary:

We’ll always do our best to fulfil the scope of this cooperation, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

So in short;