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
    
  
  
    
  | ;; nano-emacs.el --- NANO Emacs (minimal version) -*- lexical-binding: t -*- | |
| ;; Copyright (c) 2025 Nicolas P. Rougier | |
| ;; Released under the GNU General Public License 3.0 | |
| ;; Author: Nicolas P. Rougier <nicolas.rougier@inria.fr> | |
| ;; URL: https://github.com/rougier/nano-emacs | |
| ;; This is NANO Emacs in 256 lines, without any dependency | |
| ;; Usage (command line): emacs -Q -l nano.el -[light|dark] | 
  
    
      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
    
  
  
    
  | /* Heap based virtual machine described in section 3.4 of Three Implementation Models for Scheme, Dybvig | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <ctype.h> | |
| #include <assert.h> | |
| char token[128][32]; | 
  
    
      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
    
  
  
    
  | // | |
| // core_midi_synth.mm | |
| // | |
| // a barebones midi synthesizer demo that calls | |
| // mac's low level API (CoreMIDI and CoreAudio) directly | |
| // (because I can't be bothered to compile other people's libraries) | |
| // | |
| // with code fragments adapted from | |
| // - https://stackoverflow.com/a/7964300 | |
| // - https://github.com/thestk/rtmidi | 
  
    
      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
    
  
  
    
  | (module | |
| (import "events" "pieceMoved" | |
| (func $notify_pieceMoved (param $fromX i32) (param $fromY i32) (param $toX i32) (param $toY i32)) | |
| ) | |
| (import "events" "pieceCrowned" | |
| (func $notify_pieceCrowned (param $fromX i32) (param $fromY i32)) | |
| ) | |
| (memory $mem 1) | |
| (global $currentTurn (mut i32) (i32.const 0)) | |
| (global $WHITE i32 (i32.const 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
    
  
  
    
  | /////////////////////////////////////////////////////////////////////////////// | |
| // | |
| // Module : dictionary.h | |
| // Copyright : (c) Andy Arvanitis 2018 | |
| // License : BSD | |
| // | |
| // Maintainer : Andy Arvanitis | |
| // Stability : experimental | |
| // Portability : | |
| // | 
  
    
      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
    
  
  
    
  | ;;; init | |
| (require 'gkroam) | |
| (require 'org-roam) | |
| (require 'org-ql) | |
| ;;; Helpers | |
| (defun gw/get-title (&optional buffer-or-name) | |
| (with-current-buffer (or buffer-or-name (current-buffer)) | |
| (save-excursion | |
| (goto-char (point-min)) | 
  
    
      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
    
  
  
    
  | /** Finding contours in binary images and approximating polylines. | |
| * Implements the same algorithms as OpenCV's findContours and approxPolyDP. | |
| * <p> | |
| * Made possible with support from The Frank-Ratchye STUDIO For Creative Inquiry | |
| * At Carnegie Mellon University. http://studioforcreativeinquiry.org/ | |
| * @author Lingdong Huang | |
| */ | |
| var FindContours = new function(){let that = this; | |
| let N_PIXEL_NEIGHBOR = 8; | 
  
    
      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
    
  
  
    
  | window.scrollTo(0, 0) | |
| var bodyRect = document.body.getBoundingClientRect(); | |
| var items = Array.prototype.slice.call( | |
| document.querySelectorAll('*') | |
| ).map(function(element) { | |
| var rect=element.getBoundingClientRect(); | |
| return { | |
| element: element, | |
| include: (element.tagName === "BUTTON" || element.tagName === "A" || (element.onclick != null) || window.getComputedStyle(element).cursor == "pointer"), | 
  
    
      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 python3 | |
| import time | |
| import ctypes | |
| from ctypes import wintypes | |
| import struct | |
| import threading | |
| # --- Windows API Setup --- | 
  
    
      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 cv2 | |
| import socketio #python-socketio by @miguelgrinberg | |
| import base64 | |
| sio = socketio.Client() | |
| sio.connect('http://x.x.x.x:xxxx) | |
| cam = cv2.VideoCapture(0) | |
| while (True): | 
NewerOlder