These are the results of a contest to create the best one-line program that would fit inside Twitter’s 140-character buffer. Bash, Ruby and C what's your favorite one-liner ?
on 09/08/2011 – Made popular on 09/08/2011
I am running this job from jenkins and its failing constantly....
Started by user anonymous
Building in workspace /var/lib/jenkins/jobs/deploy-mapreduce/workspace
Capturing environment variables produced by 'rvm use ruby-1.9.3-p484'
$ bash -c export
$ bash -c "test -f ~/.rvm/scripts/rvm"
$ bash -c "test -f /usr/local/rvm/scripts/rvm"
[workspace] $ bash -c " source /usr/local/rvm/scripts/rvm &
I'm trying to create a program that counts the number of words, line and characters in a text file, which also uses forks, pipe and child/parent processes and buffer memory allocation, Which runs in linux.
I want to create an app in which i want to tweet text without using log in Twitter and I want to make favorite also. In Favorite when I make favorite in my app Then It will make favorite as well as twitter but no need Log in.Here my code to post Twitter.
Hey everyone, this program's been killing me. I have to create a program that takes another program as input and counts the lines. Pretty simple, except that to do this, you have to count semicolons which means you have to negate semicolons that are comment text or within double quotes.
How can I remove a newline character that has already been printed and loaded onto the buffer? As far as I know, the \b character only moves the cursor back in the current line, and doesn't work with newline characters. How can I get around this?
It would be helpful if the question were edited to indicate how this undesirable newline was emitted.