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
{ | |
"settings": { | |
"analysis": { | |
"filter": { | |
"english_stop": { | |
"type": "stop", | |
"stopwords": "_english_" | |
}, | |
"english_stemmer": { | |
"type": "stemmer", |
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
using System; | |
namespace Kebrum.Widgets | |
{ | |
public class CairoBridge:IDisposable | |
{ | |
private Cairo.ImageSurface m_Surface; | |
private System.Drawing.Graphics m_Graphics; | |
private System.Drawing.Bitmap m_Bitmap; |
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
local oldSeq; local oldData; | |
oldSeq = redis.call('hget',KEYS[1], 'sequence') | |
oldData = redis.call('hgetall',KEYS[1]) | |
if oldSeq and tonumber(oldSeq) >= tonumber(ARGV[1]) then | |
return -1 | |
else | |
redis.call('hset', KEYS[1], 'sequence', ARGV[1]); | |
local maxi = tonumber(ARGV[2])*2 + 3; | |
for idx = 3, maxi, 2 do |
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
Hello world! |
NewerOlder