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
--[==[ | |
Calculations for the Islamic Calendar (for WatchMaker) | |
Calendar math from Edward M. Dershowitz and Nachum Reingold, | |
see http://emr.cs.uiuc.edu/~reingold/calendar-book/index.html | |
Translated into Lua from emacs-lisp by Mark Shoulson, mark@shoulson.com | |
The MIT License (MIT) | |
Copyright (c) 2015 Mark E. Shoulson |
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
#!/bin/sh | |
if [ $# -gt 0 ] | |
then DIR="$1" | |
else DIR="." | |
fi | |
if [ -d "$DIR/.hg" ] | |
then echo hg status "$DIR" | |
hg status "$DIR" | |
elif [ -d "$DIR/.svn" ] |
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
use v6; | |
grammar Simpl { | |
token xxx { 'x' } | |
token c { 'c' } | |
token end { '!' } | |
token xc { <xxx>*<c> } | |
token xend { <xxx>*<end> } | |
} |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<!-- Created with Inkscape (http://www.inkscape.org/) --> | |
<svg | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:cc="http://creativecommons.org/ns#" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:svg="http://www.w3.org/2000/svg" | |
xmlns="http://www.w3.org/2000/svg" | |
version="1.1" |
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
###### XXX.pm: | |
#!/usr/bin/perl | |
package XXX; | |
use Filter::Simple; | |
FILTER { | |
s/MXM/#/g; | |
} | |
1; |
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
#!/bin/sh | |
if [ $# -gt 0 ] | |
then DIR="$1" | |
else DIR="." | |
fi | |
if [ -d "$DIR/.hg" ] | |
then echo hg status "$DIR" | |
hg status "$DIR" | |
elif [ -d "$DIR/.svn" ] |
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
# setup.py | |
from distutils.core import setup | |
versionnum="0.30" | |
try: | |
import py2exe | |
except ImportError: | |
try: | |
import py2app | |
except ImportError: |
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
my $counter=0; | |
sub recur(Int $x) { | |
my $h; | |
$h="h" ~ $counter; | |
$counter++; | |
my @k=(1,6); | |
if ($x>0) { | |
recur($x-1); |
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
[mark@dev ~]$ cat A.c | |
#include <string.h> | |
int | |
main() { | |
} | |
[mark@dev ~]$ cc -g -c -o A32.o A.c | |
[mark@dev ~]$ cc -g -c -o A64.o +DD64 A.c | |
[mark@dev ~]$ cc -g -o A32 A32.o | |
[mark@dev ~]$ cc -g -o A64 +DD64 A64.o | |
[mark@dev ~]$ gdb ./A32 |
OlderNewer