repo
string
commit
string
message
string
diff
string
gregkh/android-presentation
4c9e19528c1a63794cdf630d29aa864d17d6b86b
image file
diff --git a/images/elchido2.jpg b/images/elchido2.jpg new file mode 100644 index 0000000..9b25797 Binary files /dev/null and b/images/elchido2.jpg differ
gregkh/android-presentation
a1939820c77912edb72251e3df6f0ec669347a92
notes.txt
diff --git a/notes.txt b/notes.txt new file mode 100644 index 0000000..36eb35a --- /dev/null +++ b/notes.txt @@ -0,0 +1,41 @@ +http://elinux.org/Android_Portal +http://elinux.org/Android_Kernel_Features + + +stuff not upstream: + - binder + - ashmem + - pmem + - logger + - wakelocks + - oom notifications + - ala...
gregkh/android-presentation
4161f5bad46af98fdaed78f81d8ea971d0044045
added .gitignore
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5664e30 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +git
gregkh/android-presentation
07d9f578969ae09f97d26b9c88678b29cb9b2ab0
title, closing, and disclaimer
diff --git a/android-kernel.odp b/android-kernel.odp new file mode 100644 index 0000000..e2631df Binary files /dev/null and b/android-kernel.odp differ diff --git a/android-kernel.pdf b/android-kernel.pdf new file mode 100644 index 0000000..9e94de0 Binary files /dev/null and b/android-kernel.pdf differ
gregkh/android-presentation
567a3aa3ebffe4e270438da984ded93f4afed57c
add a readme
diff --git a/README b/README new file mode 100644 index 0000000..05bc3c2 --- /dev/null +++ b/README @@ -0,0 +1,3 @@ +This is the presentation that I gave at CELF 2010 +about the Android operating system and how it relates +to the Linux kernel community. diff --git a/foo b/foo deleted file mode 100644 index e69de29..000...
anarchivist/pybhl
6536f3b02fe4dce1733749ee8a2c4530300966c7
modified gitignore to exclude builddirs etc from setuptools
diff --git a/.gitignore b/.gitignore index 0d20b64..ef5689c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ *.pyc +build +dist +pybhl.egg-info
anarchivist/pybhl
ad587e0eabf206862854619e9995b49dd78ca2b2
alrighty, adding Changes with info
diff --git a/Changes b/Changes index e69de29..6889ca1 100644 --- a/Changes +++ b/Changes @@ -0,0 +1,2 @@ +v0.1 Mon Oct 19 23:16:49 EDT 2009 +- Initial release \ No newline at end of file diff --git a/pybhl/__init__.py b/pybhl/__init__.py index 297742a..e559fdf 100644 --- a/pybhl/__init__.py +++ b/pybhl/__init__.py @@ -...
anarchivist/pybhl
3cca8b1a3a189ad5c635b20264fb362146c32dff
added readme and docstrings throughout; import pybhl will now autoload request.BHLOpenUrlRequest into the pybhl namespace; setup.py tweaks
diff --git a/README b/README new file mode 100644 index 0000000..58c7231 --- /dev/null +++ b/README @@ -0,0 +1,55 @@ +DESCRIPTION +----------- + +pybhl is a Python module that works with the Biodiversity Heritage Library +(BHL) OpenURL-based API to retrieve metadata about material held in the BHL's +online collections....
ernesto-jimenez/charlacampus2010
8f40f8f022d8cbb970006cf3295fc9beff0aec5f
Bazinga demo
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..496ee2c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store \ No newline at end of file diff --git a/bazinga/audio.html b/bazinga/audio.html new file mode 100755 index 0000000..6f32aba --- /dev/null +++ b/bazinga/audio.html @@ -0,0 +1,38 @@ +<...
koush/android_vendor_samsung_epic
c04b313c32f6ed21188dd922d65f14660d5ba914
initial
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/AndroidBoard.mk b/AndroidBoard.mk new file mode 100644 index 0000000..3afcf49 --- /dev/null +++ b/AndroidBoard.mk @@ -0,0 +1,20 @@ +LOCAL_PATH := $(call my-dir) + +ifeq ($(TARGET_PREBUILT_KERNEL),) +TARGET_PREBUILT_KERNEL := $...
kozo/LogicalDeleteBehavior
ac1fce8e4e62d0e382e5399bc0e795046efb1099
初回
diff --git a/models/behaviors/logical_delete.php b/models/behaviors/logical_delete.php new file mode 100644 index 0000000..cfa1154 --- /dev/null +++ b/models/behaviors/logical_delete.php @@ -0,0 +1,119 @@ +<?php +class LogicalDeleteBehavior extends ModelBehavior { + var $settings = array(); + + //-----------...
vim-scripts/fvl.vim
bb9e7773d04c54198bb6513ccbf48589b7154d2d
Version 1.0: Initial upload
diff --git a/README b/README new file mode 100644 index 0000000..e5ba42b --- /dev/null +++ b/README @@ -0,0 +1,24 @@ +This is a mirror of http://www.vim.org/scripts/script.php?script_id=903 + +Fred's Vim Lisp + +This plugin allows you to run a Lisp interpreter in a Vim window and send Lisp expressions to it. You can se...
agrimm/theweatherinlondon
5864dd09f62a3beec776a5d22f8f7f30f96736c1
Adjusted deployment options.
diff --git a/config/deploy.example.rb b/config/deploy.example.rb index f99e886..e4873ad 100644 --- a/config/deploy.example.rb +++ b/config/deploy.example.rb @@ -1,35 +1,38 @@ #require 'mongrel_cluster/recipes' -set :application, "weatherinlondon" +set :use_sudo, false + +set :application, "mayweather" set :reposito...
agrimm/theweatherinlondon
99376742745e628753ac7830301c3b14b108b59d
Ignore deploy.rb
diff --git a/config/.gitignore b/config/.gitignore index b5649dd..41d5104 100644 --- a/config/.gitignore +++ b/config/.gitignore @@ -1 +1,2 @@ database.yml +deploy.rb
agrimm/theweatherinlondon
8e83701e8ca43cca6b7cc8ee6178f35778e6ab29
Reinstated instruction to clean results of duplicates.
diff --git a/app/models/article.rb b/app/models/article.rb index 98aa675..d61efe7 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -1,253 +1,254 @@ class Article < ActiveRecord::Base validates_presence_of :title belongs_to :repository #If a URI exists, return it, else dynamically generate i...
agrimm/theweatherinlondon
c4df76182d232d6b752bf4b17e3c50dcf269f128
Refactored code a bit
diff --git a/app/controllers/read_controller.rb b/app/controllers/read_controller.rb index 18fa2d7..1affbe7 100644 --- a/app/controllers/read_controller.rb +++ b/app/controllers/read_controller.rb @@ -1,47 +1,56 @@ class ReadController < ApplicationController def read @repository_choices = Repository.find(:a...
agrimm/theweatherinlondon
0a881b71868608e59582ed94c72448dd0b1dc7d2
Added error notification if the text is too small.
diff --git a/app/controllers/read_controller.rb b/app/controllers/read_controller.rb index 790c4c9..18fa2d7 100644 --- a/app/controllers/read_controller.rb +++ b/app/controllers/read_controller.rb @@ -1,45 +1,47 @@ class ReadController < ApplicationController def read @repository_choices = Repository.find(:a...
agrimm/theweatherinlondon
6a0cf312a9f8f3d0225d69a1bdbf5ed851454ca8
Fixed ugly line of code.
diff --git a/app/models/article.rb b/app/models/article.rb index d8470c8..3043ab4 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -1,233 +1,233 @@ class Article < ActiveRecord::Base validates_presence_of :title belongs_to :repository #If a URI exists, return it, else dynamically generate i...
agrimm/theweatherinlondon
605b06506178c8612be3baccc0b814ff69c020b6
More .gitignore stuff.
diff --git a/log/.gitignore b/log/.gitignore index f780d70..e00f5a5 100644 --- a/log/.gitignore +++ b/log/.gitignore @@ -1,3 +1,5 @@ development.log test.log production.log +mongrel.pid +mongrel.log
agrimm/theweatherinlondon
27c10e1a4957f3ead26a4bb96d31b821c9c8e11f
Changed code repository link to github.
diff --git a/app/views/layouts/read.rhtml b/app/views/layouts/read.rhtml index 153847a..2a2f580 100644 --- a/app/views/layouts/read.rhtml +++ b/app/views/layouts/read.rhtml @@ -1,21 +1,21 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"...
agrimm/theweatherinlondon
e4bcdc686b3a0cd9eb39c40a8f328d5d7badbe2e
Removed stub test from article test, and gitignored database.yml.
diff --git a/config/.gitignore b/config/.gitignore new file mode 100644 index 0000000..b5649dd --- /dev/null +++ b/config/.gitignore @@ -0,0 +1 @@ +database.yml diff --git a/test/unit/article_test.rb b/test/unit/article_test.rb index 74d31c3..c5afea4 100644 --- a/test/unit/article_test.rb +++ b/test/unit/article_test.r...
agrimm/theweatherinlondon
05f8b7eab126077d6c4dce0682e897c1a5060892
Created Phrase class.
diff --git a/app/models/article.rb b/app/models/article.rb index 0d1eb68..d8470c8 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -1,217 +1,233 @@ class Article < ActiveRecord::Base validates_presence_of :title belongs_to :repository #If a URI exists, return it, else dynamically generate i...
agrimm/theweatherinlondon
96f54f1857ebbb0d65c8d1345339f590710428aa
Fixed documentation for phrase_is_boring?
diff --git a/app/models/repository.rb b/app/models/repository.rb index c27f87c..451203a 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -1,56 +1,54 @@ class Repository < ActiveRecord::Base has_many :articles def generate_uri(article_title) require 'uri' underscored_title = art...
agrimm/theweatherinlondon
2fcf758e9fe373a8fd7e8c80ab463c5e796d43a2
Changed logic of searching to reduce queries.
diff --git a/app/models/article.rb b/app/models/article.rb index d9aba6b..0d1eb68 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -1,217 +1,217 @@ class Article < ActiveRecord::Base validates_presence_of :title belongs_to :repository #If a URI exists, return it, else dynamically generate i...
agrimm/theweatherinlondon
b9d5f6cbfd28e310eda23cbf358255f3826ef277
Refactored clean_results.
diff --git a/app/models/article.rb b/app/models/article.rb index d809cd9..d9aba6b 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -1,216 +1,217 @@ class Article < ActiveRecord::Base validates_presence_of :title belongs_to :repository #If a URI exists, return it, else dynamically generate i...
agrimm/theweatherinlondon
72966e9f4516495fbfedccbdc7326b1afda41718
Added unit testing for turing underscores in wikified text into spaces.
diff --git a/app/models/article.rb b/app/models/article.rb index 254dee1..d809cd9 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -1,216 +1,216 @@ class Article < ActiveRecord::Base validates_presence_of :title belongs_to :repository #If a URI exists, return it, else dynamically generate i...
agrimm/theweatherinlondon
20dff9437a9827949ab08359c795c8ed17fbc0fc
Turned off breakpoint server.
diff --git a/config/environments/development.rb b/config/environments/development.rb index 0589aa9..b4ecc7a 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,21 +1,21 @@ # Settings specified here will take precedence over those in config/environment.rb # In the developme...
agrimm/theweatherinlondon
60ca32263243f5e9270e9573e33b128df1cb0e80
Added log files to ignore to .gitignore .
diff --git a/log/.gitignore b/log/.gitignore index e69de29..f780d70 100644 --- a/log/.gitignore +++ b/log/.gitignore @@ -0,0 +1,3 @@ +development.log +test.log +production.log
agrimm/theweatherinlondon
e4d022edf600f35663ee5c1b3da91be8d8215a4b
Restored empty directories lost in git svn import.
diff --git a/components/.gitignore b/components/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/lib/tasks/.gitignore b/lib/tasks/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/log/.gitignore b/log/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/test/mocks/dev...
agrimm/theweatherinlondon
1544288a1f82111e5d2c5ac56515ef9d3c168f6e
Moved examining if a phrase has been encountered before from repository to article model.
diff --git a/app/models/article.rb b/app/models/article.rb index 88cf995..254dee1 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -1,205 +1,216 @@ class Article < ActiveRecord::Base validates_presence_of :title belongs_to :repository #If a URI exists, return it, else dynamically generate i...
agrimm/theweatherinlondon
832c0e2a0c290e75b4e28ebc4674a4834ab0f7f8
Added unit testing to ensure that boring phrases are not included in the result.
diff --git a/test/fixtures/articles.yml b/test/fixtures/articles.yml index ee676f4..4b5e333 100644 --- a/test/fixtures/articles.yml +++ b/test/fixtures/articles.yml @@ -1,80 +1,88 @@ # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html Maria Theresa of Austria: id: 1 uri: http://af.uncyclo...
agrimm/theweatherinlondon
e31acdb8d2691851cf4211adb80aa9dae8c968df
Set default and persistance for choice of repository.
diff --git a/app/controllers/read_controller.rb b/app/controllers/read_controller.rb index 7460a67..790c4c9 100644 --- a/app/controllers/read_controller.rb +++ b/app/controllers/read_controller.rb @@ -1,36 +1,45 @@ class ReadController < ApplicationController def read @repository_choices = Repository.find(:a...
agrimm/theweatherinlondon
4bec90f35515c6da6d8810ec84b14f002d6f7416
Added checking that results found don't redirect to already wikified article titles.
diff --git a/app/models/article.rb b/app/models/article.rb index 9a68ab5..88cf995 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -1,200 +1,205 @@ class Article < ActiveRecord::Base validates_presence_of :title belongs_to :repository #If a URI exists, return it, else dynamically generate i...
agrimm/theweatherinlondon
96e813c31e46a01c0c0c26e38d2cc611381f9977
Created a new class Document, and moved several methods from Article to Document or Repository.
diff --git a/app/controllers/read_controller.rb b/app/controllers/read_controller.rb index f972015..7460a67 100644 --- a/app/controllers/read_controller.rb +++ b/app/controllers/read_controller.rb @@ -1,35 +1,36 @@ class ReadController < ApplicationController def read @repository_choices = Repository.find(:a...
agrimm/theweatherinlondon
da3f91cb11abe4b6231aac6cc3bd57353b922f59
Added redirect handling. Added local identifiers to articles. Trimmed some unit tests.
diff --git a/app/models/article.rb b/app/models/article.rb index a29335a..16dd23a 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -1,211 +1,240 @@ class Article < ActiveRecord::Base validates_presence_of :title belongs_to :repository #Return the maximum length a document should be, to avoi...
agrimm/theweatherinlondon
ca0d3ffbf3db8dfc3cb63ddbb6974a712092975d
Added basic processing of wikitext, instructing the program to ignore links already wikified.
diff --git a/app/controllers/read_controller.rb b/app/controllers/read_controller.rb index 107eae5..f972015 100644 --- a/app/controllers/read_controller.rb +++ b/app/controllers/read_controller.rb @@ -1,30 +1,35 @@ class ReadController < ApplicationController def read @repository_choices = Repository.find(:a...
agrimm/theweatherinlondon
7a54d935076ae8695ed7fd2a24b52f9b9206fa04
Added email address. Minor change.
diff --git a/app/views/layouts/read.rhtml b/app/views/layouts/read.rhtml index d6e416a..153847a 100644 --- a/app/views/layouts/read.rhtml +++ b/app/views/layouts/read.rhtml @@ -1,21 +1,21 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"...
agrimm/theweatherinlondon
8ce58ce53bd602e7da6075b82dba0b13d585f856
Changed maximum size of documents. Minor change.
diff --git a/app/models/article.rb b/app/models/article.rb index 415daaf..7e773da 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -1,113 +1,113 @@ class Article < ActiveRecord::Base validates_presence_of :title belongs_to :repository #Return the maximum length a document should be, to avoi...
agrimm/theweatherinlondon
8a199495d002619df65fe830ca87d08baf2adc92
Added capability to store information about more than one repository. Made web site look nicer. Added non-sensitive Capistrano files.
diff --git a/Capfile b/Capfile new file mode 100644 index 0000000..c36d48d --- /dev/null +++ b/Capfile @@ -0,0 +1,3 @@ +load 'deploy' if respond_to?(:namespace) # cap2 differentiator +Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } +load 'config/deploy' \ No newline at end of file diff --git a/app/c...
agrimm/theweatherinlondon
6544285f298c604544277d63991df3f0db8e16e8
Eliminated default welcome page. Added instructions to web page.
diff --git a/app/views/read/read.rhtml b/app/views/read/read.rhtml index fa0d8ca..9e8a7a2 100644 --- a/app/views/read/read.rhtml +++ b/app/views/read/read.rhtml @@ -1,31 +1,43 @@ <% unless @errors.blank? %> <ul> <% for error in @errors %> <li><p><%= h(error) %></p></li> <% end %> </ul> <% end %> <...
agrimm/theweatherinlondon
09b67c092106ab8018743f3712eff6cbf7f7d152
Added requirement for maximum document size. Added unicode handling to code. Reduced limits on results for article searching.
diff --git a/app/controllers/read_controller.rb b/app/controllers/read_controller.rb index c900588..7633b8d 100644 --- a/app/controllers/read_controller.rb +++ b/app/controllers/read_controller.rb @@ -1,17 +1,25 @@ class ReadController < ApplicationController def read if request.post? @errors = [] ...
agrimm/theweatherinlondon
403d240b64f682a5fe65bf3495896ff81f357db5
Got rid of boring Rails stuff.
diff --git a/config/database.example.yml b/config/database.example.yml index e610b20..c4e8b1b 100644 --- a/config/database.example.yml +++ b/config/database.example.yml @@ -1,36 +1,36 @@ # MySQL (default setup). Versions 4.1 and 5.0 are recommended. # # Install the MySQL driver: # gem install mysql # On MacOS X...
agrimm/theweatherinlondon
1a1b2cd971d4d0349cef2c9a4f5f3cd546ddba32
Initial import
diff --git a/README b/README new file mode 100644 index 0000000..0d6affd --- /dev/null +++ b/README @@ -0,0 +1,182 @@ +== Welcome to Rails + +Rails is a web-application and persistence framework that includes everything +needed to create database-backed web-applications according to the +Model-View-Control pattern of s...
bwong/BalloonChallenge
a2d7fef4ad002febc27e6ddee9d9706147e7c4a1
added player highscore comparison, and options save action pops to main window
diff --git a/BalloonChallenge.xcodeproj/bwong.mode1v3 b/BalloonChallenge.xcodeproj/bwong.mode1v3 index 2ecf0f8..1d47b50 100644 --- a/BalloonChallenge.xcodeproj/bwong.mode1v3 +++ b/BalloonChallenge.xcodeproj/bwong.mode1v3 @@ -1,1373 +1,1400 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DT...
bwong/BalloonChallenge
65128342d722f39fee26dcd68580d0a1b3df6c1e
Checkin in newest stuff
diff --git a/BalloonChallenge.xcodeproj/Kevin.mode1v3 b/BalloonChallenge.xcodeproj/Kevin.mode1v3 new file mode 100644 index 0000000..c6b07b5 --- /dev/null +++ b/BalloonChallenge.xcodeproj/Kevin.mode1v3 @@ -0,0 +1,1408 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http...
bwong/BalloonChallenge
f4f25686bdf58e2865df0111297e820646f03db8
added new view controller classes
diff --git a/BalloonChallenge.xcodeproj/bwong.mode1v3 b/BalloonChallenge.xcodeproj/bwong.mode1v3 index 7a4599c..2ecf0f8 100644 --- a/BalloonChallenge.xcodeproj/bwong.mode1v3 +++ b/BalloonChallenge.xcodeproj/bwong.mode1v3 @@ -1,1111 +1,1127 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DT...
bwong/BalloonChallenge
e634de3c4f7349994e40dbb5a4d2540d4ff4dda9
modified BalloonChallengeViewController to have 4 buttons and a bg image
diff --git a/BalloonChallengeViewController.xib b/BalloonChallengeViewController.xib index c8ed129..5671341 100644 --- a/BalloonChallengeViewController.xib +++ b/BalloonChallengeViewController.xib @@ -1,151 +1,501 @@ <?xml version="1.0" encoding="UTF-8"?> <archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" ver...
bwong/BalloonChallenge
9a474976fedac92cce40cd4e0bd75f94eb5e3b39
added a game view with a background picture
diff --git a/BalloonChallenge.xcodeproj/project.pbxproj b/BalloonChallenge.xcodeproj/project.pbxproj index 6c7a4a5..dba0e70 100755 --- a/BalloonChallenge.xcodeproj/project.pbxproj +++ b/BalloonChallenge.xcodeproj/project.pbxproj @@ -1,249 +1,263 @@ // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVers...
bwong/BalloonChallenge
6052cd8dffbb30c677112a6858e4ac13cced60f6
make new project in xcode
diff --git a/BalloonChallenge-Info.plist b/BalloonChallenge-Info.plist new file mode 100644 index 0000000..3289444 --- /dev/null +++ b/BalloonChallenge-Info.plist @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dt...
alexbowe/cardgen
c519374c86678c83c9deb5253a09046fd4d30f14
hacked up formatting, not nested
diff --git a/cardgen.py b/cardgen.py index 2514d79..3b63274 100755 --- a/cardgen.py +++ b/cardgen.py @@ -1,69 +1,89 @@ #!/usr/bin/env python from cheetah.Template import Template import re, sys, optparse template = 'template.tex' # Doesn't support multi-line titles... Might convert to ANTLR later # to support e...
alexbowe/cardgen
0d79680f6ed5364cbadc3ba08dab2abea286c94d
clone instructions
diff --git a/readme.markdown b/readme.markdown index 97d8364..03b37e5 100644 --- a/readme.markdown +++ b/readme.markdown @@ -1,31 +1,37 @@ Cardgen ======= To build an example, run makefile to generate design pattern cards from intents.txt +To clone this repository, type from your command line (with git installed...
alexbowe/cardgen
e46f5227b86f88ecaaab0c400f551cc65d3e2b6b
refactoring
diff --git a/cardgen.py b/cardgen.py index 3387f40..2514d79 100755 --- a/cardgen.py +++ b/cardgen.py @@ -1,49 +1,69 @@ #!/usr/bin/env python from cheetah.Template import Template import re, sys, optparse template = 'template.tex' +# Doesn't support multi-line titles... Might convert to ANTLR later +# to support e...
alexbowe/cardgen
15389a75fdc3bdf733d53575eec0a61b4d0e8908
modified cardgen to use provided cheetah lib
diff --git a/cardgen.py b/cardgen.py index 1d10458..3387f40 100755 --- a/cardgen.py +++ b/cardgen.py @@ -1,49 +1,49 @@ #!/usr/bin/env python -from Cheetah.Template import Template +from cheetah.Template import Template import re, sys, optparse template = 'template.tex' re_text = r'^(.+):$\n((?:\n?.+)+)\n*' rec =...
alexbowe/cardgen
f40523e3f00063389d94876e62ec1e79d2ace915
gitignore file
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3669fd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +# LaTeX # +*.aux +*.log + +# Python # +*.pyc + +# OS Stuff # +.DS_Store \ No newline at end of file diff --git a/cardgen.py b/cardgen.py index e574571..1d10458 100755 --- a/cardgen.py +++ b/c...
alexbowe/cardgen
1f2a39a824d3cf6580f1af52ad36bf59ecf8b554
fixed some mistakes
diff --git a/readme.markdown b/readme.markdown index eb39959..97d8364 100644 --- a/readme.markdown +++ b/readme.markdown @@ -1,31 +1,31 @@ Cardgen ======= -To build example design pattern intent cards, run makefile to generate design pattern cards from intents.txt +To build an example, run makefile to generate desi...
alexbowe/cardgen
3bd702bae6de1c36e7ff13564673077726a9fedc
fixed some mistakes
diff --git a/readme.markdown b/readme.markdown index a9bc628..eb39959 100644 --- a/readme.markdown +++ b/readme.markdown @@ -1,31 +1,31 @@ Cardgen ======= -To build example design pattern intent cards, run make on makefile to generate design pattern cards from intents.txt +To build example design pattern intent car...
alexbowe/cardgen
2976c4ea7d4bec83f8b248f6e91b9db07e315397
fixed some mistakes
diff --git a/intents.pdf b/intents.pdf new file mode 100644 index 0000000..4e0c3c0 Binary files /dev/null and b/intents.pdf differ diff --git a/readme.markdown b/readme.markdown index 60e1b62..a9bc628 100644 --- a/readme.markdown +++ b/readme.markdown @@ -1,22 +1,31 @@ Cardgen ======= -Run make on makefile to gener...
alexbowe/cardgen
67e43476df92ecbb485b31b2bccf856a68bf520c
fixed issue with readme code blocks
diff --git a/readme.markdown b/readme.markdown index a8914cd..60e1b62 100644 --- a/readme.markdown +++ b/readme.markdown @@ -1,19 +1,22 @@ +Cardgen +======= + Run make on makefile to generate design pattern cards from intents.txt Cardgen Usage -============= +------------- -./cardgen.py -h for help + ./cardgen.py...
alexbowe/cardgen
9e247c5a6df81bd6c1e15e5581c3ced100581a48
template used by cardgen
diff --git a/template.tex b/template.tex new file mode 100644 index 0000000..1dd899c --- /dev/null +++ b/template.tex @@ -0,0 +1,12 @@ +\documentclass[avery5371,frame]{flashcards} + +\begin{document} + +#for $card in $cards +\begin{flashcard}{$card.group(1)} +$card.group(2) +\end{flashcard} + + +#end for +\end{docu...
alexbowe/cardgen
a9929dd49803029cb6709b292d803de16e435fae
design pattern intents
diff --git a/intents.txt b/intents.txt new file mode 100644 index 0000000..d2c8aaf --- /dev/null +++ b/intents.txt @@ -0,0 +1,68 @@ +Abstract Factory: +Provides an interface for creating families of related or dependent objects without specifying their concrete classes. + +Builder: +Separates the construction of a comp...
alexbowe/cardgen
4aabc274acb7ac3f97d2bc9b02fbc9b3a049320b
add naive makefile for building design pattern intent cards
diff --git a/makefile b/makefile new file mode 100644 index 0000000..52c8ccb --- /dev/null +++ b/makefile @@ -0,0 +1,8 @@ +intents.pdf: intents.tex + pdflatex intents.tex + +intents.tex: intents.txt + python cardgen.py -i intents.txt -o intents.tex + +clean: + rm -rf *.log *.aux intents.tex *.pdf \ No newline at end ...
alexbowe/cardgen
d518fc00340803b1bb11daad5fa1cd2b82b39e78
add python script for reading flashcard definitions and filling in the template
diff --git a/cardgen.py b/cardgen.py new file mode 100755 index 0000000..e574571 --- /dev/null +++ b/cardgen.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +from Cheetah.Template import Template +import re, sys, optparse + +template = 'template.tex' +re_text = '^(.+):$\n((?:\n?.+)+)\n*' +rec = re.compile(re_text, re.MULTIL...
alexbowe/cardgen
80df4c18c1b3cc82379103fb2836e60c97436e23
add flashcards class and config from CTAN
diff --git a/avery5371.cfg b/avery5371.cfg new file mode 100644 index 0000000..e36d36c --- /dev/null +++ b/avery5371.cfg @@ -0,0 +1,56 @@ +%% +%% This is file `avery5371.cfg', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% flashcards.dtx (with options: `avery5371') +%% +%% Fl...
anarchivist/tildebin
c266f11acb56bb1a2dc505612d5c6d8a4e060761
switch_tsk.sh: switch the version of sleuthkit under homebrew
diff --git a/switch_tsk.sh b/switch_tsk.sh new file mode 100755 index 0000000..46887da --- /dev/null +++ b/switch_tsk.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +if [ $# -lt 1 ] +then + echo "Usage : $0 <version | current>" + exit +fi + +case "$1" in + +current) brew info sleuthkit | grep \\*$ + ;; +3.2.3) b...
anarchivist/tildebin
5824363e5fd2f34a0681f1a371d0bd805cc85427
add greptabulator
diff --git a/greptabulator b/greptabulator new file mode 100755 index 0000000..b41160a --- /dev/null +++ b/greptabulator @@ -0,0 +1,4 @@ +#!/bin/bash +# greptabulator.sh [expression] [directory] +grep -hR $1 $2 | sort | uniq -c | sort -nr | \ +awk '{typesum += 1; matchsum += $1; print} END {print typesum, "unique types...
anarchivist/tildebin
ce1ee4ec5cfe9b7685c02e54a26952f78b465b5e
added ttfmify
diff --git a/README.textile b/README.textile index 98e084e..8069083 100644 --- a/README.textile +++ b/README.textile @@ -1,12 +1,13 @@ h1. README * These are scripts of use to me that may be of marginal use to you. * They are likely environment specific; fwiw, I'm running these either on Mac OS X 10.6 or Ubuntu. ...
anarchivist/tildebin
78dd0d47b35f07904328fd89a670418c90264395
Remove ack and mount-fedora-image
diff --git a/README.textile b/README.textile index 070659d..98e084e 100644 --- a/README.textile +++ b/README.textile @@ -1,15 +1,12 @@ h1. README * These are scripts of use to me that may be of marginal use to you. * They are likely environment specific; fwiw, I'm running these either on Mac OS X 10.6 or Ubuntu. ...
anarchivist/tildebin
73af506e98dffc1573481cd113dafcc10790c743
Fix git-archive-all; remove fits
diff --git a/fits b/fits deleted file mode 100755 index 1b2f323..0000000 --- a/fits +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -export FITS_DIR=/opt/fits-0.3.2 -exec $FITS_DIR/fits.sh "$@" diff --git a/git-archive-all.sh b/git-archive-all.sh index 9a2d44d..af97d96 100755 --- a/git-archive-all.sh +++ b/git-archive-all.s...
anarchivist/tildebin
bc546b05dcad2b1db4c745ab0f6d7b62bb9158f1
add git-archive-all.sh
diff --git a/git-archive-all.sh b/git-archive-all.sh new file mode 100755 index 0000000..9a2d44d --- /dev/null +++ b/git-archive-all.sh @@ -0,0 +1,208 @@ +#!/bin/bash - +# +# File: git-archive-all.sh +# +# Description: A utility script that builds an archive file(s) of all +# git repositories and su...
anarchivist/tildebin
fcadf5a280b51b3ed887ae864e19a206f7186956
adding marcstats
diff --git a/README.textile b/README.textile index 3db0d92..070659d 100644 --- a/README.textile +++ b/README.textile @@ -1,14 +1,15 @@ h1. README * These are scripts of use to me that may be of marginal use to you. * They are likely environment specific; fwiw, I'm running these either on Mac OS X 10.6 or Ubuntu. ...
anarchivist/tildebin
7a8447d8286c1ac2aea584ba9646a3d3915d54cb
Adding yale-apartments-feed
diff --git a/README.textile b/README.textile index 401d7db..1f360d6 100644 --- a/README.textile +++ b/README.textile @@ -1,13 +1,14 @@ h1. README * These are scripts of use to me that may be of marginal use to you. * They are likely environment specific; fwiw, I'm running these either on Mac OS X 10.6 or Ubuntu. ...
anarchivist/tildebin
a33d760e159ac079fabf79ceb6cd3b6b4d9ee0c8
Adding yale-apartments-feed
diff --git a/yale-apartments-feed b/yale-apartments-feed new file mode 100755 index 0000000..aa798d4 --- /dev/null +++ b/yale-apartments-feed @@ -0,0 +1,64 @@ +#!/usr/bin/env python + +# Scrape listings from Yale's off-campus housing ads & generate feeds + +import sys +import time +import urllib2 + +from BeautifulSoup ...
anarchivist/tildebin
e6e1b43fdc50b024a3ef83e647149a59a5e0f113
add ack and svn-authorsfile
diff --git a/README.textile b/README.textile index f120055..401d7db 100644 --- a/README.textile +++ b/README.textile @@ -1,11 +1,13 @@ h1. README * These are scripts of use to me that may be of marginal use to you. * They are likely environment specific; fwiw, I'm running these either on Mac OS X 10.6 or Ubuntu. ...
anarchivist/tildebin
57978018bb2c83f3df4ae29c26c89f5e1b7d8711
Fix fits to actually allow passing of arguments
diff --git a/fits b/fits index f9d2cfb..1b2f323 100755 --- a/fits +++ b/fits @@ -1,3 +1,3 @@ #!/bin/bash export FITS_DIR=/opt/fits-0.3.2 -exec $FITS_DIR/fits.sh \ No newline at end of file +exec $FITS_DIR/fits.sh "$@"
anarchivist/tildebin
6e6a6d66303cddb38cf6e0be4e1785d7f75ae151
add fits
diff --git a/README.textile b/README.textile index aed10fd..f120055 100644 --- a/README.textile +++ b/README.textile @@ -1,12 +1,11 @@ h1. README * These are scripts of use to me that may be of marginal use to you. * They are likely environment specific; fwiw, I'm running these either on Mac OS X 10.6 or Ubuntu. ...
anarchivist/tildebin
1403ed4ed55e648a9b54efbe517cb61ffa458c93
Add more comments etc
diff --git a/README.textile b/README.textile index e49218f..aed10fd 100644 --- a/README.textile +++ b/README.textile @@ -1,8 +1,12 @@ h1. README * These are scripts of use to me that may be of marginal use to you. * They are likely environment specific; fwiw, I'm running these either on Mac OS X 10.6 or Ubuntu. ...
darka/blahnet
8fdc83820326e06249c664852bc8648035046d36
handle self assignment; packet header changes
diff --git a/src/address.cpp b/src/address.cpp index 49cdf38..4279821 100644 --- a/src/address.cpp +++ b/src/address.cpp @@ -1,70 +1,71 @@ #include "address.hpp" #ifdef BLAHNET_WIN32 #include <winsock2.h> #else #include <netinet/in.h> #include <arpa/inet.h> #endif // BLAHNET_WIN32 #include <cstring> void...
darka/blahnet
9d6bd3c00d7f1063821f3269983bfde6bc7dd9f1
address op= and copy constructor + unit test; bit_stream_error exception; untested add_header function; more work on client/server classes
diff --git a/src/address.cpp b/src/address.cpp index e287c3e..49cdf38 100644 --- a/src/address.cpp +++ b/src/address.cpp @@ -1,44 +1,70 @@ #include "address.hpp" #ifdef BLAHNET_WIN32 #include <winsock2.h> #else #include <netinet/in.h> #include <arpa/inet.h> #endif // BLAHNET_WIN32 #include <cstring> -void...
darka/blahnet
e3e32c5fe0ca8363ea5cc11d3cb99db00cd32ffd
bit stream appending at any time
diff --git a/src/bit_stream.cpp b/src/bit_stream.cpp index 8cf480d..a9e9376 100644 --- a/src/bit_stream.cpp +++ b/src/bit_stream.cpp @@ -1,256 +1,257 @@ #include "bit_stream.hpp" #include <iostream> #include <cstring> #include <cassert> bit_stream::bit_stream(std::size_t size_) : size_(size_) , cur_byte(0) , ...
darka/blahnet
aa456f425118d8e2d74eba1b0d9296cb8f27531d
spaces to tabs in a few places
diff --git a/src/address.hpp b/src/address.hpp index 98335aa..c889924 100644 --- a/src/address.hpp +++ b/src/address.hpp @@ -1,28 +1,28 @@ #ifndef UUID_8B00007D6BED43B1AF63C689D9D35D78 #define UUID_8B00007D6BED43B1AF63C689D9D35D78 struct sockaddr_in; /* TODO: implement copy constructor and operator= */ struct ...
darka/blahnet
11a06edeb70c18cecf9e38595b6f684d3f545a32
appending, copy constructor, op= tests
diff --git a/src/bit_stream.cpp b/src/bit_stream.cpp index dca3641..758cdad 100644 --- a/src/bit_stream.cpp +++ b/src/bit_stream.cpp @@ -1,256 +1,256 @@ #include "bit_stream.hpp" #include <iostream> #include <cstring> #include <cassert> bit_stream::bit_stream(std::size_t size_) : size_(size_) , cur_byte(0) , ...
darka/blahnet
737e2dbd6981f226ee238b2a7a5345ae80d95340
half-implemented server class; bit_stream unit test
diff --git a/CMakeLists.txt b/CMakeLists.txt index 648fb39..35c0899 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,30 +1,38 @@ cmake_minimum_required(VERSION 2.4) project(NetNet) include_directories(src) file(GLOB main_sources src/*.cpp) file(GLOB server_sources server/*.cpp) file(GLOB client_source...
darka/blahnet
e5d7cfd7e8f99420dea7e2845fc49df8dbde3635
build currently broken; packet peer, client classes (in-development); reliable_layer will be replaced by server/client classes, deriving from link_common (not yet renamed)
diff --git a/src/client.hpp b/src/client.hpp new file mode 100644 index 0000000..2c5fc23 --- /dev/null +++ b/src/client.hpp @@ -0,0 +1,17 @@ +#ifndef UUID_D9717A39A7864EDC96BAA9C5A9A7E38C +#define UUID_D9717A39A7864EDC96BAA9C5A9A7E38C + + +struct client +{ + client(); + + ~client(); + +private: + + +}; + +#endif // UU...
darka/blahnet
86d1febf458b9d0724cc57597c87338059312b76
moved out winsock (de)initialization to socket_common
diff --git a/src/socket_common.cpp b/src/socket_common.cpp index aac12d8..e2fd389 100644 --- a/src/socket_common.cpp +++ b/src/socket_common.cpp @@ -1,88 +1,99 @@ #include "socket_common_func.hpp" // includes winsock.h #include "socket_common.hpp" #ifndef BLAHNET_WIN32 #include <unistd.h> #endif // BLAHNET_WIN32...
darka/blahnet
19b7586b8ab0333ea06a9a9121457b3ce3047679
reliable_layer in-development class
diff --git a/client/client.cpp b/client/client.cpp index 1ed7604..5c228d5 100644 --- a/client/client.cpp +++ b/client/client.cpp @@ -1,9 +1,9 @@ -#include "udp_socket.hpp" +#include "reliable_layer.hpp" int main() { - udp_socket sock; - sock.create(); + reliable_layer rel_link; address addr(23232, "127.0.0.1"); c...
darka/blahnet
1b20819fd6ab03ad807e2ae820bed5159737f88b
link and server in-development classes
diff --git a/src/link.cpp b/src/link.cpp new file mode 100644 index 0000000..e3989e9 --- /dev/null +++ b/src/link.cpp @@ -0,0 +1,13 @@ +#include "link.hpp" + +// TODO: error handling with exceptions + +link::link() +{ +} + +link::~link() +{ + sock.close(); +} + diff --git a/src/connection.hpp b/src/link.hpp similarity ...
darka/blahnet
6df93a76a6991cf39b00b7a1b19d9f6285bdacf1
connection class header (probably need to rename it)
diff --git a/src/connection.hpp b/src/connection.hpp new file mode 100644 index 0000000..42a79fa --- /dev/null +++ b/src/connection.hpp @@ -0,0 +1,35 @@ +#ifndef UUID_52DA523EF9CE4CF3A46629AAEC07E467 +#define UUID_52DA523EF9CE4CF3A46629AAEC07E467 + +#include "bit_stream.hpp" +#include "udp_socket.hpp" +#include <boost/...
darka/blahnet
0f5a18d051df29e34c222448baeab2c945bd061f
replaced SOCKET_DESCRIPTOR() with a get_descriptor() function
diff --git a/src/socket_common.cpp b/src/socket_common.cpp index 3b14a9e..aac12d8 100644 --- a/src/socket_common.cpp +++ b/src/socket_common.cpp @@ -1,99 +1,88 @@ +#include "socket_common_func.hpp" // includes winsock.h #include "socket_common.hpp" -#ifdef BLAHNET_WIN32 -#include <winsock.h> -#else +#ifndef BLAHNET_...
darka/blahnet
5493a9c47f563cf5a8e245224557b2abd694c883
crappy portable SOCKET_DESCRIPTOR define; non-blocking sockets
diff --git a/src/udp_socket.cpp b/src/udp_socket.cpp index 6f74884..3d9735b 100644 --- a/src/udp_socket.cpp +++ b/src/udp_socket.cpp @@ -1,60 +1,80 @@ #include "udp_socket.hpp" #ifdef BLAHNET_WIN32 + #include <winsock.h> + +#define SOCKET_DESCRIPTOR() (SOCKET)data->wsock + #else + #include <sys/types.h> #includ...
darka/blahnet
605eee7dc8ac9ec122f295c2ed9fc8943c2eef46
compile on windows
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7870bb9..648fb39 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,17 +1,30 @@ cmake_minimum_required(VERSION 2.4) project(NetNet) -set(CMAKE_CXX_FLAGS "-std=c++98 -Wall -Wextra -pedantic -ggdb3") + include_directories(src) file(GLOB main_sources src/*.cpp...
darka/blahnet
6ea882416d17fbb148a792ed4dbeb447a97af6cc
simple udp sockets, lots of restructuring
diff --git a/client/client.cpp b/client/client.cpp index 5047a34..1ed7604 100644 --- a/client/client.cpp +++ b/client/client.cpp @@ -1,3 +1,9 @@ +#include "udp_socket.hpp" int main() { + udp_socket sock; + sock.create(); + address addr(23232, "127.0.0.1"); + char msg[] = "lol wat"; + sock.sendto(msg, strlen(msg), add...
darka/blahnet
dc12346a47881d96626a8d04c78f752ab2c1a245
bool rw
diff --git a/src/bit_stream.cpp b/src/bit_stream.cpp index 2026c7c..c06ad2f 100644 --- a/src/bit_stream.cpp +++ b/src/bit_stream.cpp @@ -1,200 +1,234 @@ #include "bit_stream.hpp" #include <iostream> #include <cstring> #include <cassert> bit_stream::bit_stream(std::size_t size_) : size_(size_) , cur_byte(0) , ...
bret/pageadapter
ac3a73d3a812d0c8d622876d597e4c5d81f74146
initial todo list
diff --git a/todo.txt b/todo.txt new file mode 100644 index 0000000..5066a51 --- /dev/null +++ b/todo.txt @@ -0,0 +1,11 @@ +Features +* element can be defined +* element creates an instance method +* "helper" class methods +* can have additional instance methods +* pages can be included in other pages + +Change for Wat...
bret/pageadapter
2a9bb46826961f264205ac0e2f9e641b2c0edad8
eclipse files
diff --git a/.loadpath b/.loadpath new file mode 100644 index 0000000..9a62220 --- /dev/null +++ b/.loadpath @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<loadpath> + <pathentry path="" type="src"/> + <pathentry path="org.rubypeople.rdt.launching.RUBY_CONTAINER" type="con"/> +</loadpath> diff --git a/.proje...
sattellite/perl
094a1610627646f9e5b6cfed24cbbb3b391e76a3
ДОбавил в README про downloadAnounce.pl
diff --git a/README b/README index 07138a2..55a4586 100644 --- a/README +++ b/README @@ -1,9 +1,10 @@ ===== PERL scripts ===== = parser - create HTML page from RSSfeed (http://naklon.info/rss/about.htm) = tv_anounce - anounce.pl - create anouncements for 19 russian TV chanels - tv-programme - create a TV-progr...
sattellite/perl
fa8b5a84053cf23bd5a383fa4665ea1abcb78771
Теперь скачивает по эфирным неделям. И подогнал код под Perl::Critic
diff --git a/tv_anounce/downloadAnounce.pl b/tv_anounce/downloadAnounce.pl index cbc456e..ba2cfeb 100755 --- a/tv_anounce/downloadAnounce.pl +++ b/tv_anounce/downloadAnounce.pl @@ -1,94 +1,94 @@ #!/usr/bin/env perl use warnings; use strict; use LWP; use URI; use HTTP::Cookies; use File::Path qw(make_path); us...
sattellite/perl
826edc55ee3ea1d19f891c57a363a5f57337a25f
Теперь скачивает по эфирным неделям. И подогнал код под Perl::Critic
diff --git a/tv_anounce/downloadAnounce.pl b/tv_anounce/downloadAnounce.pl old mode 100644 new mode 100755 index 1223b34..cbc456e --- a/tv_anounce/downloadAnounce.pl +++ b/tv_anounce/downloadAnounce.pl @@ -1,105 +1,94 @@ #!/usr/bin/env perl -no warnings; +use warnings; use strict; use LWP; use URI; use HTTP::Coo...
sattellite/perl
f525de350a57cf526c22bdff9bfcc9b0d651bf31
Обновил немного код. Теперь на две недели разделяет файлы, если они там присутствуют.
diff --git a/tv_anounce/downloadAnounce.pl b/tv_anounce/downloadAnounce.pl old mode 100755 new mode 100644 index 39933f4..2f36086 --- a/tv_anounce/downloadAnounce.pl +++ b/tv_anounce/downloadAnounce.pl @@ -1,80 +1,105 @@ #!/usr/bin/env perl -use warnings; +no warnings; use strict; use LWP; use URI; use HTTP::Coo...
sattellite/perl
0ae5a946a13036d3c4e95dd97a7dfef960de98c5
Скачивание фалов с теле программой
diff --git a/tv_anounce/downloadAnounce.pl b/tv_anounce/downloadAnounce.pl new file mode 100755 index 0000000..39933f4 --- /dev/null +++ b/tv_anounce/downloadAnounce.pl @@ -0,0 +1,80 @@ +#!/usr/bin/env perl +use warnings; +use strict; + +use LWP; +use URI; +use HTTP::Cookies; + +my $srvHost = "xmltv.s-tv.ru"; +my $logi...
sattellite/perl
90c46e3c14a8deeefe1c236bfe71a8892cb06fb4
Ugly ugly ugly
diff --git a/tv_anounce/tv-programme.pl b/tv_anounce/tv-programme.pl index 094da59..9566a5d 100644 --- a/tv_anounce/tv-programme.pl +++ b/tv_anounce/tv-programme.pl @@ -1,86 +1,111 @@ #!/usr/bin/env perl use strict; use warnings; no warnings "all"; - +use utf8; use XML::Simple; +use IO::Uncompress::Gunzip qw(gun...