Commit Graph

68 Commits

Author SHA1 Message Date
Kai Hendry
34207d4d91 fixes #11 2012-07-03 16:23:57 +02:00
Kai Hendry
84bd5a557e refactored with the help of Geir Hauge from #bash 2012-06-27 12:39:18 +02:00
Kai Hendry
c07184fc44 git checkout v2.0.4 in bootstrap/ to update to latest release 2012-06-27 12:25:04 +02:00
Kai Hendry
f3bdc2aac0 Made xmlstarlet finding code hopefully more POSIX
http://mywiki.wooledge.org/BashFAQ/081
2012-06-27 12:06:39 +02:00
Kai Hendry
bccb4abc99 Merge pull request #12 from matthiasr/portability
Portability fixes
2012-06-27 00:08:25 -07:00
Matthias Rampke
c6f524b5e5 use shell variable instead of alias
for switching xmlstarlet command. bash doesn't like aliases.
2012-06-26 21:54:19 +02:00
Matthias Rampke
ebc6ce12af remove unportable test syntax
[[ ]] is completely unnecessary, [ ] does the trick fine.
2012-06-26 21:22:16 +02:00
Matthias Rampke
94e310791d re-implement header/data splitting in ed(1)
somehow the original way (stdout/stderr) didn't work in dash
(which is /bin/sh in Debian, and rather limited, that is, a good
testing ground for POSIX shell compatibility)
2012-06-26 21:20:28 +02:00
Matthias Rampke
14b6847205 use printf instead of echo -e
echo is not very portable, printf is well-specified

(fail case: dash's builtin echo doesn't know -e)
2012-06-26 20:44:03 +02:00
Matthias Rampke
05d1e94366 find xmlstarlet even if it is called xml
which is the case with at least the Homebrew (OS X) and pkgsrc (many)
package managers.

FIXME: doesn't check if 'xml' is xmlstarlet
TODO: fail explicitly if no
2012-06-26 20:25:31 +02:00
Matthias Rampke
d3443a2a8a specify template to mktemp(1)
mktemp(1) is not specified by POSIX and accordingly inconsistent
across systems - e.g. non-GNU-implementations requiring that there
be some sort of template specified. this appears to be the simplest
more-or-less portable invocation.

use the user name as part of the name for temporary files.
2012-06-26 20:23:07 +02:00
Matthias Rampke
869ceb0398 use /bin/sh as bash is not available everywhere
the script didn't use bash features anyway (at least as far as I noticed)
2012-06-26 20:22:05 +02:00
Jamie Kitson
d200757e6c Quote tweet 2012-05-31 00:09:54 +01:00
Kai Hendry
43b08e2699 quote 2012-05-10 15:35:02 +08:00
Kai Hendry
f850607317 jquery update 2012-04-25 21:30:33 +08:00
Kai Hendry
39ad60214d fix #6 2012-04-25 21:26:50 +08:00
Kai Hendry
ec3ab7c63f small code cleanup 2012-04-25 21:09:07 +08:00
Jamie Kitson
a1c536a967 Resolve shortened urls 2012-03-14 14:39:10 +00:00
Kai Hendry
dcaca4dff7 Merge branch 'master' of github.com:kaihendry/Greptweet
Conflicts:
	index.shtml
2012-02-01 17:52:03 +08:00
Kai Hendry
364cd7d23e Upgrade to bootstrap 2.0 2012-02-01 17:50:04 +08:00
Kai Hendry
444e02efc5 changed my mind about the fullstop 2012-01-28 07:36:20 +01:00
Kai Hendry
165d17efaa typo 2012-01-28 14:34:42 +08:00
Kai Hendry
b86aee98b3 cleanups 2012-01-28 14:27:14 +08:00
Kai Hendry
64390919cc Merge branch 'master' of github.com:kaihendry/Greptweet 2012-01-28 13:51:44 +08:00
Kai Hendry
a0d6c4f27e Make it easier to click 2012-01-28 13:51:34 +08:00
Kai Hendry
b8d6ad81ae remove figlet (that was originally in place just to buffer output) 2012-01-28 06:46:26 +01:00
Kai Hendry
df971681d4 update readme 2012-01-28 13:44:29 +08:00
Kai Hendry
5c60f06e90 scale overrides 2012-01-28 06:36:05 +01:00
Kai Hendry
7dcafe5abd Various tweaks 2012-01-28 13:29:27 +08:00
Kai Hendry
ea17dad6a4 move the Follow button higher for prominance 2012-01-21 09:02:04 +01:00
Kai Hendry
09827f9ab9 hide verbose messages and print OVER CAPACITY clearly fixes #2 2012-01-15 14:32:19 +08:00
Kai Hendry
467b745a2b nicer follow button 2011-12-13 10:52:01 +01:00
Kai Hendry
8d0ac6760d clearfix 2011-12-13 10:01:31 +01:00
Kai Hendry
3439c2cacc remove humane, not using it anymore. 2011-12-04 22:31:52 +08:00
Kai Hendry
d2fd0336e1 better notes 2011-12-04 22:29:05 +08:00
Kai Hendry
d15a0a4e06 Merge branch 'master' of github.com:kaihendry/Greptweet 2011-12-04 22:16:25 +08:00
Kai Hendry
7870c8be16 move under 2011-12-04 22:16:01 +08:00
Kai Hendry
b33b48eeb0 Merge branch 'master' of github.com:kaihendry/Greptweet
Conflicts:
	index.shtml
2011-12-04 15:12:52 +01:00
Kai Hendry
912fafc05f async 2011-12-04 15:09:28 +01:00
Kai Hendry
dc9ed642e7 add buttons behaviour 2011-12-04 22:08:42 +08:00
Kai Hendry
cd80e503b4 Applied bootstrap 2011-12-04 22:07:18 +08:00
Kai Hendry
e761bc5b2e Merge branch 'master' into bootstrap 2011-12-04 21:20:54 +08:00
Kai Hendry
1a6330e60d twitter bootstrap 2011-12-04 21:19:19 +08:00
Kai Hendry
63c8d55770 split out JS to make it easier to lint 2011-12-01 07:04:56 +01:00
Kai Hendry
efd326fa2f longer timeout 2011-12-01 13:52:50 +08:00
Kai Hendry
7fe2336929 tweaks 2011-11-30 17:04:45 +08:00
Kai Hendry
9f4bc25212 Merge branch 'master' of github.com:kaihendry/Greptweet 2011-11-30 16:53:56 +08:00
Kai Hendry
af30034df4 trying a trendy JS notification 2011-11-30 16:53:00 +08:00
Kai Hendry
3695146aeb checking on server side 2011-11-29 11:07:41 +01:00
Kai Hendry
34b693c5c5 bigger button 2011-11-29 17:59:46 +08:00