Requests for PHP : abstract library of cUrl : http://requests.ryanmccue.info/
Sublime Text: Light ide that offers a large range of plug-ins : http://www.sublimetext.com/
var MyCollection = Backbone.Collection.extend({ | |
//custom methods | |
fetch: function(options) { | |
//do specific pre-processing | |
//Call Backbone's fetch | |
return Backbone.Collection.prototype.fetch.call(this, options); |
Requests for PHP : abstract library of cUrl : http://requests.ryanmccue.info/
Sublime Text: Light ide that offers a large range of plug-ins : http://www.sublimetext.com/
Mises en pages avec QtQuick sous Qt 5.1 : http://qt-digia.developpez.com/tutoriels/qt/qt-quick/layouts/
DELIMITER // | |
CREATE FUNCTION `distance` (p1_latitude DOUBLE, p1_longitude DOUBLE, p2_latitude DOUBLE, p2_longitude DOUBLE) RETURNS DOUBLE | |
BEGIN | |
DECLARE deg2rad DOUBLE DEFAULT 0.0174; -- 3.14/180 or 2PI/360 | |
DECLARE distance_latitude, distance_longitude, a DOUBLE; | |
SET distance_latitude = ( p2_latitude - p1_latitude ) * deg2rad; | |
SET distance_longitude = ( p2_longitude - p1_longitude ) * deg2rad; | |
SET a = sin( distance_latitude * .5 ) * sin( distance_latitude * .5 ) + cos( p1_latitude * deg2rad ) * cos( p2_latitude * deg2rad ) * sin( distance_longitude / 2 ) * sin( distance_longitude / 2 ); | |
RETURN round( ( 2 * atan2( sqrt(a) , sqrt(1-a) ) ) * 6371000 , 3 ); -- 6371000 : curve rayon of earth ; | |
END |
namespace HelloWorldSDK | |
{ | |
using System; | |
using System.Drawing; | |
using System.Threading; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
namespace CaptureGestureIntelSDK | |
{ | |
using System; | |
using System.Threading; | |
class Program | |
{ | |
public static bool EndRequested = false; | |
static void Main(string[] args) |
using Microsoft.Build.Utilities; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace DotNetPaths | |
{ |
// SymSpell: 1000x faster through Symmetric Delete spelling correction algorithm | |
// | |
// The Symmetric Delete spelling correction algorithm reduces the complexity of edit candidate generation and dictionary lookup | |
// for a given Damerau-Levenshtein distance. It is three orders of magnitude faster and language independent. | |
// Opposite to other algorithms only deletes are required, no transposes + replaces + inserts. | |
// Transposes + replaces + inserts of the input term are transformed into deletes of the dictionary term. | |
// Replaces and inserts are expensive and language dependent: e.g. Chinese has 70,000 Unicode Han characters! | |
// | |
// Copyright (C) 2012 Wolf Garbe, FAROO Limited | |
// Version: 1.6 |
Class Element : BotObject | |
{ | |
Behavior={":black", ":next_click_white"} | |
} | |
class BlackBehavior | |
{ | |
Trigger = {":click"}, | |
Reaction( (o) => { | |
System.WriteLine("Noir") |
// Check loading of Single Page Application | |
// | |
// It checks the count of requests equals the count of response | |
// of loading of SPA | |
var page = require('webpage').create(); | |
var system = require('system'); | |
var lastReceived = new Date().getTime(); | |
var requestCount = 0; |