Skip to content

Instantly share code, notes, and snippets.

View dom96's full-sized avatar
🛤️

Dominik Picheta dom96

🛤️
View GitHub Profile
[Package]
name = "kwin-tiling"
version = "0.1.0"
author = "Simon Hafner"
description = "Tiling for the KWin window manager."
license = "GPLv2"
bin = "tiling"
backend = "js"
# Compile with nimrod c -d:release --threads:on PN.nim
import os, strutils, unsigned
const
TileDim = 50
Miw = 2
MaxWid = 8
NumLevs = 800
type
TMaybe[T] = object
case empty: Bool
of False: value: T
else: nil
proc Just*[T](val: T): TMaybe[T] =
result.empty = False
result.value = val
Hello,
Thank you for reaching out. We appreciate and understand your concerns. At this time the evidence suggest that this activity was targeting a specific customer. We are unable to release any additional details regarding this incident at this time, as there is an ongoing investigation.
We have no comment regarding ryan*'s comments in #linode. You are of course free to take any steps you deem prudent or necessary to ensure the integrity of your online presence.
I am sorry that we cannot provide more information at this time. As always feel free to contact us at any time with any future concerns.
Regards,
Quintin
type
Foo = object
value: int
class Foo:
proc init(v) =
value = v
proc bar =
echo value
type
@dom96
dom96 / fib-gen.nim
Last active December 13, 2015 20:18
template times(count: int, body: stmt) =
for i in 1 .. count:
body
iterator fibGen: int {.closure.} =
var
a = 0
b = 1
result = 0
while true:
This file has been truncated, but you can view the full file.
execve("/usr/bin/steam", ["steam"], [/* 53 vars */]) = 0
brk(0) = 0x21e2000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=231428, ...}) = 0
mmap(NULL, 231428, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4a862f5000
close(3) = 0
open("/usr/lib/libreadline.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200V\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=326724, ...}) = 0
This file has been truncated, but you can view the full file.
execve("/usr/bin/steam", ["steam"], [/* 53 vars */]) = 0
brk(0) = 0x1137000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=231428, ...}) = 0
mmap(NULL, 231428, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2a47c4f000
close(3) = 0
open("/usr/lib/libreadline.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200V\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=326724, ...}) = 0
# Nimrod Maybe example
proc getKey(table: PStringTable, name: string): TMaybe[string] =
if table.hasKey(name):
return Just(table[name])
else:
return Nothing
proc useValue(value: string): TMaybe[string] =
echo(value)