2015-08-31T06:49:02 *** zoso has joined #amclug 2015-08-31T06:51:14 ,later tell ecthiender slow dancing in a burning room is a great song, and somehow I feel like I have been slow dancing in a burning room all this while.. 2015-08-31T06:51:14 zoso: The operation succeeded. 2015-08-31T08:22:05 ,later tell ecthiender about https://github.com/twisted/klein 2015-08-31T08:22:05 zoso: The operation succeeded. 2015-08-31T11:12:56 *** ecthiender has joined #amclug 2015-08-31T11:15:42 zoso, heh. you didn't hear that song before? :P 2015-08-31T11:16:10 ecthiender, I did, but could draw relativity now :) 2015-08-31T11:16:32 and klein is too good. check it out, useful resource 2015-08-31T11:16:54 btw all the best for your interview ecthiender 2015-08-31T11:17:04 yeah thanks zoso 2015-08-31T11:17:13 zoso, hmm. re klein 2015-08-31T11:19:50 ecthiender, I suck at apache config files.. :( Need to have a rewrite rule which will append extension depending on the requested file's extension 2015-08-31T11:20:15 zoso, umm. not clear. give an example./ 2015-08-31T11:21:27 e.g The request is http://foo.com/audio/bar.wav then the url should become http://foo.com/audio/bar.wav.mp3 2015-08-31T11:21:49 so for every request of .wav the url becomes .wav.mp3 2015-08-31T11:22:09 ecthiender, ^ 2015-08-31T11:22:44 zoso, you want an apache rule for that? 2015-08-31T11:22:50 yes 2015-08-31T11:23:01 zoso, why not make the application itself make that request? 2015-08-31T11:23:48 that's also a nice idea 2015-08-31T11:24:09 can do that, but now I also want to learn this :P 2015-08-31T11:24:37 zoso, otherwise in the rewrite directive, first group anything after audio/ like so: http://foo.com/audio/(.*) and then the rewrite becomes like: http://foo.com/audio/$1.mp3 2015-08-31T11:24:43 or something like that ^ 2015-08-31T11:24:51 I am unable to reason myself out of being bad at apache configuration.. 2015-08-31T11:24:55 basically use regexp and groupings to accomplish 2015-08-31T11:25:00 great.. thanks 2015-08-31T11:25:33 np 2015-08-31T11:26:26 how can I change (.*) so that it matches only .wav is present? (.*).wav ? 2015-08-31T11:27:15 ecthiender, ^ 2015-08-31T11:28:06 ecthiender, found a good resource http://httpd.apache.org/docs/2.4/rewrite/remapping.html 2015-08-31T11:28:07 Title: Redirecting and Remapping with mod_rewrite - Apache HTTP Server Version 2.4 (at httpd.apache.org) 2015-08-31T11:30:06 zoso, regexpal.com is your pal :P 2015-08-31T11:30:21 zoso, I'd think: (.*).wav$ 2015-08-31T11:30:25 got it 2015-08-31T11:30:25 ending with .wav ^ 2015-08-31T11:30:30 yes you are right. 2015-08-31T11:31:51 ok another question, do you know if it is possible to specify multiple hash bangs for a shell script :P or rather how do I make my bash script find out where the location of bash is? 2015-08-31T11:32:51 on some OS bash is in /usr/bin/bash and in others it is at /bin/bash 2015-08-31T11:36:33 nvm ecthiender found my answer 2015-08-31T11:37:04 zoso, $(which bash) 2015-08-31T11:37:31 Umm, you would do # !/usr/bin/env bash 2015-08-31T11:37:42 I was asking about the shebang line 2015-08-31T11:38:23 sorry if I've been disturbing you.. 2015-08-31T12:09:31 zoso, did you get any reply from Jace/Megha? 2015-08-31T12:09:51 ecthiender, not yet.. 2015-08-31T12:10:30 zoso, did you see the reply in the HN post? 2015-08-31T12:10:43 yes, I saw yesterday night.. 2015-08-31T12:11:01 zoso, can you post the same question in quora? 2015-08-31T12:12:02 ecthiender, yes will do that tonight.. 2015-08-31T12:12:23 hey you had a shell script which used to check what OS is running right? 2015-08-31T12:13:47 zoso, why do you want to delay? 2015-08-31T12:14:00 was just in the middle of things now 2015-08-31T12:14:06 thats all, not delay 2015-08-31T12:14:11 zoso, if you post it tonight, when are we going to get feedbacks, decide on our rates and then get back to them.. 2015-08-31T12:14:17 zoso, okay. shall I post then? 2015-08-31T12:14:30 cat /etc/*-release 2015-08-31T12:15:01 ecthiender, ya, go ahead, please 2015-08-31T12:15:23 ecthiender, can't I find out arch or debian? :P 2015-08-31T12:16:25 cat /etc/*-release, then grep for appropriate OS 2015-08-31T12:23:08 zoso, please upvote when you get time: https://www.quora.com/Inputs-needed-on-quotation-for-a-website 2015-08-31T12:46:45 ecthiender, done for quora 2015-08-31T12:47:02 zoso, cool. thanks 2015-08-31T12:50:22 zoso, how much a ssl certs cost per year? 2015-08-31T12:50:41 ecthiender, no idea, sorry 2015-08-31T13:49:10 *** ecthiender has quit IRC (Read error: Connection reset by peer) 2015-08-31T13:49:11 *** ecthiender_ has joined #amclug 2015-08-31T14:03:05 zoso, ping 2015-08-31T14:03:12 *** ecthiender_ is now known as ecthiender 2015-08-31T14:04:39 ecthiender, pong 2015-08-31T14:05:34 zoso, can I call you for 5 mins? 2015-08-31T14:06:01 ya :) 2015-08-31T15:11:01 *** ecthiender has quit IRC (Ping timeout: 246 seconds) 2015-08-31T15:23:43 *** ecthiender has joined #amclug 2015-08-31T16:03:56 *** ecthiender has quit IRC (Quit: gotta go) 2015-08-31T16:21:49 *** zoso has quit IRC (Ping timeout: 268 seconds) 2015-08-31T18:31:47 *** ecthiender has joined #amclug 2015-08-31T19:43:08 *** zoso has joined #amclug 2015-08-31T20:52:31 *** ecthiender has quit IRC (Ping timeout: 265 seconds) 2015-08-31T21:35:50 *** zoso has quit IRC (Ping timeout: 272 seconds)