This file contains hidden or 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 lattice | |
import sys | |
import itertools | |
import subprocess | |
# --[ signed/unsigned lattice L ] -- | |
class L_Elem(frozenset): | |
def __str__(self): | |
return "{" + (",".join( [ str(x) for x in self ] )) + "}" |
This file contains hidden or 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/env python | |
import sys | |
import getopt | |
import subprocess | |
import os | |
import os.path | |
settings = { | |
"dsided" : False, |
This file contains hidden or 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
diff --git a/ninja_ide/core/filesystem_notifications/__init__.py b/ninja_ide/core/filesystem_notifications/__init__.py | |
index cef9a73..fc4c678 100644 | |
--- a/ninja_ide/core/filesystem_notifications/__init__.py | |
+++ b/ninja_ide/core/filesystem_notifications/__init__.py | |
@@ -26,6 +26,9 @@ if sys.platform == 'win32': | |
elif sys.platform == 'darwin': | |
from ninja_ide.core.filesystem_notifications import darwin | |
source = darwin | |
+elif sys.platform.startswith("openbsd"): | |
+ from ninja_ide.core.filesystem_notifications import base_watcher |
This file contains hidden or 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
diff --git a/ras.cpp b/ras.cpp | |
index 70614f2..8079d0c 100644 | |
--- a/ras.cpp | |
+++ b/ras.cpp | |
@@ -741,13 +741,13 @@ void md_vdp::draw_scanline(struct bmap *bits, int line) | |
// Low priority | |
draw_plane_back1(line); | |
draw_plane_back0(line); | |
- draw_window(line, 0); | |
draw_sprites(line, 0); |
This file contains hidden or 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
.intel_syntax noprefix | |
.text | |
.globl bubble | |
.type bubble, @function | |
# rdi: buffer of uint64_t[] | |
# rsi: items in buffer | |
bubble: | |
dec rsi # as we work in pairs |
This file contains hidden or 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 A: | |
def __init__(self, x): | |
self.x = x | |
def __str__(self): | |
return "<%s>" % self.x | |
# suppose instances of this whose constructor params are | |
# from this list: | |
xs = [1, 4, 5, 7, 8, 100, 101] |
This file contains hidden or 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
digraph g { node [labeljust="l", shape=record, fontname="Courier New"]; | |
edge [fontname="Courier New", fontsize=9]; | |
blk_400a87 [ label=<{B<SUB>1</SUB><br align="left" />|p<SUB>0</SUB>: MOV R12, RDI<br align="left" />p<SUB>1</SUB>: IMUL RDI, RDI, 0x4<br align="left" />p<SUB>2</SUB>: ADD RDI, 0x4<br align="left" />p<SUB>3</SUB>: CALL malloc<br align="left" />}> ]; | |
blk_400a97 [ label=<{B<SUB>2</SUB><br align="left" />|p<SUB>4</SUB>: CMP RAX, 0x0<br align="left" />p<SUB>5</SUB>: JA p<SUB>7</SUB><br align="left" />}> ]; | |
blk_400a9d [ label=<{B<SUB>3</SUB><br align="left" />|p<SUB>6</SUB>: RET<br align="left" />}> ]; | |
blk_400a9e [ label=<{B<SUB>4</SUB><br align="left" />|p<SUB>7</SUB>: MOV RDI, 0x0<br align="left" />}> ]; | |
blk_400aa5 [ label=<{B<SUB>5</SUB><br align="left" />|p<SUB>8</SUB>: CMP RDI, R12<br align="left" />p<SUB>9</SUB>: JAE p<SUB>13</SUB><br align="left" />}> ]; | |
blk_400aaa [ label=<{B<SUB>6</SUB><br align="left" />|p<SUB>10</SUB>: MOV QWORD [RAX+RDI*4], 0x0<br align="left" />p<SUB>11</SUB |
This file contains hidden or 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
\documentclass{article} | |
\usepackage{amsmath} | |
\usepackage{polytable} | |
\begin{document} | |
$$ | |
\begin{pboxed} | |
\defaultcolumn{l} | |
\> S_1 \> test \> {1}\> {2}\> {3^2}\\ | |
\> S_1 \> test \> {1}\> {2}\> {3^2}\\ |
This file contains hidden or 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
\documentclass{article} | |
\usepackage{amsmath} | |
\usepackage{polytable} | |
\begin{document} | |
$$ | |
\begin{pboxed} | |
\defaultcolumn{l}\column{.}{l} | |
\> S_1 \> test \> {1}\> {2}\> {3^2}\\ | |
\> S_1 \> test \> {1}\> {2}\> {3^2}\\ |
This file contains hidden or 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
diff --git a/ras.cpp b/ras.cpp | |
index 70614f2..d31f5fc 100644 | |
--- a/ras.cpp | |
+++ b/ras.cpp | |
@@ -543,12 +543,38 @@ void md_vdp::draw_window(int line, int front) | |
void md_vdp::draw_sprites(int line, int front) | |
{ | |
+ printf("line: %d\n", line); | |
+ static int xxx = 0; |