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
| (define (1+ radixes a) | |
| (if (equal? (car a) (- (car radixes) 1)) | |
| (cons 0 (1+ (cdr radixes) (cdr a))) | |
| (cons (+ 1 (car a)) (cdr a)))) | |
| (define (gen radixes a) | |
| (displayln a) | |
| (gen radixes (1+ radixes a))) |
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
| <!DOCTYPE html> | |
| <html> | |
| <head></head> | |
| <body><div style="display:inline-block; border-style: solid; border-width: 1px"><p >SCRIPT</p> | |
| <div style="display:inline-block; border-style: solid; border-width: 1px"><p >VAR</p> | |
| <div style="display:inline-block; border-style: solid; border-width: 1px"><p >VAR</p> | |
| <div style="display:inline-block; border-style: solid; border-width: 1px"><p >NAME</p> instance | |
| </div> | |
| <div style="display:inline-block; border-style: solid; border-width: 1px"><p >NEW</p> | |
| <div style="display:inline-block; border-style: solid; border-width: 1px"><p >NAME</p> JavaAdapter |
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
| #lang racket | |
| (define (combinations xs n) | |
| (cond ((equal? n 0) | |
| '(())) | |
| ((equal? n (length xs)) | |
| (list xs)) | |
| (else | |
| (append (map (lambda (ys) (cons (car xs) ys)) | |
| (combinations (cdr xs) (- n 1))) |
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
| find .. -type f -name "*.txt" | sed "s/^.*\/\([^\/]*$\)/ln -s '&' '\1'/" | sh |
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
| REM ***** BASIC ***** | |
| Sub Main | |
| Dim Doc As Object | |
| Dim Url As String | |
| Dim Dummy() 'It is an (empty) array of PropertyValues | |
| Dim oDocProps as object | |
| Dim oProps as object | |
| Dim iRow as Integer |
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
| gs -o cropped.pdf -sDEVICE=pdfwrite -dDEVICEWIDTHPOINTS=595.32 | |
| gs -o cropped.pdf -sDEVICE=pdfwrite -dDEVICEWIDTHPOINTS=595.32 -dDEVICEHEIGHTPOINTS=421 -dFIXEDMEDIA -c " 0 0 595.32 421 rectclip" -f final.pdf | |
| gs -o cropped2.pdf -sDEVICE=pdfwrite -dDEVICEWIDTHPOINTS=595.32 -dDEVICEHEIGHTPOINTS=421 -dFIXEDMEDIA -c " 0 421 translate" -c " 0 0 595.32 421 rectclip" -f final.pdf | |
| gs -o cropped2.pdf -sDEVICE=pdfwrite -dDEVICEWIDTHPOINTS=595.32 -dDEVICEHEIGHTPOINTS=421 -dFIXEDMEDIA -c " 0 421 595.32 842 rectclip" -f final.pdf | |
| gs -o cropped2.pdf -sDEVICE=pdfwrite -dDEVICEWIDTHPOINTS=595.32 -dDEVICEHEIGHTPOINTS=421 -dFIXEDMEDIA -c " 0 421 translate" -c " 0 421 595.32 842 rectclip" -f final.pdf | |
| gs -o cropped2.pdf -sDEVICE=pdfwrite -c " 0 421 translate" -c " 0 421 595.32 842 rectclip" -f final.pdf | |
| gs -o cropped2.pdf -sDEVICE=pdfwrite -c " 0 421 translate" -c " 0 0 595.32 421 rectclip" -f final.pdf | |
| gs -o cropped2.pdf -sDEVICE=pdfwrite -c " 0 0 595.32 421 rectclip" -f final.pdf | |
| gs -o cropped2.pdf -sDEVICE=pdfwrite -c |
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
| /drawQrPath | |
| { | |
| newpath | |
| %...qr path from http://goqr.me/ | |
| 31 32 moveto | |
| 32 32 lineto | |
| 32 33 lineto | |
| 31 33 lineto | |
| 31 32 lineto | |
| 32 32 moveto |
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
| ch6 0Z | |
| Q: When do you get multiline error messages? | |
| R: When the error is detected while TEX is processing some higher-level commands. |
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
| $('tr.pdct').each(function(){console.log($(this)[0].attributes['data-ref'].value);}); |