debootstrap trusty /build-armhf
# Will need to do it after every reboot
mount --rbind /proc /build-armhf/proc
mount --rbind /home /build/armhf/home
chroot /build-armhf
adduser YOUR_USER_NAME_HERE
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! |
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
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
{ | |
"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; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Diagnostics; | |
using System.Diagnostics.Tracing; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Mail; | |
using System.Runtime.CompilerServices; |
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; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Diagnostics; | |
using System.Diagnostics.Tracing; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Mail; | |
using System.Runtime.CompilerServices; |
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
public static class X11 | |
{ | |
[DllImport ("libX11.so.6")] | |
static extern IntPtr XOpenDisplay(IntPtr display); | |
static IntPtr Disp; | |
[DllImport ("libX11.so.6")] | |
static extern int XGetGeometry(IntPtr disp, IntPtr hwnd, out IntPtr root, out int x, out int y, | |
out int width, out int height, out int border, out int depth); | |
[DllImport ("libX11.so.6")] | |
static extern IntPtr XInitImage(ref XImage image); |
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.Linq; | |
using System.Text; | |
class OemEncoding : Encoding | |
{ | |
private static readonly char[] Oem = | |
new[] | |
{ | |
127, 199, 252, 233, 226, 228, 224, 229, 231, 234, 235, 232, 239, 238, 236, 196, 197, 201, 230, 198, 244, |
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
public class Result<T> : Result | |
{ | |
public T Value { get; } | |
public Result(T result) | |
{ | |
Success = true; | |
Value = result; | |
} | |
public Result() |
OlderNewer