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
// Euler Spiral map projection | |
// For https://tmcw.github.io/projectityourself/ | |
let lon_look = [ | |
[-180, -89.33633981999999], | |
[-177, -80.661710898], | |
[-174, -73.825305678], | |
[-171, -70.20639653399999], | |
[-167.99999999999997, -70.475119848], |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> | |
<_name>DOT Input</_name> | |
<id>org.inkscape.input.dot</id> | |
<dependency type="executable" location="extensions">dot.py</dependency> | |
<input> | |
<extension>.dot</extension> | |
<mimetype>text/plain</mimetype> | |
<_filetypename>DOT (*.dot)</_filetypename> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// ppsapi_client.c | |
// Zach Davis 07-06-2013 | |
// (C) Same license as FreeBSD | |
/* | |
* Monitors a PPS port for events | |
* | |
* See sample Makefile at the bottom | |
*/ |
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
-- About: Run a command using the text on the clipboard. | |
-- | |
-- The command line arguments form the command. If "{}" is | |
-- in the arguments, it is substituted with the text from the | |
-- clipboard, otherwise the clipboard text is appended to the end. | |
-- Examples: | |
-- copy the filename on the clipboard to the parent directory | |
-- > withcb cp {} ../ | |
-- |
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
-- Problem 5: Clock Repair | |
-- | |
-- November 3, 2007 | |
-- ACM North Central North America Regional Programming Contest Problem 5 | |
-- acm.org | |
-- | |
-- Mr. Horologia's House of Clocks contains various cuckoo clocks that | |
-- customers have brought in for repair. Since they are in the clock | |
-- shop, one might rightly assume that these clocks don't quite run as | |
-- they should. In fact, a fast clock may take 3500 seconds to advance |
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
;;; typing.el --- The Typing Of Emacs | |
;; Copyright (C) 2000, 2001 Alex Schroeder <[email protected]> | |
;; Zombie mode and Q&A game (c) 2011 Sacha Chua <[email protected]> | |
;; Author: Alex Schroeder <[email protected]> | |
;; Maintainer: Alex Schroeder <[email protected]> | |
;; Version: 1.1.4 | |
;; Keywords: games | |
;; URL: http://www.geocities.com/kensanata/emacs.html |
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
; Sample of self modifying code in | |
; (Dcpu-16) assembly. Takes advantage | |
; of the fact that the opcodes for | |
; addition and subtraction only differ | |
; by a single bit. | |
; Computes the following series: | |
; B = 10 + 1 - 2 + 3 - 4 + 5 ... | |
SET A, 1 ; initial values | |
SET B, 10 |
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
#!/usr/bin/env python | |
from random import random | |
class seq_selector: | |
""" | |
Given an arbitrary and unknown length sequence of objects recieved | |
one at a time, this module provides a random selection from the | |
sequence using O(1) space. |
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; diff-region* - Diff two regions | |
;; | |
;; To compare two regions, select the first region | |
;; and run `diff-region`. The region is now copied | |
;; to a seperate diff-ing buffer. Next, navigate | |
;; to the next region in question (even in another file). | |
;; Mark the region and run `diff-region-now`, the diff | |
;; of the two regions will be displayed by ediff. | |
;; |
NewerOlder