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
REM ***** BASIC ***** | |
sub color() | |
dim F as object | |
dim i as integer, j as integer, nbLig as integer, Lig as integer | |
dim Color as long , FColor as long | |
dim Fin as boolean,Empty as integer | |
dim EndLigne as integer | |
EndLigne = 255 |
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
<?php | |
class JsonHandler | |
{ | |
protected static $_messages = array( | |
JSON_ERROR_NONE => 'No error has occurred', | |
JSON_ERROR_DEPTH => 'The maximum stack depth has been exceeded', | |
JSON_ERROR_STATE_MISMATCH => 'Invalid or malformed JSON', | |
JSON_ERROR_CTRL_CHAR => 'Control character error, possibly incorrectly encoded', | |
JSON_ERROR_SYNTAX => 'Syntax error', |
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
[ | |
{ | |
"keys": ["alt+shift+&"], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 1.0], | |
"rows": [0.0, 1.0], | |
"cells": [[0, 0, 1, 1]] | |
} |
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
(function() { | |
var width = 960, | |
height = 500, | |
outer = d3.select("#graph") | |
.append("svg:svg") | |
.attr("width", width) | |
.attr("height", height) | |
.attr("pointer-events", "all"); | |
})(); |
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
(function ($, _, Backbone) { | |
var template = _.template( | |
'<div class="modal-dialog modal-lg">' + | |
'<div class="modal-content">' + | |
'<div class="modal-header">' + | |
' <% if (allowCancel) { %> ' + | |
' <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>' + | |
' <% } %>' + | |
' <h3 class="js-modal-title css-modal-title"><% if (title) { %><%=title%><% } %></h3>' + |
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
<html> | |
<head></head> | |
<body> | |
<header class="head"> | |
<ul class="menu"> | |
<li class="menu__item">Menu 1</li> | |
<li class="menu__item">Menu 2</li> | |
<li class="menu__item">Menu 3</li> | |
</ul> | |
</header> |
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
Backbone.sync = function(method, model, options) { | |
var type = methodMap[method]; | |
// Default options, unless specified. | |
_.defaults(options || (options = {}), { | |
emulateHTTP: Backbone.emulateHTTP, | |
emulateJSON: Backbone.emulateJSON | |
}); | |
// Default JSON-request options. |
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
$.ready(function() { | |
var myDocumentCheck = function(document) { return document.family.name === "ANIMAL" && document.view.id === "view1"}; | |
//Ajouter un event au ready | |
window.dcp.document.documentController("addEvent", "ready", { | |
"documentCheck" : myDocumentCheck, | |
"name" : "myEvent.animal" | |
}, function(document) { |
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
define([ < dependances > ], function init() { | |
$.widget("<nom_du_module>", < module_parent > , function widget() {... | |
}); |
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
(function umdRequire(root, factory) { | |
'use strict'; | |
if (typeof define === 'function' && define.amd) { | |
define([ < dependances > ], factory); | |
} else { | |
factory( < dependances > ); | |
} | |
}(window, function widget( |
OlderNewer