This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> { }; | |
let dependencies = rec { | |
selenium = pythonPackages.selenium.overrideDerivation (args: rec { | |
version = "2.48.0"; | |
name = "selenium-${version}"; | |
src = fetchurl { | |
url = "https://pypi.python.org/packages/source/s/selenium/selenium-${version}.tar.gz"; | |
sha256 = "1n0rp6g97rg4154a48yg69vm3f4qybqwz6kqxj1xq5akjm3agp6m"; | |
}; | |
patches = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include VERSION *.py *.rst *.nix | |
exclude .* Makefile test_example.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
port module LicenseSelector exposing (..) | |
import Html exposing (Html, button, div, img, input, label, p, text) | |
import Html.App as Html | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (onCheck) | |
import String | |
main = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, pkgs, ... }: | |
with lib; | |
{ | |
imports = [ | |
# ISO image | |
<nixpkgs/nixos/modules/installer/cd-dvd/iso-image.nix> | |
# Hardware support similar to installer Live CD | |
<nixpkgs/nixos/modules/profiles/all-hardware.nix> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// collective.z3cform.widgets | |
import 'imports?jQuery=jquery!++resource++collective.z3cform.widgets/jquery.tasksplease'; | |
// collective.z3cform.widgets replaces keyword / categorization widget also on Plone 5... | |
import 'imports?jQuery=jquery!++resource++collective.z3cform.widgets/jquery.tokeninput'; | |
import keywordTokenInputActivate from 'imports?$=jquery,jQuery=jquery!exports?keywordTokenInputActivate!++resource++collective.z3cform.widgets/keywords'; | |
window.keywordTokenInputActivate = keywordTokenInputActivate; | |
// collective.polls | |
import 'jquery.browser'; // jquery.browser is no more in jQuery >= 1.9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<registry xmlns:i18n="http://xml.zope.org/namespaces/i18n" | |
i18n:domain="plone"> | |
<record name="plone.custom_plugins" interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema"> | |
<value> | |
<element>template|++plone++static/components/tinymce-builded/js/tinymce/plugins/template/plugin</element> | |
</value> | |
</record> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<registry xmlns:i18n="http://xml.zope.org/namespaces/i18n" | |
i18n:domain="plone"> | |
<records prefix="plone.app.mosaic.structure_tiles.card" | |
interface="plone.app.mosaic.interfaces.ITile"> | |
<value key="default_value"><div class="card-header">Header</div><div class="card card-block"><h3 class="card-title">TItle 1</h3><p class="card-text">Content</p></div></value> | |
<value key="category">structure</value> | |
<value key="read_only">False</value> | |
<value key="name">card</value> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ast | |
tree = ast.parse(open('setup.py').read()) | |
names = {} | |
def strings(tree): | |
ret = [] | |
for node in ast.walk(tree): | |
if isinstance(node, ast.Name): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env nix-shell | |
{ rev ? "beb1f1ea91ef15d5f1b272108b0cf964e47665f2" | |
, sha256 ? "02n73jmc0vbb2dq5af70zxms63jbgbnzc70fmw50mcq07fpwa3p9" | |
, pkgs ? import ((import <nixpkgs> {}).pkgs.fetchFromGitHub { | |
owner = "NixOS"; | |
repo = "nixpkgs"; | |
inherit rev; | |
inherit sha256; | |
}) {} | |
, pythonPackages ? pkgs.python27Packages |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<tal:block define="value nocall:view/data/html|nothing; | |
output_relative_to nocall:value/@@output_relative_to|nothing" | |
condition="output_relative_to" | |
content="structure python:output_relative_to(context)" /> |