repo
string
commit
string
message
string
diff
string
adityavm/general
6f1f693064ed6316052216d86d51f04ac7bfb55e
fixed icons, now using threads to fetch and binary data to pass to gntp
diff --git a/githubfeed.py b/githubfeed.py index 7a9f2f0..fefc8c3 100644 --- a/githubfeed.py +++ b/githubfeed.py @@ -1,48 +1,71 @@ """ Checks specified Github private feed every 5 mins and notifies via Growl if there's any new activity. by Aditya Mukherjee """ # TODO different titles for different activity typ...
adityavm/general
b7a5f9dd5c40cf6e64508345327ab59af6940134
added callback url but it doesn't work?
diff --git a/githubfeed.py b/githubfeed.py index 4f48f0b..7a9f2f0 100644 --- a/githubfeed.py +++ b/githubfeed.py @@ -1,49 +1,48 @@ """ Checks specified Github private feed every 5 mins and notifies via Growl if there's any new activity. by Aditya Mukherjee """ -# TODO use Github API? # TODO different titles fo...
adityavm/general
855e5d2563a3115b41bfeb78532567bdc8ab4e08
added todo, reduced refresh rate
diff --git a/githubfeed.py b/githubfeed.py index a26fdd7..4f48f0b 100644 --- a/githubfeed.py +++ b/githubfeed.py @@ -1,47 +1,49 @@ """ -Checks specified Github private feed every 60 seconds -and notifies via Growl if there's any new activity +Checks specified Github private feed every 5 mins +and notifies via Growl if...
adityavm/general
d5614ff2c082811caee75f8f738603526a90a1fc
added github notifier, because I want realtime github
diff --git a/githubfeed.py b/githubfeed.py new file mode 100644 index 0000000..a26fdd7 --- /dev/null +++ b/githubfeed.py @@ -0,0 +1,47 @@ +""" +Checks specified Github private feed every 60 seconds +and notifies via Growl if there's any new activity + +by Aditya Mukherjee +""" + +import sys +from time import sleep +im...
adityavm/general
d1399252c33ee29fa775942af75f0c4babce266a
Extra output to say that script has started
diff --git a/followingvalue.py b/followingvalue.py index 8bf9609..b2665f2 100644 --- a/followingvalue.py +++ b/followingvalue.py @@ -1,108 +1,110 @@ """ +1 if one hashtag in tweet, -0.5 for every hashtag after the first one // categorisation, easier discoverability of tweet +1 for any mentions // promoting and helpi...
adityavm/general
b027b876bcb0162e729d5c005652d580da7ae533
quickfix for --help
diff --git a/followingvalue.py b/followingvalue.py index 0ac97b1..8bf9609 100644 --- a/followingvalue.py +++ b/followingvalue.py @@ -1,110 +1,108 @@ +""" ++1 if one hashtag in tweet, -0.5 for every hashtag after the first one // categorisation, easier discoverability of tweet ++1 for any mentions // promoting and helpi...
adityavm/general
28381ac4b2d4a7889c2fa542af061ac904c22ebf
quickfix to followingvalue.py
diff --git a/followingvalue.py b/followingvalue.py index 0ac97b1..8bf9609 100644 --- a/followingvalue.py +++ b/followingvalue.py @@ -1,110 +1,108 @@ +""" ++1 if one hashtag in tweet, -0.5 for every hashtag after the first one // categorisation, easier discoverability of tweet ++1 for any mentions // promoting and helpi...
adityavm/general
949196c2d729d2399f30c19c2ea88006915183a9
generate a value for all friends using some 'best practices' rules
diff --git a/followingvalue.py b/followingvalue.py new file mode 100644 index 0000000..0ac97b1 --- /dev/null +++ b/followingvalue.py @@ -0,0 +1,110 @@ +import simplejson, base64, urllib, urllib2, re, time, threading, sys + +if sys.argv[1] == "--help": + print """Calculate the value of the people you're following +by ru...
adityavm/general
fb05905f2daff0aa17ed2fcb303d98c17ea5254b
gets title from URL to be saved / shuffled around data for fields
diff --git a/twitterbookmarker.php b/twitterbookmarker.php index 8713666..037fe7d 100644 --- a/twitterbookmarker.php +++ b/twitterbookmarker.php @@ -1,55 +1,64 @@ <? - # wanted to use Python for this, but I'll need to install - # simpleJSON and stuff, so it's just quicker with PHP at this point header("Content-type:...
adityavm/general
5706a383909837e3be9e8790597a3081df6572a6
Get dump of all tweets from user's timeline into text file
diff --git a/twtdump.php b/twtdump.php new file mode 100644 index 0000000..10f6ee8 --- /dev/null +++ b/twtdump.php @@ -0,0 +1,13 @@ +<? + $i = 0; + $U = "USERNAME"; $P = "PASSWORD"; + while($i<32): + $json = json_decode(file_get_contents("http://$U:$P@twitter.com/statuses/user_timeline.json?page=$i"), true); + $j = 0...
adityavm/general
0aec00942ce1b7c8e18cc7c212ff64927b989f3e
verbose tags for bookmarks
diff --git a/twitterbookmarker.php b/twitterbookmarker.php index 76e41fc..8713666 100644 --- a/twitterbookmarker.php +++ b/twitterbookmarker.php @@ -1,46 +1,55 @@ <? # wanted to use Python for this, but I'll need to install # simpleJSON and stuff, so it's just quicker with PHP at this point header("Content-type:...
adityavm/general
a59e6d56dfc92a258cd554ff0c7b8c85423e0fb0
source for conversation.php
diff --git a/conversation.php b/conversation.php new file mode 100644 index 0000000..eb46b52 --- /dev/null +++ b/conversation.php @@ -0,0 +1,193 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" x...
adityavm/general
a1873dee1d0f1e82f26ab44964119192844830bd
twitterbookmarker update for www. and variable names
diff --git a/twitterbookmarker.php b/twitterbookmarker.php index ab5422c..76e41fc 100644 --- a/twitterbookmarker.php +++ b/twitterbookmarker.php @@ -1,46 +1,46 @@ <? # wanted to use Python for this, but I'll need to install # simpleJSON and stuff, so it's just quicker with PHP at this point header("Content-type:...
adityavm/general
7ce56be4e7bb7cdd2d1ff24923b3af5d82509074
twitterbookmarker update for www. and variable names
diff --git a/twitterbookmarker.php b/twitterbookmarker.php index 345c6ae..ab5422c 100644 --- a/twitterbookmarker.php +++ b/twitterbookmarker.php @@ -1,46 +1,46 @@ <? # wanted to use Python for this, but I'll need to install # simpleJSON and stuff, so it's just quicker with PHP at this point header("Content-type:...
adityavm/general
e6c84c8ee382272b015a7e66bf05f69ceaa1f4af
bridge to take links from twitter timeline and bookmark them on delicious subject to filters
diff --git a/twitterbookmarker.php b/twitterbookmarker.php new file mode 100644 index 0000000..345c6ae --- /dev/null +++ b/twitterbookmarker.php @@ -0,0 +1,46 @@ +<? + # wanted to use Python for this, but I'll need to install + # simpleJSON and stuff, so it's just quicker with PHP at this point + header("Content-type:t...
adityavm/general
b9de5d7f65c1a4a8ba9b1fdcca3bc9ecdf3e55f2
bunch of python scripts
diff --git a/autoBlock.py b/autoBlock.py new file mode 100644 index 0000000..9b8f340 --- /dev/null +++ b/autoBlock.py @@ -0,0 +1,30 @@ +# do a Twitter search for 'to:spam', and block and handles mentioned in the tweet + +import urllib, urllib2, simplejson, re, base64 + +# make call to Twitter Search + +url = 'http://se...
gugod/gugod.github.com
1c832f566b94d45a82e74ddcb9b20673fc7fad1d
minor syntax correction.
diff --git a/js-loop-benchmark/forloop4.html b/js-loop-benchmark/forloop4.html index 20ac85a..fa0a23b 100644 --- a/js-loop-benchmark/forloop4.html +++ b/js-loop-benchmark/forloop4.html @@ -1,46 +1,46 @@ <!doctype html!> <html> <head> <title>Loop Benchmark</title> <script type="text/javascript" ...
gugod/gugod.github.com
288d8dc1db897e102349525508e01cbbc92a4392
leave iframe for references
diff --git a/js-loop-benchmark/index.html b/js-loop-benchmark/index.html index 47779a9..3110486 100644 --- a/js-loop-benchmark/index.html +++ b/js-loop-benchmark/index.html @@ -1,51 +1,50 @@ <!doctype html!> <html> <head> <title>Loop Benchmark</title> <script type="text/javascript" src="jquery....
gugod/gugod.github.com
a18010b8db018e3829e8093a8e718a7a3fe3d67b
use iframe to seperate each runs
diff --git a/js-loop-benchmark/forloop1.html b/js-loop-benchmark/forloop1.html new file mode 100644 index 0000000..078d2e2 --- /dev/null +++ b/js-loop-benchmark/forloop1.html @@ -0,0 +1,44 @@ +<!doctype html!> +<html> + <head> + <title>Loop Benchmark</title> + <script type="text/javascript" src="jquery...
gugod/gugod.github.com
a30edbccbdf1fe9de55695477338c44c132f0231
see if window.onload get around to the js runaway alert box.
diff --git a/js-loop-benchmark/index.html b/js-loop-benchmark/index.html index 86c4b01..3e3867e 100644 --- a/js-loop-benchmark/index.html +++ b/js-loop-benchmark/index.html @@ -1,117 +1,115 @@ <!doctype html!> <html> <head> <title>Loop Benchmark</title> <script type="text/javascript" src="jquer...
gugod/gugod.github.com
fbaa1dd00b7d1c9a094bf3929d3124e8e08905e7
IE has no Date.now method.
diff --git a/js-loop-benchmark/index.html b/js-loop-benchmark/index.html index 879cc12..86c4b01 100644 --- a/js-loop-benchmark/index.html +++ b/js-loop-benchmark/index.html @@ -1,117 +1,117 @@ <!doctype html!> <html> <head> <title>Loop Benchmark</title> <script type="text/javascript" src="jquer...
gugod/gugod.github.com
06ba4ca0723dc07094a1c1835a34440605abffcc
a benchmark page to tests performance of loops
diff --git a/js-loop-benchmark/index.html b/js-loop-benchmark/index.html new file mode 100644 index 0000000..879cc12 --- /dev/null +++ b/js-loop-benchmark/index.html @@ -0,0 +1,117 @@ +<!doctype html!> +<html> + <head> + <title>Loop Benchmark</title> + <script type="text/javascript" src="jquery.min.js"...
gugod/gugod.github.com
a375a420a407a4148628de623c7438369ef938be
add a funtrip testing page
diff --git a/funtrip.html b/funtrip.html new file mode 100644 index 0000000..765f19c --- /dev/null +++ b/funtrip.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="content-type" content="text/html; charset=utf8"> + <title>funtrip test page</title> + <link rel="stylesheet...
gugod/gugod.github.com
7c0346d023ed4e5b203a1676654b3c41e7eb25cd
fix background color truncation.
diff --git a/superlutein.tw/stylesheets/application.css b/superlutein.tw/stylesheets/application.css index 4b5efb7..da3ac3e 100644 --- a/superlutein.tw/stylesheets/application.css +++ b/superlutein.tw/stylesheets/application.css @@ -1,342 +1,338 @@ /* ~~~~~~~~~~ YUI RESET ~~~~~~~~~~ */ html{color:#000;background:...
gugod/gugod.github.com
1d29676f70d4bee0f1fddc55243bc1840e32eaec
assets for superlutein.tw
diff --git a/superlutein.tw/images/bg.png b/superlutein.tw/images/bg.png new file mode 100644 index 0000000..d2e5ac4 Binary files /dev/null and b/superlutein.tw/images/bg.png differ diff --git a/superlutein.tw/images/photo.jpg b/superlutein.tw/images/photo.jpg new file mode 100644 index 0000000..65785a8 Binary files /d...
gugod/gugod.github.com
2bc03b876c23cabdf60ca5c0c4965c1675814198
List my github repo there for example
diff --git a/index.html b/index.html index 85bce7d..daaf953 100644 --- a/index.html +++ b/index.html @@ -1,10 +1,19 @@ <html> <head> <title>gugod's github page</title> </head> <body> - <h1>gugod's github page</h1> + <h1>gugod's github page.</h1> + <div class="widget-github widget"> + <div...
gugod/gugod.github.com
ef52d2e018767b4340fd3068077522d0bcb39c6f
add a dummy index page.
diff --git a/index.html b/index.html new file mode 100644 index 0000000..85bce7d --- /dev/null +++ b/index.html @@ -0,0 +1,10 @@ +<html> + <head> + <title>gugod's github page</title> + </head> + <body> + <h1>gugod's github page</h1> + + + </body> +</html>
ander/blogger_to_markdown
bf7bb8bd7d2303254abfdff9128dcbebed6416b6
rename
diff --git a/README b/README index 5fd3126..b85d9db 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ -A simple script to convert Blogger export to markup files, one file per article. Clearly not perfect. +A simple script to convert Blogger export to markdown files, one file per article. Clearly not perfect. -Each g...
ander/blogger_to_markdown
e1fc66a6f7b0ddf15f1bf7bb7ab495e7e718c7bb
add files
diff --git a/MIT-LICENSE b/MIT-LICENSE new file mode 100644 index 0000000..134e9bb --- /dev/null +++ b/MIT-LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2010 Antti Hakala + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to...
ajasja/listviewreorderdemo
37fe274172a749232acaa081fd3754886710dda1
changed ^ch^ to c in README
diff --git a/README b/README index 51c9d9e..42d6414 100644 --- a/README +++ b/README @@ -1,11 +1,11 @@ This is a demo of the possible ways for letting a user reorder a list view. There are three possible ways: Drag & Drop (Multiple items can be selected using [Ctrl]+[left click]). Clicking Buttons (Up/Down) Sho...
ajasja/listviewreorderdemo
4a67169c32dd8fd63a848e7ba487f62042857ad8
Added made by to READEM
diff --git a/README b/README index 4fb70fa..9bed5e8 100644 --- a/README +++ b/README @@ -1,8 +1,11 @@ This is a demo of the possible ways for letting a user reorder a list view. There are three possible ways: Drag & Drop (Multiple items can be selected using [Ctrl]+[left click]). Clicking Buttons (Up/Down) Shor...
ajasja/listviewreorderdemo
56ca1e735c893f824eb9aac4128674b10e3fc4cb
Added Author to README
diff --git a/README b/README index 4fb70fa..b7cdd36 100644 --- a/README +++ b/README @@ -1,8 +1,11 @@ This is a demo of the possible ways for letting a user reorder a list view. There are three possible ways: Drag & Drop (Multiple items can be selected using [Ctrl]+[left click]). Clicking Buttons (Up/Down) Shor...
ajasja/listviewreorderdemo
6c6e29955957639ba39d5e49bec9ea8af4f8a45a
Added README
diff --git a/README b/README new file mode 100644 index 0000000..4fb70fa --- /dev/null +++ b/README @@ -0,0 +1,8 @@ +This is a demo of the possible ways for letting a user reorder a list view. + +There are three possible ways: +Drag & Drop (Multiple items can be selected using [Ctrl]+[left click]). +Clicking Buttons (U...
maqmaq/kontakty
014e0fe3fac0f2d999fecd7ad31cc3e632a19e70
dodalem NFO
diff --git a/README b/README index 973233f..37ec8ea 100644 --- a/README +++ b/README @@ -1,3 +1,243 @@ -Nic wielkiego, pierwsza sprawna wersja :) +== Welcome to Rails -W najbliższych planach załadowanie templatki. +Rails is a web-application framework that includes everything needed to create +database-backed web ...
maqmaq/kontakty
a65be6e61f769bb27a106c2cf9e497371e0981cb
dodalem NFO
diff --git a/NFO b/NFO new file mode 100644 index 0000000..aa949fe --- /dev/null +++ b/NFO @@ -0,0 +1 @@ +Pierwsza sprawna wersja. W najbliższym czasie planuję dodać templatkę. diff --git a/README b/README index 37ec8ea..973233f 100644 --- a/README +++ b/README @@ -1,243 +1,3 @@ -== Welcome to Rails +Nic wielkiego,...
jkells/konsole_plasmoid
e36a31eb7d323149bc67a8dca18a9c0c881a091a
Add blog post url.
diff --git a/README b/README index 1799aca..a39d697 100644 --- a/README +++ b/README @@ -1,7 +1,9 @@ This is a konsole plasmoid for KDE4 It was developed under an earlier version of KDE4, maybe KDE4.1 I am not running KDE anymore so can't say how it goes on the latest version. It's not under development anymor...
marktriggs/expenses
6102a8be704bff462bbe190e6a957e8d149c693a
Hack to emit JSON
diff --git a/project.clj b/project.clj index cd0e2d8..f91cdf0 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,5 @@ (defproject expenses "0.1.0-SNAPSHOT" - :dependencies [[org.clojure/clojure "1.5.0"]] + :dependencies [[org.clojure/clojure "1.5.0"] + [org.clojure/data.json "0.2.2"]] :aot [exp...
marktriggs/expenses
628f1472f4077a5dccc253701dc6bcdf7981ea48
Upgrade to Clojure 1.5.0
diff --git a/project.clj b/project.clj index df67e83..cd0e2d8 100644 --- a/project.clj +++ b/project.clj @@ -1,5 +1,4 @@ (defproject expenses "0.1.0-SNAPSHOT" - :dependencies [[org.clojure/clojure "1.1.0-alpha-SNAPSHOT"] - [org.clojure/clojure-contrib "1.0-SNAPSHOT"]] - :namespaces [expenses] - :mai...
marktriggs/expenses
aa5900c1e276de55342a61cd4f735f28874d7eef
Separate the report generation from display a little better.
diff --git a/src/expenses.clj b/src/expenses.clj index 68a270a..792fbeb 100644 --- a/src/expenses.clj +++ b/src/expenses.clj @@ -1,278 +1,285 @@ (comment Copyright 2009 Mark Triggs Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License...
marktriggs/expenses
814f8591a26be07a5e21ad8700e7a57a54c989d4
Tweaked param getting and updated README
diff --git a/README b/README index 68b950a..10fe76b 100644 --- a/README +++ b/README @@ -1,107 +1,111 @@ For someone who studied accounting, I've never really paid a huge amount of attention to where my money goes when I stop looking. Generally speaking, as long as I've got somewhere to live and a steady supply of ...
marktriggs/expenses
0bfbe3d7fc945a9e08e3dbbb92aae4286463147a
Made the first day of each reported week customisable
diff --git a/src/expenses.clj b/src/expenses.clj index b6d1025..29e93b3 100644 --- a/src/expenses.clj +++ b/src/expenses.clj @@ -1,240 +1,276 @@ (comment Copyright 2009 Mark Triggs Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License...
marktriggs/expenses
d59ee0d1d23e5d5a9e12f76923a266c3376339fb
Always show up to the current week, even if it has no one-off entries.
diff --git a/src/expenses.clj b/src/expenses.clj index 4ef39d7..b6d1025 100644 --- a/src/expenses.clj +++ b/src/expenses.clj @@ -1,240 +1,240 @@ (comment Copyright 2009 Mark Triggs Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License...
marktriggs/expenses
1fecee2132170ca61ece3ef2e403c49e9f89f3c3
Sort recurring items alphabetically; one-offs by date
diff --git a/src/expenses.clj b/src/expenses.clj index c94986c..4ef39d7 100644 --- a/src/expenses.clj +++ b/src/expenses.clj @@ -1,240 +1,240 @@ (comment Copyright 2009 Mark Triggs Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License...
marktriggs/expenses
b84aeb773ad2ae62f6b31bfcab58353466e5b7e6
Be tolerant of mixed whitespace
diff --git a/src/expenses.clj b/src/expenses.clj index 4edeb86..c94986c 100644 --- a/src/expenses.clj +++ b/src/expenses.clj @@ -1,240 +1,240 @@ (comment Copyright 2009 Mark Triggs Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License...
marktriggs/expenses
0155e5c4e3c2448f0e9dfe809812a43a07948143
Added support for optional descriptions to accompany items
diff --git a/src/expenses.clj b/src/expenses.clj index 392c2e8..4edeb86 100644 --- a/src/expenses.clj +++ b/src/expenses.clj @@ -1,240 +1,240 @@ (comment Copyright 2009 Mark Triggs Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License...
marktriggs/expenses
2662c0d54d767e4b80bbf3ee50eb1ae90ba4ac3f
Untabified. Whitespace cleanups. Sorry.
diff --git a/src/expenses.clj b/src/expenses.clj index 55ff2a4..392c2e8 100644 --- a/src/expenses.clj +++ b/src/expenses.clj @@ -1,240 +1,240 @@ (comment Copyright 2009 Mark Triggs Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License...
marktriggs/expenses
9e7cf5ece6fc61e28fcb29ca1b6a0876c1a6cbc0
Fix to project.clj
diff --git a/project.clj b/project.clj index ee80e09..df67e83 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,5 @@ (defproject expenses "0.1.0-SNAPSHOT" :dependencies [[org.clojure/clojure "1.1.0-alpha-SNAPSHOT"] [org.clojure/clojure-contrib "1.0-SNAPSHOT"]] + :namespaces [expenses] :mai...
marktriggs/expenses
b3b678e292a7ad78df814eefcd719932cb030f11
Allow extra (ignored) fields to store notes, etc.
diff --git a/src/expenses.clj b/src/expenses.clj index 135ccf1..55ff2a4 100644 --- a/src/expenses.clj +++ b/src/expenses.clj @@ -1,240 +1,240 @@ (comment Copyright 2009 Mark Triggs Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License...
marktriggs/expenses
a510b6fb8694090dae6c459c9d8ea2311dfe1354
Added a quick note on how to compile it
diff --git a/README b/README index b182694..68b950a 100644 --- a/README +++ b/README @@ -1,102 +1,107 @@ For someone who studied accounting, I've never really paid a huge amount of attention to where my money goes when I stop looking. Generally speaking, as long as I've got somewhere to live and a steady supply of ...
marktriggs/expenses
fd4688ba341c583ebab2ebe09c625882b96ec2c6
initial import
diff --git a/README b/README new file mode 100644 index 0000000..b182694 --- /dev/null +++ b/README @@ -0,0 +1,102 @@ +For someone who studied accounting, I've never really paid a huge amount +of attention to where my money goes when I stop looking. Generally +speaking, as long as I've got somewhere to live and a stead...
rkobes/extutils-command
1d03a1de9056e9a457f1a5c98b71dc567901ca7c
import of CPAN 1.16 sources
diff --git a/Build.PL b/Build.PL new file mode 100644 index 0000000..16b7919 --- /dev/null +++ b/Build.PL @@ -0,0 +1,22 @@ +use strict; +use warnings; + +use Module::Build; +my %prereq = ( + # splitpath(), rel2abs() + 'File::Spec' => 0.8, + 'File::Basename' => 0, + ...
itszero/njs-BBS
d05aa5d80f56d4b4059ed148715dc094115b3d29
add err... first README
diff --git a/README b/README new file mode 100644 index 0000000..0423966 --- /dev/null +++ b/README @@ -0,0 +1,2 @@ +well... I'm working on README. +Will be updated later. :P
strongh/rbson
e97181d4ff0dbdac13b597fb9dfbf3d60605e11b
added nulls to maps and tests.
diff --git a/R/maps.r b/R/maps.r index 66fe0a3..150668d 100644 --- a/R/maps.r +++ b/R/maps.r @@ -1,65 +1,67 @@ ##' Determine element length ##' ##' ##' ##' @param raw a single raw byte ##' @return a function length_map <- function(raw){ # should be the first byte switch(as.character(raw[1]), # plus th...
strongh/rbson
ab540f9ce67c04ef40e1f21d30a7bf761a0544fe
oops bq
diff --git a/README.textile b/README.textile index c429fe9..c41469c 100644 --- a/README.textile +++ b/README.textile @@ -1,9 +1,9 @@ h1. rbson _an implementation of the BSON spec for R_ BSON, in the words of bsonspec.org, is a -> binary-encoded serialization of JSON-like documents. Like JSON, BSON supports the...
strongh/rbson
54a2c509af537091ab1c2432a284b8832fcfe4e9
moar readme
diff --git a/README.textile b/README.textile index e69de29..c429fe9 100644 --- a/README.textile +++ b/README.textile @@ -0,0 +1,9 @@ +h1. rbson + +_an implementation of the BSON spec for R_ + +BSON, in the words of bsonspec.org, is a + +> binary-encoded serialization of JSON-like documents. Like JSON, BSON supports the...
strongh/rbson
eb180e95a2e68f5148a04d022f70f8443345bfbf
added more tests + namespace + README
diff --git a/NAMESPACE b/NAMESPACE new file mode 100644 index 0000000..bd5b5a0 --- /dev/null +++ b/NAMESPACE @@ -0,0 +1,6 @@ +export(encode_cstring) +export(decode_cstring) +export(decode_document) +export(encode_document) +export(encode_int32) +export(decode_int32) diff --git a/inst/tests/test-array.r b/inst/tests/tes...
strongh/rbson
f011c5e5e1fde55c83a5075d2a810e9da8861ac0
added a test for each type, and (of course!) they all pass.
diff --git a/DESCRIPTION b/DESCRIPTION index e0ed35e..4418929 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,17 +1,17 @@ Package: rbson Type: Package Title: An implementation of the BSON specification. Version: 0.1 Date: 2010-09-26 Author: Homer Strong Maintainer: Homer Strong <homer.strong@gmail.com> Descrip...
strongh/rbson
46c614e92d155519aca1427a607f7eee492b84a6
renamed files to be consistent, and correct test file tracking
diff --git a/R/decode_document.R b/R/decode_document.r similarity index 100% rename from R/decode_document.R rename to R/decode_document.r diff --git a/R/encode_document.R b/R/encode_document.r similarity index 100% rename from R/encode_document.R rename to R/encode_document.r diff --git a/TODO b/TODO index bdaa3e1..75...
strongh/rbson
d559cb8e32a6d61347b619eda238e35e22913f5c
added some tests and a namespace. updated todo.
diff --git a/R/array.r b/R/array.r index e81b846..bc7c359 100644 --- a/R/array.r +++ b/R/array.r @@ -1,45 +1,51 @@ +##' Deserialize embedded array +##' +##' +##' @param raw a raw vector +##' @return a named list whose single element is a list + encode_array_element <- function(key, List){ if(length(List) > 0){...
strongh/rbson
cbcdfd9beacdd84c8b8a3f6bb9f8313457efed51
added booleans
diff --git a/DESCRIPTION b/DESCRIPTION index 89161d3..e0ed35e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,16 +1,17 @@ Package: rbson Type: Package Title: An implementation of the BSON specification. Version: 0.1 Date: 2010-09-26 Author: Homer Strong Maintainer: Homer Strong <homer.strong@gmail.com> Descrip...
strongh/rbson
1f8a73def74f5abd8e7357be502b03c272145c0b
rebuilt, fixed typeo
diff --git a/DESCRIPTION b/DESCRIPTION index 1d286dc..89161d3 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,17 +1,16 @@ Package: rbson Type: Package Title: An implementation of the BSON specification. Version: 0.1 Date: 2010-09-26 Author: Homer Strong Maintainer: Homer Strong <homer.strong@gmail.com> Descrip...
strongh/rbson
17efa38ab2ce98bd333d154ef5250433d995ab1f
consolidated mapping functions, added datetime and int64 to maps, added array funs.
diff --git a/R/array.r b/R/array.r new file mode 100644 index 0000000..e81b846 --- /dev/null +++ b/R/array.r @@ -0,0 +1,45 @@ +encode_array_element <- + function(key, List){ + if(length(List) > 0){ + res = mapply(type_map, as.character(1:length(List)), List) + ## first row is strings for each key/value pa...
strongh/rbson
a158254f704af808b27e643df547aa65d6e937c0
fixed doc bug
diff --git a/R/decode_document.R b/R/decode_document.R index 7bede4d..4825c63 100644 --- a/R/decode_document.R +++ b/R/decode_document.R @@ -1,56 +1,56 @@ ##' Deserialize document ##' ##' ##' @param raw a raw vector ##' @return a named list whose single element is a list decode_document <- function(raw){ ...
strongh/rbson
8aee571d8443b166b91d9e57bb31243112a954fe
added decode_document_element
diff --git a/R/decode_document.R b/R/decode_document.R index bd4cff0..7bede4d 100644 --- a/R/decode_document.R +++ b/R/decode_document.R @@ -1,35 +1,56 @@ ##' Deserialize document ##' ##' ##' @param raw a raw vector ##' @return a named list whose single element is a list decode_document <- function(raw){ ...
strongh/rbson
1e7e895a097d7be9e5333b47cc8da8c2c11769a7
added embedded document to types maps
diff --git a/DESCRIPTION b/DESCRIPTION index 68720fd..1d286dc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,17 +1,17 @@ Package: rbson Type: Package Title: An implementation of the BSON specification. Version: 0.1 Date: 2010-09-26 Author: Homer Strong Maintainer: Homer Strong <homer.strong@gmail.com> Descrip...
strongh/rbson
05e48306ba4bc3c259d80f7431635ab39dc1cf55
added int64 and datetime support
diff --git a/DESCRIPTION b/DESCRIPTION index 49a4c28..68720fd 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,16 +1,17 @@ Package: rbson Type: Package Title: An implementation of the BSON specification. Version: 0.1 Date: 2010-09-26 Author: Homer Strong Maintainer: Homer Strong <homer.strong@gmail.com> Descrip...
strongh/rbson
b381422595fe990dbb2896dce06f4d341963b7e0
added TODO
diff --git a/TODO b/TODO new file mode 100644 index 0000000..395e6bb --- /dev/null +++ b/TODO @@ -0,0 +1,7 @@ +TODO + +* BSON arrays <-> R vectors +* Binary data +* datetime? +* floating point (encoding) +* int64 \ No newline at end of file
strongh/rbson
fdbfe6bc519af88425e045876fbe91793b78400b
added int32 elements
diff --git a/R/decode_map.R b/R/decode_map.R index 22dd03f..0f0dc61 100644 --- a/R/decode_map.R +++ b/R/decode_map.R @@ -1,15 +1,16 @@ ##' Map element bytes to decoding functions ##' ##' ##' ##' @param raw a single raw byte ##' @return a function decode_map <- function(raw){ switch(as.character(raw), ...
strongh/rbson
adf0a3481e403c9c78f150483f81e76a4c5119eb
ran roxygen
diff --git a/man/decode_cstring.Rd b/man/decode_cstring.Rd index 8cb9263..5da1fe9 100644 --- a/man/decode_cstring.Rd +++ b/man/decode_cstring.Rd @@ -1,4 +1,8 @@ \name{decode_cstring} \alias{decode_cstring} -\title{decode_cstring} +\title{Deserialize null elements...} \usage{decode_cstring(raw)} +\description{Deseria...
strongh/rbson
d6842a503a36da04bbe558c4486a276b686865d1
more docs
diff --git a/R/cstring.r b/R/cstring.r index 1056f97..a09912f 100644 --- a/R/cstring.r +++ b/R/cstring.r @@ -1,12 +1,28 @@ +##' Serialize cstring elements +##' +##' Converts between R chars and BSON cstrings. +##' cstrings are typically used as e_names. +##' +##' @param name a char from the R names, to be used as the ...
strongh/rbson
83a9730411b9e3971b59e1c031e3af9a498770f6
fixed pack dependency
diff --git a/DESCRIPTION b/DESCRIPTION index c346220..49a4c28 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,16 +1,16 @@ Package: rbson Type: Package Title: An implementation of the BSON specification. Version: 0.1 Date: 2010-09-26 Author: Homer Strong Maintainer: Homer Strong <homer.strong@gmail.com> Descrip...
strongh/rbson
2a21b09095b6b3402d603ae0e94aadb78c2a59ca
packaged code, started using roxygen.
diff --git a/DESCRIPTION b/DESCRIPTION new file mode 100644 index 0000000..c346220 --- /dev/null +++ b/DESCRIPTION @@ -0,0 +1,16 @@ +Package: rbson +Type: Package +Title: An implementation of the BSON specification. +Version: 0.1 +Date: 2010-09-26 +Author: Homer Strong +Maintainer: Homer Strong <homer.strong@gmail.com>...
strongh/rbson
bf5ac5e0c4e9961f53939a6cab62a44912f5f289
more types decoded.
diff --git a/bson.R b/bson.R index 9a05b7a..42c6365 100644 --- a/bson.R +++ b/bson.R @@ -1,238 +1,272 @@ library(pack) ## maps R types to BSON types type_map = function(key, val){ switch(class(val), character = encode_string_element(key, val), numeric = encode_int32_element(key, val), ...
strongh/rbson
dc55477ac74cb2049e62b97dc387d98681854b9f
count working!
diff --git a/bson.R b/bson.R index 8239e19..9a05b7a 100644 --- a/bson.R +++ b/bson.R @@ -1,67 +1,238 @@ +library(pack) + ## maps R types to BSON types type_map = function(key, val){ switch(class(val), - character = encode_string_element(key, val)) + character = encode_string_element(key, val), + ...
strongh/rbson
10f16e67b94c0eb1b1ea79b7ef1ce3128bca1400
strings working.
diff --git a/bson.R b/bson.R index 632ca1e..8239e19 100644 --- a/bson.R +++ b/bson.R @@ -1,3 +1,67 @@ -bsonDocument = function(doc){ - +## maps R types to BSON types +type_map = function(key, val){ + switch(class(val), + character = encode_string_element(key, val)) } + +## Expects a list +encode_docum...
strongh/rbson
e334b28c7ad94ca7dd6d886ee0f9518a4a57f625
vitually nothing!
diff --git a/README b/README new file mode 100644 index 0000000..e69de29 diff --git a/bson.R b/bson.R new file mode 100644 index 0000000..632ca1e --- /dev/null +++ b/bson.R @@ -0,0 +1,3 @@ +bsonDocument = function(doc){ + +}
ekmett/tagged
b22943efb050426e5dbe5ac267e5435571783f3e
Drop the transformers dependency
diff --git a/src/Data/Tagged.hs b/src/Data/Tagged.hs index 49571bb..36048ab 100644 --- a/src/Data/Tagged.hs +++ b/src/Data/Tagged.hs @@ -1,422 +1,416 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE PolyKinds #-} {-# LANGUAGE Safe #-} {-# OPTIONS_GHC -Wno-deprecations #-} --------------------...
ekmett/tagged
3e4dd96685523a95cf0e6f5e95ccc54d6cd4a558
Version 0.8.9
diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index 42575f4..2d8b663 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -1,110 +1,110 @@ -next [????.??.??] ------------------ +0.8.9 [2024.12.03] +------------------ * Allow building with GHC 9.12. * Drop support for GHC 7.10 and earlier. 0.8.8 [2023...
ekmett/tagged
ec44a15cacbdc49264853ed40bf4fcd072b9c9c5
Mention #62 in the CHANGELOG
diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index 5fa42c5..42575f4 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -1,109 +1,110 @@ next [????.??.??] ----------------- +* Allow building with GHC 9.12. * Drop support for GHC 7.10 and earlier. 0.8.8 [2023.08.08] ------------------ * Allow bui...
ekmett/tagged
6781d25b1ce7dac0afde27c2d5b6b2f629798721
CI: Test GHC 9.12.1-rc1
diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index f8c7022..8df6be5 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -1,241 +1,276 @@ # This GitHub workflow config has been generated by a script via # # haskell-ci 'github' '--config=cabal.h...
ekmett/tagged
b7770a9d4ab1b9452e88799f872d8e843c64f277
Regenerate CI
diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 7fd7a93..f8c7022 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -1,236 +1,241 @@ # This GitHub workflow config has been generated by a script via # # haskell-ci 'github' '--config=cabal.h...
ekmett/tagged
9af0ad094461a424859c74355aefd488b8ca65fc
Support ghc 9.12
diff --git a/tagged.cabal b/tagged.cabal index d405ec4..70b2659 100644 --- a/tagged.cabal +++ b/tagged.cabal @@ -1,72 +1,72 @@ name: tagged version: 0.8.8 license: BSD3 license-file: LICENSE author: Edward A. Kmett maintainer: Edward A. Kmett <ekmett@gmail.com> stability: ...
ekmett/tagged
47dd22648b0b94c1aaa134857d8f817fc953cd57
Remove unused pre-8.0 code paths
diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 3c6866d..7fd7a93 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -1,236 +1,236 @@ # This GitHub workflow config has been generated by a script via # # haskell-ci 'github' '--config=cabal.h...
ekmett/tagged
51668517fe5255994abead36a9e9a153ea88bf3b
Bump CI to GHC 9.10.1, drop CI for GHC 7
diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index ab9de41..3c6866d 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -1,302 +1,236 @@ # This GitHub workflow config has been generated by a script via # # haskell-ci 'github' '--config=cabal.h...
ekmett/tagged
2ea993977a5e89cb72f8df4ac631c1dffb5622b4
Allow template-haskell-2.22; extend CI to GHC 9.10.0
diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 4b403c6..ab9de41 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -1,273 +1,302 @@ # This GitHub workflow config has been generated by a script via # # haskell-ci 'github' '--config=cabal.h...
ekmett/tagged
30bc12ecf4516f1ecf1f5cf3de65dfbfefc3e493
Version 0.8.8
diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index 4d2c719..740ad15 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -1,105 +1,105 @@ -next [????.??.??] ------------------ +0.8.8 [2023.08.08] +------------------ * Allow building with GHC 9.8. 0.8.7 [2023.02.18] ------------------ * Define `Fold...
ekmett/tagged
44fef366778f3e0cf83e78ee18640889db6a8dfc
Data.Proxy.TH: Fix -Wx-partial warning
diff --git a/src/Data/Proxy/TH.hs b/src/Data/Proxy/TH.hs index c674e07..dccf28a 100644 --- a/src/Data/Proxy/TH.hs +++ b/src/Data/Proxy/TH.hs @@ -1,102 +1,102 @@ {-# LANGUAGE CPP #-} #ifndef MIN_VERSION_template_haskell #define MIN_VERSION_template_haskell(x,y,z) 1 #endif -- template-haskell is only safe since GHC-...
ekmett/tagged
0b546ae444efe75f43385ca040381e6f79318bd2
Allow building with deepseq-1.5.*, template-haskell-2.21.*
diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index 2c73da3..4d2c719 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -1,101 +1,105 @@ +next [????.??.??] +----------------- +* Allow building with GHC 9.8. + 0.8.7 [2023.02.18] ------------------ * Define `Foldable1` and `Bifoldable1` instances for `...
ekmett/tagged
27bec21f62f17fcdbef19aa1e2682b747fdf0bbb
Regenerate CI
diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 8a06e89..4b403c6 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -1,290 +1,273 @@ # This GitHub workflow config has been generated by a script via # # haskell-ci 'github' '--config=cabal.h...
ekmett/tagged
567eb3b0773e56c2c61d66890240b80022290467
Whitespace only
diff --git a/src/Data/Proxy/TH.hs b/src/Data/Proxy/TH.hs index 6a83334..c674e07 100644 --- a/src/Data/Proxy/TH.hs +++ b/src/Data/Proxy/TH.hs @@ -1,102 +1,102 @@ {-# LANGUAGE CPP #-} #ifndef MIN_VERSION_template_haskell #define MIN_VERSION_template_haskell(x,y,z) 1 #endif -- template-haskell is only safe since GHC-...
ekmett/tagged
accf257e7e89c7d21229f6b3f7e8a06e50be4f4e
Version 0.8.7
diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index 11135cf..2c73da3 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -1,101 +1,101 @@ -next [????.??.??] ------------------ +0.8.7 [2023.02.18] +------------------ * Define `Foldable1` and `Bifoldable1` instances for `Tagged`. These instances were o...
ekmett/tagged
e93b56cb7f77128430654afdb5f9ca31b00bb4f8
Migrate Foldable1/Bifoldable1 instances from semigroupoids
diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index b3477f1..8a06e89 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -1,182 +1,290 @@ # This GitHub workflow config has been generated by a script via # # haskell-ci 'github' '--config=cabal.h...
ekmett/tagged
5f5fd614ff06055a381c4923dac6d02a658dfbb0
Allow building with template-haskell 2.20
diff --git a/tagged.cabal b/tagged.cabal index b07670a..239d25b 100644 --- a/tagged.cabal +++ b/tagged.cabal @@ -1,90 +1,90 @@ name: tagged version: 0.8.6.1 license: BSD3 license-file: LICENSE author: Edward A. Kmett maintainer: Edward A. Kmett <ekmett@gmail.com> stability: ...
ekmett/tagged
6bea4ff20ef626f2cde6b923c37388a2afd943f8
Fix unused import warnings with base-4.18.* (GHC 9.6)
diff --git a/src/Data/Tagged.hs b/src/Data/Tagged.hs index af3278d..4a07033 100644 --- a/src/Data/Tagged.hs +++ b/src/Data/Tagged.hs @@ -1,491 +1,491 @@ {-# LANGUAGE CPP #-} #ifdef LANGUAGE_DeriveDataTypeable {-# LANGUAGE DeriveDataTypeable #-} #endif #if __GLASGOW_HASKELL__ >= 706 {-# LANGUAGE PolyKinds #-} #en...
ekmett/tagged
bd4621689fdb0474b3da39d2b5e19fa323f6a3bb
Allow building with template-haskell-2.19.*
diff --git a/tagged.cabal b/tagged.cabal index acfb4fd..b07670a 100644 --- a/tagged.cabal +++ b/tagged.cabal @@ -1,90 +1,90 @@ name: tagged version: 0.8.6.1 license: BSD3 license-file: LICENSE author: Edward A. Kmett maintainer: Edward A. Kmett <ekmett@gmail.com> stability: ...
ekmett/tagged
8d2cd56dc35cf33a17f8d1a6d778b1d1a23a3439
Allow building with transformers-0.6.*
diff --git a/tagged.cabal b/tagged.cabal index ccde4af..acfb4fd 100644 --- a/tagged.cabal +++ b/tagged.cabal @@ -1,90 +1,90 @@ name: tagged version: 0.8.6.1 license: BSD3 license-file: LICENSE author: Edward A. Kmett maintainer: Edward A. Kmett <ekmett@gmail.com> stability: ...
ekmett/tagged
f1245c3f577ec89bb26fdcad6969d6239921a3a8
CI: Disable Freenode-based IRC notifications
diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 75e20c1..b3477f1 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -1,207 +1,182 @@ # This GitHub workflow config has been generated by a script via # # haskell-ci 'github' '--config=cabal.h...
ekmett/tagged
c56dbaef875bfb21c187423fb4f647a007ecdde0
Relax template-haskell upper bound (#53)
diff --git a/tagged.cabal b/tagged.cabal index 6ffd667..ccde4af 100644 --- a/tagged.cabal +++ b/tagged.cabal @@ -1,90 +1,90 @@ name: tagged version: 0.8.6.1 license: BSD3 license-file: LICENSE author: Edward A. Kmett maintainer: Edward A. Kmett <ekmett@gmail.com> stability: ...
ekmett/tagged
fc2b83ce806bc5e6ede429df02310be31a0a6b55
Regenerate CI-related YAML files
diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 1b54975..75e20c1 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -1,198 +1,207 @@ # This GitHub workflow config has been generated by a script via # # haskell-ci 'github' '--config=cabal.h...
ekmett/tagged
26b9c44d588d1eeb8db68ae9cbfe016e67d2dbc1
CI: Test GHC 9.0.1
diff --git a/tagged.cabal b/tagged.cabal index e392151..e3ac2a6 100644 --- a/tagged.cabal +++ b/tagged.cabal @@ -1,89 +1,90 @@ name: tagged version: 0.8.6.1 license: BSD3 license-file: LICENSE author: Edward A. Kmett maintainer: Edward A. Kmett <ekmett@gmail.com> stability: ...