New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Looking for an individual who is confident in shell scripting
I'm looking for someone who is confident in scripting in shell.
I'm only looking for one or two files to be made for a web service I am creating and will explain the details over PM if you are interested.
Payment is available, but I will discuss this with you when you can estimate how long this will take (as I'm not sure, sorry!).
Future paid imrovements may be an option with this also.
Thanks a lot for taking a look!
This discussion has been closed.
Comments
We have a few bash and python scripters inhouse, feel free to message us.
Do you have a direct email I can catch you on, instead of the form on your site?
Thanks
Sent you a PM.
Interested to know what you need to be done, might be able to help you out depending on the work.
I'll PM you the details.
I'm always up for some shell scripting. Feel free to PM me if you still need somebody.
As am I, PM the details and I 'll see if maybe I have something already as I have a ton of scripts, if not I'll quote you on your specs.
I can do it as well, let me know via PM if you haven't found someone already.
PM'ed you all details.
If any of you figure out a solution for what he's asking please PM me. I have quite a few shells scripts I would love to re-write to do what he's asking but Google doesn't have a single result on if it's possible or not.
We're currently writing up something for him.
If you got my latest response, that would be acceptable as well.
Am I the only one that thinks this is an extremely easy task?
@KuJoe which part of it you can't write?
Alexander
How do you _POST to PHP without being able to use PHP? I have a dozen scripts that use curl for _GET to PHP, but to my knowledge you can only _POST from PHP to PHP but one of the requirements is that you cannot use PHP (strictly shell scripting).
Now that he removed the _POST requirement, the request is 100x easier and something I already have scripts for using _GET.
... That's not hard at all, what the hell? You'd do it any other way you'd ever simulate a POST request. There are a number of utilities that come with a standard Linux system that would allow you to do such a thing, the most common being:
curl
Else, you can use the actual utility:
post
Or you can use any other language that is already available on a Linux system:
python
perl (not always available)
ruby (not always available)
wget (yes, it CAN post.)
Weird, I was also asked to write the code and gave him a working product. Waiting for him him to see if it's working correctly on his end.
Ahh, I guess you beat us to it .
@GoodHosting, my Google-fu failed me then. I admit I only spent about 30 minutes searching for a solution but was unsuccessful. Can you send me some examples or link me to some guide/tutorial? I would love to convert my scripts over to POST versus GET.
It goes to show you that you don't need to know how to write code to be a developer.
You actually have a very good point there, it has turned into something where almost anyone can be a "Developer" or "Systems Administrator" just with some good Google-fu. This is how I got along before I actually went and learned something , so I'm well aware it works for a good few years before anyone notices.
Here are some examples, although; none of these examples do the JSON encoding that he wanted (as that's not very easy to do without an external dependency.)
Edit: Optimized the fetch a little.
nice and simple. you could do some more text mangling to get JSON format if it really matters.
I have only asked you to write it so far. I have only given details to others.
@mpkossen This thread can be closed.
Yup. Although, JSON has special rules about quoting variables, so it wouldn't be the prettiest to try and emulate JSON with basic awk/sed/tr . I'd much rather prefer including the external dependency of python's JSONp module... or the jsonlib package at least.
Since the output is predictable you just need to add some curly brackets, quotes and colons, no escaping required.
The output isn't that predictable, my output for example; includes a lot of specific kernel modules. Hell, I've seen some modules (proprietary, like HGST's stuff) that really screws up system outputs.
I agree that the output format is stable enough to wrap around. The actual keys being returned however, may or may not exist depending on the system.
Here's an example as run from a very small lab compute node:
Yet, if I run the same thing on one of my lab storage nodes:
Or if I run the same from one of my lab virtual machines:
Note that these are all running CentOS 6.5 x86_64, and all with the stock kernel.
So of course it depends on the loaded kernel and kernel modules.
Just flag and it'll be locked, done it for you already. ;-)
Yup, I've written both a SolusVM and WHMCS (to a much lesser extent) replacement thanks to Google and I didn't know you could POST using anything other than PHP. I just use libraries for the important stuff.
Closed at the request of the thread starter.