#garfield Logs
Jun 26 2019
#garfield Calendar
01:06 AM rue_mohr: I got the readme working in the slideshow
01:20 AM rue_mohr: http://ruemohr.org/~ircjunk/projects/3rdarm/slide.htm
01:20 AM rue_mohr: I set it up so if there is no readme.txt, it doesn't add it
01:20 AM rue_mohr: if there is, it puts the text at the bottom of the page
01:20 AM zhanx: works
01:20 AM rue_mohr: could use some left and right margins...
01:20 AM rue_mohr: anyhow
01:20 AM zhanx: but it works
01:21 AM rue_mohr: :)
01:21 AM rue_mohr: watching the apache traffic
01:21 AM rue_mohr: ifyou go back to one of the other projects that has a slideshow with no readme, it should just be blank
01:22 AM zhanx: it is
01:22 AM zhanx: well it gives a 404
01:22 AM zhanx: http://ruemohr.org/~ircjunk/projects/cnc4/slide.htm
01:23 AM rue_mohr: oops, where
01:23 AM rue_mohr: oooh its not supposed to do that
01:24 AM rue_mohr: damn
01:24 AM rue_mohr: the 404 must come up as 200
01:28 AM rue_mohr: uh
01:28 AM rue_mohr: I was hacked, k...
01:28 AM rue_mohr: edit edit...
01:32 AM rue_mohr: yea, the 404 page is returned as an alternate content, but as a 200
01:32 AM rue_mohr: so, how do I know if there is a 404?
01:33 AM rue_mohr: oh, I set a variable and check it maybe
01:40 AM zhanx: you did
01:41 AM zhanx: remoted my buddies phone in texas, tethered his pc, fixed that
01:41 AM rue_bed: heh
01:42 AM rue_bed: but I mean to know if I got erp.html or readme.txt
01:42 AM rue_bed: they both come back as 200 reponse
01:42 AM zhanx: apache and me hate each other
01:43 AM rue_bed: so all my work to know if I got a 404 is pointless
01:43 AM zhanx: symbolic ln to a standard blank read me file?
01:44 AM rue_bed: I don't want to have to have the file eveywhere
01:44 AM zhanx: ln -s
01:45 AM rue_bed: no, I cant just drop one of those everywhere...
01:45 AM rue_bed: not practical
01:45 AM zhanx: in the config
01:45 AM rue_bed: I'm pondering something in the erp.html that I can pick out in the javascript
01:46 AM zhanx: <Directory /var/www/>
01:46 AM zhanx: Options Indexes FollowSymLinks
01:46 AM zhanx: AllowOverride None
01:46 AM zhanx: Require all granted
01:46 AM zhanx: </Directory>
01:46 AM zhanx: <Directory /media/newhd/test_web/>
01:46 AM zhanx: Options Indexes FollowSymLinks
01:46 AM zhanx: AllowOverride None
01:46 AM zhanx: Require all granted
01:46 AM zhanx: </Directory>
01:47 AM zhanx: you can use that to do the old ones
01:47 AM rue_bed: want it to be auto.... if the file is there....
01:47 AM rue_bed: php would be easy
01:47 AM rue_bed: hmmmm
01:48 AM zhanx: just do php then
01:49 AM rue_bed: dont want to
01:49 AM zhanx: dont blame you
01:49 AM rue_bed: If I put a <script> in erp.html
01:49 AM rue_bed: I wonder if it gets run
01:49 AM rue_bed: if so, I can set an "I'm the 404 page" flag
01:49 AM rue_bed: which is a bit of a hack, but achives what I'm after
01:50 AM zhanx: you could script a generic readme faster
01:51 AM rue_bed: erp.html is the 404 page
01:51 AM rue_bed: the slideshow loads readme.txt into a hidden iframe
01:51 AM rue_bed: at that point, if there is a <script> it might set a flag I can pick up on
01:52 AM rue_bed: var iamfourOfour = 1;
01:52 AM zhanx: like an if -e readme.txt
01:52 AM rue_bed: but thats php
01:52 AM rue_bed: er bash
01:53 AM zhanx: doesnt apache do bash somewhat also?
01:53 AM rue_bed: want to have it client side
01:53 AM zhanx: that is server side tho for the file
01:53 AM rue_bed: the snag is that the way my 404 page works, the client desn't get a 404
01:53 AM zhanx: k
01:54 AM rue_bed: apache gives them the 404 page instead, but as 200
01:54 AM rue_bed: need sleeeep
01:55 AM rue_bed: small edit to the 404 page, small edit to the script
01:55 AM rue_bed: dont need to do it with all the HAD traffic going on
07:16 PM rue_mohr: think I should spark up a light flame in the smelter?
07:16 PM rue_mohr: start drying it up?
08:07 PM Tom_itx: why not?
08:08 PM Tom_itx: i don't know much about curing those
08:08 PM Tom_itx is now known as Tom_L
08:08 PM rue_mohr: if I cure it to fast <something bad>
08:08 PM Tom_L: cracks?
08:09 PM rue_mohr: maybe
08:09 PM Tom_L: https://wemakedirtlookgood.com/2014/09/how-to-break-in-your-new-fireplace/
08:09 PM Tom_L: same idea
08:11 PM Tom_L: how long has it been?
08:12 PM rue_mohr: more than 24 hours
08:12 PM rue_mohr: think
08:12 PM Tom_L: start with a 'cold' fire for a couple times
08:13 PM rue_mohr: I was think ing just a carbon flame for a half hours or so
08:13 PM Tom_L: i'd burn some wood or something in the bottom of it
08:13 PM Tom_L: charcoal?
08:13 PM rue_mohr: no just not like jet engine
08:13 PM rue_mohr: just a loose flame
08:13 PM Tom_L: yeah
09:45 PM Tom_L: z, got a quote for mine today... 250 $46, 2k $136 ... 1/3 as much per
09:46 PM Tom_L: 2 part half sheet
09:46 PM zhanx: k
09:48 PM Tom_L: she asked if i only wanted 100 to try and i declined so i dunno what that would be
09:48 PM zhanx: i might have to ask them
09:49 PM Tom_L: you may find a better deal but that's who i use
09:49 PM zhanx: 46 is a better deal than i have found
09:50 PM Tom_L: .06 ea or .18 ea
09:50 PM Tom_L: you'd need to add shipping since i'm local
09:50 PM Tom_L: dunno what they do there
09:51 PM zhanx: Wal-mart is complete for the job
09:53 PM Tom_L: you finished?
09:54 PM zhanx: yep
09:54 PM zhanx: store has all new IT from the registers to the back end now
09:56 PM rue_mohr: well I'm off the first page of HAD to the site is back to bot traffic :/
09:58 PM rue_mohr: I realized that the general lack of text makes my site unsearchable
09:58 PM zhanx: it does
09:58 PM rue_mohr: part of why the readme.txt files in the slideshow stuff
09:59 PM zhanx: you need a bots.txt also
09:59 PM rue_mohr: got one
09:59 PM zhanx: k
09:59 PM rue_mohr: "sorry, but if your reading this, your a bot."
09:59 PM zhanx: oh
09:59 PM zhanx: no, you need to customize it for google image search
09:59 PM rue_mohr: pff
10:00 PM rue_mohr: I'd rather do general site improvements
10:00 PM rue_mohr: damn mosquitos
10:00 PM zhanx: i got asked 10 times today if i have a website, i have no time to make one
10:00 PM rue_mohr: ask them what they expect to find on the website
10:01 PM rue_mohr: then makea website with your name and phone number
10:01 PM zhanx: i did
10:01 PM rue_mohr: ;)
10:01 PM Tom_L: heh i was just gonna say that
10:01 PM zhanx: i also need a form for contact
10:01 PM rue_mohr: well there ya go
10:01 PM zhanx: i need to wait till i get some funds
10:01 PM rue_mohr: if you had a logo and slogan, youd be bonified
10:01 PM zhanx: i do
10:01 PM zhanx: well not a logo yet
10:02 PM rue_mohr: as a bonus, throw in a mascott
10:02 PM Tom_L: rue's an artist... let him go on it :D
10:02 PM rue_mohr: hahahahaha
10:02 PM Tom_L: i will tell you this
10:02 PM zhanx: rue make my logo Illuminati style
10:02 PM Tom_L: if you run an ad, put a puppy in it and you're golden
10:03 PM rue_mohr: yep, thats true
10:03 PM rue_mohr: eating icecream
10:04 PM rue_mohr: so I did a general stripdown of one of the disability carts
10:04 PM rue_mohr: one battery is shot
10:04 PM rue_mohr: completely
10:05 PM rue_mohr: they have a null segment in the wiring harness, so you can plug the front into the back
10:05 PM zhanx: i took tomorrow and friday off, i worked 41 hours in 3 days
10:05 PM rue_mohr: I'll cut the seat post off at some point
10:05 PM rue_mohr: reduce the wiring
10:06 PM rue_mohr: putting a wagon handle on it will be a bit of work
10:06 PM zhanx: what are you doing with it?
10:07 PM rue_mohr: making a power wagon for ma
10:07 PM zhanx: oh nice
10:07 PM rue_mohr: just pull on the handle and it follows
10:07 PM rue_mohr: and or push
10:07 PM zhanx: slide trigger then
10:07 PM rue_mohr: slide speed
10:08 PM rue_mohr: with interlock pushbutton
10:08 PM zhanx: k
10:09 PM zhanx: i have to take my niece to post tomorrow she lost her dependent id and her dad is in cali
10:09 PM Tom_L: z, if you call them ask for debra thornburg and tell em i sent ya
10:10 PM zhanx: at drum?
10:10 PM zhanx: oh wait
10:10 PM zhanx: k
10:10 PM Tom_L: however she said she was gonna retire soon so i dunno
10:11 PM zhanx: k, i am looking at next week or so to order
10:11 PM Tom_L: it'll probably be that long before i have time to follow up on mine too
10:11 PM zhanx: verizon is kicking off next week so i hope i have time
10:23 PM zhanx: oh!
10:24 PM zhanx: I got my company polo shirts into today
10:24 PM Tom_L: nice
10:24 PM zhanx: just in time to have myself and 2 helpers do a morning install
10:28 PM Tom_L: get em nice n dirty