Commit Graph

85 Commits

Author SHA1 Message Date
Kai Hendry
2ff857c6b2 Offline first
http://natalian.org/archives/2012/07/16/navigator.onLine/
2012-08-06 23:08:07 +02:00
Kai Hendry
af754b729e detached! 2012-07-24 17:29:39 +02:00
Kai Hendry
782a06d13f Avoid httpd killing fetchtweets early by executing it off in the background
TODO: some UI if lock is around, to tell folks a fetch is underway
2012-07-24 17:23:31 +02:00
Kai Hendry
41389fb344 TODO 2012-07-24 15:52:34 +02:00
Kai Hendry
3688c5c98d Restore code that expands URLs that twitter provides 2012-07-24 15:31:44 +02:00
Kai Hendry
6a68fb722e Mean it does HTML offline 2012-07-15 22:34:09 +02:00
Kai Hendry
7cc21c9119 clear appcache symlink if there is one 2012-07-15 21:52:21 +02:00
Kai Hendry
86dfd044aa appcache needs to be set so that it syncs new tweets 2012-07-15 21:25:45 +02:00
Kai Hendry
054109b0ec show last tweets 2012-07-15 14:43:43 +02:00
Kai Hendry
00672f3e69 oops, .appcache is what we use 2012-07-15 14:29:32 +02:00
Kai Hendry
bd02ee891d Oops, create appcache symlink 2012-07-15 14:26:34 +02:00
Kai Hendry
0e16e43a45 Actually seems to work 2012-07-14 21:13:51 +02:00
Kai Hendry
cd48fa4286 kinda working 2012-07-14 20:29:25 +02:00
Kai Hendry
fb99a1c5f4 remember where user was grepping my last 2012-07-14 18:21:59 +02:00
Kai Hendry
d56275608e fix traps 2012-07-14 17:58:34 +02:00
Kai Hendry
1a4b33cbb2 peel out expand urls code 2012-07-14 17:55:31 +02:00
Kai Hendry
2436e95bd4 various cleanups 2012-07-07 18:16:15 +02:00
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