[#406402] How to quote variable of an array — sundar sundar <lists@...>
Consider the following example;
If you "p" (inspect) a string, then you'll get quotes because that's how
Joel Pearson wrote in post #1103948:
[#406418] Ruby Mechanize - Issue in parsing bugzilla page — Rochit Sen <lists@...>
Hi All,
[#406419] Recursion with Hash — Love U Ruby <lists@...>
h = {a: {b: {c: 23}}}
pretty simple:
tamouse mailing lists wrote in post #1103989:
On Mon, Apr 1, 2013 at 12:56 PM, Love U Ruby <lists@ruby-forum.com> wrote:
tamouse mailing lists wrote in post #1103993:
[#406463] C API version / functionality detection — William Fulton <lists@...>
What is a reliable and future proof way of detecting available functions
[#406465] Exclusively for Rubyists, a community on Facebook — "senthil k." <lists@...>
I was surprised to know that there is no community for Ruby Programming
Thing is, some people do not use Facebook and never will.
Yeah... but some people don't use email, or the internet, or computers. So
Email, internet and computers are an abundant technology. Facebook is a =
I understand the difference but what I am saying is that just because some
Yeah, I understood what you said. I'm pretty sure Marc did, too.
[#406528] Role of bundler in creating and installing a gem — Jon Cairns <lists@...>
Hi fellow rubyists,
On Fri, Apr 5, 2013 at 6:39 AM, Jon Cairns <lists@ruby-forum.com> wrote:
> Here is an example of a Gemfile and gemspec where you can see how I do
[#406554] Change fond color based on dark/light bg [Sinatra,HAML,CSS] — Panagiotis Atmatzidis <atma@...>
Dear Sirs,
[#406555] How do you know what the main file in Ruby Projects is? — peteV <pete0verse@...>
Hi Ruby people,
Subject: How do you know what the main file in Ruby Projects is?
Carlo E. Prelz wrote in post #1104616:
Actually its not wrong. What it does is explicitly state which ruby
On Sat, 6 Apr 2013, D. Deryl Downey wrote:
Matt Lawrence wrote in post #1104625:
On Sat, 6 Apr 2013, Hans Mackowiak wrote:
I'm interested in the issue with using env, but I find you explanation a but=
On Apr 6, 2013 8:03 AM, "Matthew Mongeau" <halogenandtoast@gmail.com> wrote:
On Sat, 06 Apr 2013 01:16:15 +0200, Matthew Kerwin <matthew@kerwin.net.au> wrote:
[#406565] Why call of custom method doesn't work? — Wins Lin <lists@...>
I have a code:
[#406593] Confusion with Forwarrordable#delegate - throwing an er — Love U Ruby <lists@...>
require 'forwardable'
[#406597] Writing to an open IO stream from a method. — "Yancy B." <lists@...>
I'm having an issue figuring out how to pass an IO stream to a method.
And as soon as I post this it starts working... WTF?
On Sun, Apr 7, 2013 at 9:46 PM, Yancy B. <lists@ruby-forum.com> wrote:
[#406600] Mapping string data ptr to buffer in ffi — se gm <lists@...>
I'm trying to implement some "shared memory" in Ruby, but I'm not sure
>Without
On 04/08/2013 07:41 AM, se gm wrote:
Subject: Re: Mapping string data ptr to buffer in ffi
>You need a method call, either from
[#406616] Accessing global variable in Unit Tests — T- Di <lists@...>
Hi,
[#406617] visual ruby - datetime in dropdown — Abhirama Sundram <lists@...>
Hi,
[#406626] regex confusion — Love U Ruby <lists@...>
I was trying to get some matches: as below
[#406633] uninstall Ruby 2.0 installed from source — marco tiraferri <lists@...>
Hallo,
[#406649] JRuby's Google Summer of Code 2013! — Charles Oliver Nutter <headius@...>
Hello, friends!
I'd be interested in being a student!
That's great! Look over the ideas, talk to us on IRC or mailing lists,
[#406683] confusion with Struct class — Love U Ruby <lists@...>
I went to there - http://www.ruby-doc.org/core-2.0/Struct.html but the
On Thu, Apr 11, 2013 at 10:45 AM, Love U Ruby <lists@ruby-forum.com> wrote:
Why does every time the has value getting changed,while the instance
On Thu, Apr 11, 2013 at 4:27 PM, Love U Ruby <lists@ruby-forum.com> wrote:
Robert Klemme wrote in post #1105267:
On Thu, Apr 11, 2013 at 4:59 PM, Love U Ruby <lists@ruby-forum.com> wrote:
Robert Klemme wrote in post #1105270:
The way you're teaching yourself ruby isn't good.
An alternative way to learn ruby would be to go and do the ruby koans.
Here is another confusion:
On Thu, Apr 11, 2013 at 7:38 PM, Love U Ruby <lists@ruby-forum.com> wrote:
[#406699] confusion with gets, if — Daniel ferrando <lists@...>
hi I'm new to ruby and im trying to write some simple codes but i cant
[#406739] Looking for a more elegant solution. — Shaw xx <lists@...>
I'm new to ruby and working on such a problem:
[#406748] SSL — Nokan Emiro <uzleepito@...>
Hi,
On Apr 13, 2013 4:19 AM, "Nokan Emiro" <uzleepito@gmail.com> wrote:
[#406761] Sending signal to win process — "Miroslav S." <lists@...>
Hello,
[#406762] Why does #content method in nokogiri not printing the full text? — Love U Ruby <lists@...>
Here is the documentation: http://www.rubydoc.info/gems/nokogiri/frames
On Sun, Apr 14, 2013 at 11:19 AM, Love U Ruby <lists@ruby-forum.com> wrote:
On Sun, Apr 14, 2013 at 11:59 AM, tamouse mailing lists
tamouse mailing lists wrote in post #1105601:
I see.
Just looking for a definition of the use: When should I need to think
On Apr 20, 2013 2:28 AM, "Love U Ruby" <lists@ruby-forum.com> wrote:
[#406782] simple lambda question — "Hyun Oh K." <lists@...>
hello, I am newbie for ruby.
[#406784] Wondering why no "increment" or "decrement" operator in ruby — tamouse mailing lists <tamouse.lists@...>
Seems like every other language I've encountered since learning C way
tamouse mailing lists wrote in post #1105638:
On Sun, Apr 14, 2013 at 10:23 PM, Matthew Kerwin <lists@ruby-forum.com> wrote:
On Mon, Apr 15, 2013 at 5:38 AM, tamouse mailing lists <
[#406815] How to get the only the partial of text — robert lengu <lists@...>
hi
[#406823] Delete method also deletes the original variable — Vincent Stowbunenko <lists@...>
Suppose a code is like this:
Vincent Stowbunenko wrote in post #1105954:
On Tue, Apr 16, 2013 at 9:10 PM, Matthew Kerwin <lists@ruby-forum.com>wrote:
[#406836] String index produces unanticipated result — Thomas Luedeke <lists@...>
I have the following string I am pulling from a file (asterisks used to
[#406845] Match against multiple patterns problem — Charles Hixson <charleshixsn@...>
What I would want to do, if it were legal code would be:
How about this?
On Thu, Apr 18, 2013 at 7:40 PM, Charles Hixson
[#406864] "gets" overwrites string - why does this happen? — Philip Rhoades <phil@...>
People,
[#406874] Input: sentence Modify: words Output: modified sentence — Philip Parker <lists@...>
I am new to Ruby. This is a programming interview question to use any
I generally don't approve of doing people's homework for them, but this
Joel Pearson wrote in post #1106334:
Thank you all! You are helping me to understand more complicated
[#406883] Problem installing shoes using the installer shoes-3.1.0.run — Ruby Student <ruby.student@...>
Hello everyone.
[#406912] Tap method : good or bad practice ? — Sébastien Durand <lists@...>
Hi all !
On Sun, Apr 21, 2013 at 12:56 AM, S=C3=A9bastien Durand <lists@ruby-forum.c=
On Sun, Apr 21, 2013 at 12:56 AM, S=E9bastien Durand <lists@ruby-forum.com>=
On Apr 21, 2013 5:21 PM, "Josh Cheek" <josh.cheek@gmail.com> wrote:
tamouse mailing lists wrote in post #1106508:
[#406928] POODR advice — Jes俍 Gabriel y Gal疣 <jgabrielygalan@...>
Hi,
[#406930] Question — Zakaria 0x7 <zakaria0x1@...>
Hi everybody ,
[#406936] BEGINNER -CLASS QUERY — shaik farooq <lists@...>
HEY as we know that the object conatins the instance variables that are
On Mon, Apr 22, 2013 at 3:45 PM, shaik farooq <lists@ruby-forum.com> wrote:
On Wed, Apr 24, 2013 at 12:29 AM, Ryan Davis <ryand-ruby@zenspider.com> wro=
Guyz u people have confused me i request u all to please come up with
So in ruby we dont declare the instance variables in class for instances
[#406944] SciRuby Summer of Code — Carlos Agarie <carlos.agarie@...>
SciRuby is a project that aims to bring scientific computation to Ruby.
[#406952] Problem with array variable — fox foxmaster <lists@...>
Hi all I have a problem with a small project I am working on.
[#406966] copying files syntax with FileUtils.rb (grr.) — Thomas Luedeke <lists@...>
In my Ruby scripting, there is probably no greater and chronic source of
[#406969] what is the $- magic global? — Matthew Kerwin <lists@...>
I've been searching for the past hour or so, including manually stepping
Also: I'm aware of bash's $- options description, but that doesn't seem
On Tue, Apr 23, 2013 at 9:21 PM, Matthew Kerwin <lists@ruby-forum.com> wrot=
If you try it on http://repl.it/, $- immediately returns nil. Perhaps on
It's just an ordinary global variable, and is disallowed now in the
[#406983] BEGINNER - Convert csv file to tsv — "Jon R." <lists@...>
Hi,
[#407000] Ruby multiline comments and Coffee — Jan Berdajs <lists@...>
Hey,
[#407044] ERB not working — "Rafael M." <lists@...>
The erb command is not working properly for me on ubuntu terminal
Hi,
[#407053] Issue with Selenium-webdriver — Love U Ruby <lists@...>
Hi,
[#407059] New Rexx like data structure — Peter Hickman <peterhickman386@...>
This is just something that I have been playing with for some time but I
On Mon, Apr 29, 2013 at 5:07 PM, Peter Hickman <
On Mon, Apr 29, 2013 at 5:29 PM, Robert Klemme
On 29 April 2013 16:33, Robert Klemme <shortcutter@googlemail.com> wrote:
[#407070] writing lines to a file — peteV <pete0verse@...>
I have a text file with on every line a magic card number and such info
Or you could do the whole operation with a single read, string
[#407079] How does Module#include differ from #prepend? — Love U Ruby <lists@...>
class Foo
[#407095] Rspec/rake note working — Tom Galpin <lists@...>
Working on a tutorial and starting to use TDD/rspec.
On Tue, Apr 30, 2013 at 2:15 AM, Tom Galpin <lists@ruby-forum.com> wrote:
[#407114] how to: convert string to DateTime object — Ana Bia <lists@...>
Hi, can someone please show an example of:
On Tue, Apr 30, 2013 at 12:18 PM, Ana Bia <lists@ruby-forum.com> wrote:
[#407123] is there any performance difference between Range#include? and Range#cover? — Love U Ruby <lists@...>
I used once `cover?` and again `include?`. Both are looking same as per
I'd expect cover to perform better in a benchmark, since it checks the
Trim/Cut and Convert Gopro MP4 files to AVI, WMV, MOV, etc
Trim/Cut and Convert Gopro MP4 files to AVI, WMV, MOV, etc As the best "wearable" adventure video/photography camera, the new GoPro Hero 3 continues the legendary line with three new models. Now the entry-level White Edition supports 5MP still capture with 3 fps burst and 30fps 1080p video, the middle-range Silver Edition spots 11MP stills with 10fps burst, and the premiere model the Black Edition features a 12MP camera that can shoot 4K video at 12fps or 1080p video at up to 60 fps. GoPro Hero 3 records video in H.264 and saves footage as .mp4, which is a good streaming media format for sharing with iPad, Android devices and posting to YouTube. There's a problem though. When you wear a Gopro camera and let it roll for an hour, it results in enormous files with only a few minutes of really good footage that you really want to keep, so you may need to import the Gopro MP4 video to Windows Movie Maker or other editing app for rough cutting and special effects, while the editing app is likely to reject the Gopro .MP4 because it's not a editing-friendly format. Here I'd recommend Pavtube Media Magician, best Gopro Video Converter to anyone that is seeking for an easy solution to keep only the good bits and delete the rest from Gopro .mp4 video. This is not a substitute for full-featured video editing software if your goal is professional looking videos. If you're just doing home movies of summer vacation for the family, and you want to take an hour's footage and extract only five minutes' worth for fun, this makes it very quick and easy to do that. It also does a "conversion" and lets you exports editing-friendly format for Windows Movie Maker, Adobe Premiere, Sony Vegas, etc. Below is a short guide showing you how to cut out junks from Gopro .mp4 and export AVI, WMV, MOV, etc video. http://www.pavtube.com/media-magician/ Get Pavtube Media Magician | Get Pavtube Media Magician for Mac Trim/Cut and Convert Gopro MP4 files to AVI, WMV, MOV, etc Step 1. Click on the Import file icon, and select "Import from folder", browse to the folder that you save the Gopro recordings. Step 2. Drag and drop video clips to timeline and extract key frames. Here you can remove unwanted clips AND trim out unwanted frames by frame-accurate. Also, you may trim, cut, delete, rearrange order, and merge videos. 1. Time Display Controller: Move your mouse cursor on timeline, the opposite time point will be displayed here. Once you entered a time point into the time display box and click enter, the Preview Window and Timeline will switch to the frame of this time point. This helps to locate to the accurate frame that you want. 2. Zoom in and Zoom out: Drag the bar on top-right of timeline to Zoom in or out for better view. 3. Preview: Highlight a clip on timeline and click Play button, you can preview. Double click on a clip can also begin preview. 4.Trim: Put your cursor to the start or end point of a clip on timeline until it changes to trimmer. Drag the trimmer and you can trim off unwanted starting or ending. 5. Cut: Drag the pointer to the right place; Put your cursor to process bar under preview window and select the right frame; Click the Scissors button and you can cut the clip. And then you can rearrange order or delete. 6. Delete: Highlight the unwanted clip on timeline, and click Delete button. You can also delete it with right-click menu. 7. Rearrange order: Drag and hold a clip to the right place until the place line shows. Drop the clip and it will be placed right there. 8. Merge & join: All files placed on timeline will be output as one file. So if you want to merge and join several clips, just drag them to timeline in right order. On the preview window, you can use Frame Selection Controller to seek to the corresponding frame of the current image, or seek the previous frame/next frame, which helps to locate frames accurately. Step 3. Click the Output button on the top and switch it to output interface. Here you can set common video format like AVI, MKV, MP4, MOV, MPG, etc as well as intermediate codec for non-linear video editing apps. Decide your output format, choose it, and then click on the + sign to add it as a conversion task. Step 4. Select the task(s) and click on the triangle sign to start exporting AVI/WMV/MOV video from Gopro videos for use. http://digital-camcorder-life.com/2013/03/01/convert-gopro-camera-mp4-files-to-avi-wmv-mov-etc/ Wait for while, until you get the converted files. After that, you can import your Gopro files into editors for editing with quality lossless. -- Posted via http://www.ruby-forum.com/.