Skip to content

Instantly share code, notes, and snippets.

View jjanssen's full-sized avatar

Janneke Janssen jjanssen

  • Ede, Netherlands
View GitHub Profile
@jjanssen
jjanssen / input.scss
Created November 2, 2023 15:47
Generated by SassMeister.com.
.example {
color: mix(#000, #FFF, 5%);
}
@jjanssen
jjanssen / input.scss
Last active November 2, 2023 15:45
Generated by SassMeister.com.
.example {
color: mix(#000, #FFF, 3%);
}
@jjanssen
jjanssen / input.scss
Created November 2, 2023 15:43
Generated by SassMeister.com.
.example {
color: mix(#000, #FFF, 3%);
}

My Example

<!DOCTYPE html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/2.0.8/es5-shim.min.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sinon.js/1.15.4/sinon.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.12.0/axios.min.js"></script>
</head>
@jjanssen
jjanssen / gist:dbfdb3ab5df2f38addba
Created February 10, 2015 11:22
Allow cookies to be set from iframes in Internet Explorer.
# ----------------------------------------------------------------------
# | Iframes cookies |
# ----------------------------------------------------------------------
# Allow cookies to be set from iframes in Internet Explorer.
#
# http://msdn.microsoft.com/en-us/library/ms537343.aspx
# http://www.w3.org/TR/2000/CR-P3P-20001215/
# <IfModule mod_headers.c>
{
"1/2": "&#189;",
"1/4": "&#188;",
"3/4": "&#190;",
"1/3": "&#8531;",
"2/3": "&#8532;",
"1/8": "&#8539;",
"3/8": "&#8540;",
"5/8": "&#8541;",
"7/8": "&#8542;"
@jjanssen
jjanssen / copy_sites.py
Created October 4, 2012 10:33
Django CMS - Copy pages from one site to another
from optparse import make_option
from django.core.management.base import BaseCommand, CommandError
from django.contrib.sites.models import Site
from django.db import transaction
from cms.models import Page
class Command(BaseCommand):