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
kind: pipeline | |
type: docker | |
name: default | |
steps: | |
- name: restore-cache | |
image: meltwater/drone-cache | |
pull: true | |
settings: | |
backend: filesystem | |
restore: 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
import { createDocument, fetchDocument, TripleSubject } from "tripledoc"; | |
interface SchemaDefinition { | |
write(subject: TripleSubject, value: any): void; | |
read(subject: TripleSubject): any; | |
} | |
class StringDefinition implements SchemaDefinition { | |
private readonly predicates: string[]; |
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
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
using (var package = new ExcelPackage(File.Create(@"C:\Temp\test.xlsx"))) | |
{ | |
var sheet = package.Workbook.Worksheets.Add("Sandbox"); | |
var parser = new TableParser(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
{ | |
"intent": "get_forecast", | |
"slots": { | |
"date": ["2018-09-16"], | |
"city": ["Paris"] | |
} | |
} |
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
#! /usr/bin/python | |
# Title: samsungremote.py | |
# Author: Asif Iqbal | |
# Adapted By: Julien LEICHER | |
# Date: 05APR2012 | |
# Info: To send remote control commands to the Samsung tv over LAN | |
# TODO: | |
import sys | |
import socket |
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
/** | |
* matt.scss - v0.3.0 | |
* | |
* Matt is a simple sass declaration file which aims to provides a solid foundation | |
* for BEM based stylesheets by providing variables with semantic names. | |
* | |
* You may also link the Roboto font and material icons: | |
* - <link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700,900" rel="stylesheet"> | |
* - <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | |
* |
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
/// <summary> | |
/// Le fonctionnement est très simple, côté Program.cs du service (donc dans le Main): | |
/// | |
/// if (CLIServiceInstaller.Try("servicename")) | |
/// return; | |
/// | |
/// Les paramètres fournit sont les commandes prises en comptes parmis : | |
/// - user | |
/// - password | |
/// - servicename |
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
/** | |
* This toolkit is developed and maintained by Julien Leicher (http://julien.leicher.me). | |
* Since I found myself rewriting it, I've decided to make a small toolkit. | |
*/ | |
/** | |
* ----------------------------------------------------------------------------- | |
* Needed variables | |
* ----------------------------------------------------------------------------- | |
*/ |
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
# -*- encoding: utf-8 -*- | |
# | |
# Implementation of the stemming algorithm at http://snowball.tartarus.org/algorithms/french/stemmer.html | |
# Based on the javascript port made by Kasun Gajasinghe http://snowball.tartarus.org/otherlangs/french_javascript.txt | |
# | |
# Testing: | |
# It uses the file voc.txt (http://snowball.tartarus.org/algorithms/french/voc.txt) | |
# and compares results with output.txt (http://snowball.tartarus.org/algorithms/french/output.txt) | |
# | |
# At the time being, it fails for 242 words on 20403, feel free to edit this gist. |