Skip to content

Instantly share code, notes, and snippets.

View shriphani's full-sized avatar

Shriphani Palakodety shriphani

View GitHub Profile
Frog 0.8
Using configuration /home/shriphani/public/shriphani.com/public/rblog/.frogrc
read-xml: lex-error: at position 9.190/651: duplicated attribute name data
context...:
/home/shriphani/racket/collects/xml/private/reader.rkt:480:0: lex-error
/home/shriphani/racket/collects/racket/private/sort.rkt:213:0: sort
/home/shriphani/racket/collects/xml/private/reader.rkt:223:0: lex-tag-cdata-pi-comment
/home/shriphani/racket/collects/xml/private/reader.rkt:112:4: read-content
/home/shriphani/racket/collects/xml/private/reader.rkt:30:2: read-xml
/home/shriphani/racket/collects/xml/private/xexpr.rkt:84:0: string->xexpr
➜ blog git:(master) ✗ raco pkg update --update-deps frog
raco pkg update: could not remove package
package not currently installed
current scope: user
package: (markdown 0.7)
currently installed:
base
frog
parsack
rackjure
output: don't know how to render value: #<procedure:date>
context...:
/Applications/Racket/collects/scribble/text/output.rkt:125:2: loop
/Applications/Racket/collects/scribble/text/output.rkt:119:6: for-loop
/Applications/Racket/collects/scribble/text/output.rkt:113:2: output-block
/Applications/Racket/collects/scribble/text/output.rkt:37:0: output4
/Applications/Racket/collects/racket/port.rkt:125:0: with-output-to-string
/Users/shriphani/Library/Racket/5.3.6/pkgs/installed/frog/frog/frog.rkt:168:0: write-post-page
/Users/shriphani/Library/Racket/5.3.6/pkgs/installed/frog/frog/frog.rkt:611:0: build
/Applications/Racket/collects/racket/cmdline.rkt:462:12: loop
base* 9f098dddde7f217879070816090c1e8e74d49432 (pnr base)
find-parent-dir* 29e371ab117d816d2ec692f72f56eea01f39efce (pnr find-parent-dir)
frog 9c070111a2e336b0eb963b37cce4c08d1e6ad82f (pnr frog)
markdown* 88e11d461e60028f271a9e7ac9ca971b6a53bd99 (pnr markdown)
parsack* e1cdfd1449cdb19e6ef75b72d804d095c6edc463 (pnr parsack)
rackjure* 8db57f529e535dc93ca06bbd2de271128cc98165 (pnr rackjure)
sexp-diff* 7d3e7e0bd1e48d895bb59ec736dcce0825b55cfb (pnr sexp-diff)
#!/usr/bin/env python
#-*- coding: utf-8 -*-
# Copyright 2013 Subhodeep Moitra, all rights reserved
# [email protected], [email protected]
import sys, os
import argparse
import numpy as np
from pypropack import svdp;
(defproject sutime-clojure "0.1.0-SNAPSHOT"
:description "Wrapper around the time functionality in Stanford NLP Suite"
:url "https://github.com/shriphani/sutime-clojure"
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.4.0"]
[edu.stanford.nlp/stanford-corenlp "1.3.4"]
[edu.stanford.nlp/stanford-corenlp "1.3.4" :classifier "models"]
[clj-time "0.5.0"]]
:jvm-opts ["-Xmx2000M"]
import random
import requests
import itertools
import json
import time
letters = 'abcdefghijklmnopqrstuvwxyz'
def sample():
return ''.join([random.choice(letters) for _ in range(5)]) + '.com'
@shriphani
shriphani / gist:8675874
Last active June 24, 2023 02:45
Racket code for the little schemer
#lang racket
;; Code for the little schemer
(define (atom? x)
(and (not (pair? x))
(not (null? x))))
(define (lat? l)
(cond ((null? l) #t)
jkfdlksjfbjksFJKdfkjsbfjkdfjksbfksjdbfjkbfksdbfkdsbfksjbfksdbfkjbfksdbfksdbfksdbfkjdsbfjkds
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite failures="1" time="40.831" errors="2" skipped="0" tests="3" name="org.archive.util.ObjectIdentityBdbCacheTest">
<properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-7-oracle/jre/lib/amd64"/>
<property name="java.vm.version" value="24.51-b03"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="java.vendor.url" value="http://java.oracle.com/"/>
<property name="path.separator" value=":"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>