- Artifice
- BiblioCraft
- Blood Magic
- BuildCraft
- Carpenter’s Blocks
- ComputerCraft
- Dimensional Doors
- EnderStorage
- Forestry
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/bash | |
# Get some helper functions | |
. git-sh-setup | |
# Go to the toplevel of the git directory | |
cd_to_toplevel | |
# If we're in the puppet modules, run the following, since they're specific to puppet | |
if [[ "$PWD" == "/etc/puppet/environments/production/modules"* ]] | |
then |
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
;;; Example implementation of a character list | |
(define chr_list '(#\w #\h #\a #\t)) | |
;;; Helper function to make reversing easy | |
(define (rev list) | |
(pushonto list '())) | |
;;; Function that does all of the work | |
(define (pushonto list1 list2) | |
;; If the first list is empty, return the second |
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
#include <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
typedef enum { false, true } bool; | |
char charlist[] = "Some text."; /* An example character list */ | |
char* reverse(char *char_list) | |
{ |
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
(defun hello-world (width height &optional (host "")) | |
(let* ((display (xlib:open-display host)) | |
(screen (first (xlib:display-roots display))) | |
(black (xlib:screen-black-pixel screen)) | |
(white (xlib:screen-white-pixel screen)) | |
(root-window (xlib:screen-root screen)) | |
(grackon (xlib:create-gcontext | |
:drawable root-window | |
:font "9x15bold" | |
:foreground white |
-
Copy and paste underscore.js into repl.it, and execute it.
-
Clear that text, then copy/paste whatever you find relevant from intro-to-underscore.js, probably starting with the data structures. Some of the later functions rely on previous work, so keep that in mind if you like to skip around.
This file has been truncated, but you can view the full file.
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
running: | |
org.wikibrain.Loader -l simple -s fetchlinks -s download -s dumploader -s redirects -s wikitext -s lucene -s phrases -s concepts -s universal -s wikidata -s spatial -s sr -c customized.conf | |
Mar 02, 2015 8:30:28 PM org.wikibrain.Loader <init> | |
INFO: pipeline keeping args: [-l, simple, -c, customized.conf] | |
Mar 02, 2015 8:30:28 PM org.wikibrain.core.lang.Language loadAllLanguages | |
INFO: loaded 285 languages | |
Mar 02, 2015 8:30:31 PM org.wikibrain.conf.Configurator registerProviders | |
INFO: configurator installed 70 providers for 37 classes |
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
wikiparse.core> tstmap | |
{:front {:middletwo "m2", :middlethree "m3", :middleone :m1}, :back2 "b2", :back1 :b1} | |
wikiparse.core> (clojure.core.incubator/dissoc-in tstmap [:front :middletwo]) | |
{:front {:middlethree "m3", :middleone :m1}, :back2 "b2", :back1 :b1} |
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
!! Fix the Alt-p is wacko char problem. | |
XTerm*eightBitInput: false | |
XTerm*metaSendsEscape: true |
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
"""Define names for all type symbols known in the standard interpreter. | |
Types that are part of optional modules (e.g. array) are not listed. | |
""" | |
import sys | |
# Iterators in Python aren't a matter of type but of protocol. A large | |
# and changing number of builtin types implement *some* flavor of | |
# iterator. Don't check the type! Use hasattr to check for both | |
# "__iter__" and "next" attributes instead. |
OlderNewer