My own fork of agnoster, optimized for a terminal that uses the solarized-light colorscheme.
A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
| -----BEGIN CERTIFICATE----- | |
| MIIDIDCCAomgAwIBAgIENd70zzANBgkqhkiG9w0BAQUFADBOMQswCQYDVQQGEwJVUzEQMA4GA1UE | |
| ChMHRXF1aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN1cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5 | |
| MB4XDTk4MDgyMjE2NDE1MVoXDTE4MDgyMjE2NDE1MVowTjELMAkGA1UEBhMCVVMxEDAOBgNVBAoT | |
| B0VxdWlmYXgxLTArBgNVBAsTJEVxdWlmYXggU2VjdXJlIENlcnRpZmljYXRlIEF1dGhvcml0eTCB | |
| nzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAwV2xWGcIYu6gmi0fCG2RFGiYCh7+2gRvE4RiIcPR | |
| fM6fBeC4AfBONOziipUEZKzxa1NfBbPLZ4C/QgKO/t0BCezhABRP/PvwDN1Dulsr4R+AcJkVV5MW | |
| 8Q+XarfCaCMczE1ZMKxRHjuvK9buY0V7xdlfUNLjUA86iOe/FP3gx7kCAwEAAaOCAQkwggEFMHAG | |
| A1UdHwRpMGcwZaBjoGGkXzBdMQswCQYDVQQGEwJVUzEQMA4GA1UEChMHRXF1aWZheDEtMCsGA1UE | |
| CxMkRXF1aWZheCBTZWN1cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MQ0wCwYDVQQDEwRDUkwxMBoG |
| import Random (randomize) | |
| import Color (rgb) | |
| import Time (every, inSeconds, seconds) | |
| -- Pos represents an x,y position in the plane | |
| data Pos = Pos Int Int | |
| -- Vel represents an x,y velocity | |
| data Vel = Vel Int Int | |
| -- First parameter is radius |
| import Either | |
| import Mouse | |
| import Window | |
| -- updates for movement | |
| data Update = Click (Int,Int) | TimeDelta Time | |
| -- control | |
| -- merges the Click |
| import Either | |
| import Mouse | |
| import Window | |
| -- updates for movement | |
| data Update = Click (Int,Int) | TimeDelta Time | |
| -- control | |
| input = let clickPos = sampleOn Mouse.clicks Mouse.position |
| import Mouse | |
| import Window | |
| scene (x,y) (w,h) = | |
| collage w h | |
| [ | |
| circle 10 |> filled blue | |
| |> move (x - toFloat w / 2, toFloat h / 2 - y) | |
| ] |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>WorkingDirectory</key> | |
| <string>/Users/Dan/wiki/gitit/</string> | |
| <key>KeepAlive</key> | |
| <true/> | |
| <key>EnvironmentVariables</key> | |
| <dict> |
| static void execute(int argc, char *argv[]) | |
| { | |
| pid_t childpid; /* child process ID */ | |
| childpid = fork(); | |
| if (childpid == -1) { /* in parent (returned error) */ | |
| perror("fork"); /* perror => print error string of last system call */ | |
| printf(" (failed to execute command)\n"); | |
| } | |
| if (childpid == 0) { /* child: in child, childpid was set to 0 */ |
| ;; a shopping trip is a | |
| ;; (make-shopping-trip string lon lon lon) | |
| ;; where name is the name of the trip | |
| ;; a is the list of items andrea should pay for | |
| ;; dj is the list of items dan and jansen should pay for | |
| ;; all is the list of items everyone should pay for | |
| ;; paid is the person who paid for the food | |
| ;;(not actually lists of items, rather, lists of prices) | |
| (define-struct shopping-trip (name a dj all paid)) |
| .globl main | |
| .data | |
| msgprompt: .word msgprompt_data | |
| msgres1: .word msgres1_data | |
| msgres2: .word msgres2_data | |
| msgprompt_data: .asciiz "Positive integer: " | |
| msgres1_data: .asciiz "The value of factorial(" | |
| msgres2_data: .asciiz ") is " |