This file contains 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
<plominodatabase id="label-demo"> | |
<design> | |
<dbsettings version="1.18"> | |
<AboutDescription type="Products.Archetypes.Field.TextField"><![CDATA[]]></AboutDescription> | |
<UsingDescription type="Products.Archetypes.Field.TextField"><![CDATA[]]></UsingDescription> | |
<IndexAttachments type="Products.Archetypes.Field.BooleanField">False</IndexAttachments> | |
<FulltextIndex type="Products.Archetypes.Field.BooleanField">True</FulltextIndex> | |
<IndexInPortal type="Products.Archetypes.Field.BooleanField">False</IndexInPortal> | |
<debugMode type="Products.Archetypes.Field.BooleanField">False</debugMode> | |
<CountDocuments type="Products.Archetypes.Field.BooleanField">False</CountDocuments> |
This file contains 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
"use strict"; | |
define(["module", "app"], function (module, app) { | |
app.lazy.service("localFS", [ | |
"$q", | |
function ($q) { | |
var fstype = LocalFileSystem.PERSISTENT; | |
var path_prefix = "educlever/"; | |
window.requestFileSystem(fstype, 0, function gotFS(fileSystem) { | |
var dataDir = fileSystem.root.getDirectory(path_prefix, {create: true}); |
This file contains 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
let registry:any = {} | |
function implementing(typeInterface: any) { | |
return (target: any) => { | |
if (target.providesInterfaces === undefined) { | |
target.providesInterfaces = [typeInterface]; | |
} else { | |
target.providesInterfaces.push(typeInterface); | |
} | |
return target; |
This file contains 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 { Component, OnInit, ElementRef } from '@angular/core'; | |
import { D3Service, D3, Selection } from 'd3-ng2-service'; | |
@Component({ | |
selector: 'app-content-tree', | |
template: `<svg></svg>`, | |
styleUrls: ['./content-tree.component.css'], | |
}) | |
export class ContentTreeComponent implements OnInit { | |
private d3: D3; |
This file contains 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
#!/bin/sh | |
# Redirect output to stderr. | |
exec 1>&2 | |
# enable user input | |
exec < /dev/tty | |
badimport='../core/lib' | |
# CHECK | |
if test $(git diff --cached | grep $badimport | wc -l) != 0 | |
then |
This file contains 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
{ | |
"fieldsets": [ | |
{ | |
"fields": [ | |
"title", | |
"description" | |
], | |
"id": "default", | |
"title": "Default" | |
}, |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am ebrehault on github. | |
* I am ebrehault (https://keybase.io/ebrehault) on keybase. | |
* I have a public key ASARc1t89FHAOqFB18dHFngo2xGnCgecUfU-7XcgQd7aRAo | |
To claim this, I am signing this object: |
OlderNewer