Displaying 20 results from an estimated 2000 matches similar to: "Examples of long AND WELL-WRITTEN Ruby scripts"
2005 Jul 11
3
[LLVMdev] Mod for using GAS with MS VC++
Here is a mod to X86 that allows GAS to be used with MS Visual C++.
I introduces a 'forWindows' variable like 'forCygwin' in th X86SharedAsmPrinter class.
This may prompt thurther normalization, on the otherhand it may not :)
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Mar 16
3
Do you ALWAYS use "bundle exec rspec spec" tests?
I''m going through Michael Hartl''s Rails tutorial, and I am happy to report
that (as of the end of section 7) I''m able to get things working. (That
said, I skipped the section on automated testing, as Hartl warned that
automated testing is the most likely part of his book to become outdated.)
There is a heavy emphasis on the "bundle exec rspec spec" tests.
2013 Nov 01
0
Using Chef to set the database name, username, and password
One of my Ruby on Rails apps is Bargain Stock Funds
(https://github.com/jhsu802701/bsf), and it relies on a Ruby gem called
bsf_scrape (https://github.com/jhsu802701/bsf_scrape) to obtain and process
data on stock funds and then save the results in a PostgreSQL database.
As you well know, the config/database.yml file needs the database name, the
username, and the password. My procedures for
2012 Feb 05
2
[PATCH 2/2] OS/2 EMX natively uses AOUT so pass -f aout to NASM
Dave Yeo wrote:
> ---
> configure.ac | 1 +
Both applied (first with a minor tweak). Thanks.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
2004 Aug 06
2
mount points and sourcing from winamp
Hi:
I know it's possible to listen to a stream mounted on a mountpoint using
winamp. I'd like to know if it's possible to make the shoutcast DSP plugin
source a stream on a mountpoint? If so, how do you do it? Does the
version matter? If you can't, will plugins like oddcast do it?
Geoff.
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage:
2005 Jul 11
2
[LLVMdev] Mod for using GAS with MS VC++
>> Here is a mod to X86 that allows GAS to be used with MS Visual C++.
>>
>> I introduces a 'forWindows' variable like 'forCygwin' in th
>> X86SharedAsmPrinter class.
>>
>
> A couple of comments:
>
> 1. Please send patches instead of full files. The best way to do this is
> to use CVS like this: 'cvs diff -u' in the
2009 May 28
1
No libGL on this box - disabling OpenGL support !
am getting the following....
[root at linux11 ~]# glxinfo | grep direct
Error: unable to open display (null)
[root at linux11 ~]# uname -a
SMP Thu May 7 11:51:15 EDT 2009 i686 i686 i386 GNU/Linux
[root at linux11 ~]# cat /etc/redhat-release
CentOS release 5.3 (Final)
on the otherhand when i run wine application i get the following too
err:wgl:X11DRV_DescribePixelFormat No libGL on this box -
2012 Feb 05
1
[PATCH 2/2] OS/2 EMX natively uses AOUT so pass -f aout to NASM
JonY wrote:
> On 2/5/2012 13:30, Erik de Castro Lopo wrote:
> > Dave Yeo wrote:
> >
> >> ---
> >> configure.ac | 1 +
> >
> > Both applied (first with a minor tweak). Thanks.
> >
> > Erik
>
> Unfortunately, this steps on my patch. Updated patch attached. Cygwin
> really shouldn't be calling win32 API.
>
> On the
2018 Mar 21
2
Reviving the DebugIR pass
Hi,
I recently had the need to see the correspondence between some Clang
generated LLVM IR and the compiled machine code within a debugger
(lldb in this case). Unfortunately it looks like the functionality to
do this used to be in a pass called 'DebugIR' but was removed due to
the lack of a maintainer [1].
It appears an attempt was made [2] to revive this but it appears to
have stalled.
2002 Apr 04
3
assign, documentation (PR#1434)
Hi,
The help for `assign' says
In all the assignment operator expressions, `x' can be a name or
an expression defining a part of an object to be replaced (e.g.,
`z[[1]]'). The name does not need to be quoted, though it can be.
So I would expect that by
a<-1:4
assign("a[1]",2)
the first component of a gets the value 2, but the object "a[1]" is
2005 Jul 11
0
[LLVMdev] Mod for using GAS with MS VC++
On Mon, 11 Jul 2005, Aaron Gray wrote:
> Here is a mod to X86 that allows GAS to be used with MS Visual C++.
>
> I introduces a 'forWindows' variable like 'forCygwin' in th
> X86SharedAsmPrinter class.
>
A couple of comments:
1. Please send patches instead of full files. The best way to do this is
to use CVS like this: 'cvs diff -u' in the directory
2005 Jul 12
0
[LLVMdev] Mod for using GAS with MS VC++
On Tue, 12 Jul 2005, Aaron Gray wrote:
>>
>> 1. Please send patches instead of full files. The best way to do this is
>> to use CVS like this: 'cvs diff -u' in the directory that you care
>> about. You can also specify specific files to diff as well.
>
> Okay, I will do this in future, our posts crossed so I have not done
> that for the MASM
2002 Aug 09
1
Really basic question about compiling WINE
I am an intermediate Linux user. I dual boot into Redhat 7.3 and
Windows ME. It would be nice to be able to run the stuff in Windows from
Linux (for 2 reasons: to avoid booting and rebooting, and trying to get
away from Windows altogether someday), so I am now learning WINE.
I see a bunch of postings on this list about compiling. Question: Would
I expect to compile, as opposed to just running
2006 Feb 15
2
Asterisk running on DMZ (no NAT) PROBLEMS- OPTION message is out of State
Hello,
Currenly I've ASterik@Home 1.5 running on DMZ. I can register SJphone
there, good audio on 8200 (webmeet me calls) and i also can dial
Zapata extensions.
When I dial sip phone extensions nothing happens if the client that
i'm calling is registred, if the client has voicemail it goes to
voicemail.
IMPORTANT:
I get this error message on my Check Point Firewall:
"sip
2008 Feb 12
1
UFS snapshot weirdness
Hi all,
I've been making a wrapper script for the backup tool 'duplicity',
allowing me to create config files for each resource, wherein I define
whether a snapshot should be made prior to backing up the resource or
not.
Now I find that my snapshots never change ....
The script creates a snapshot, creates md device, mounts it, runs
backup against the mounted snapshot,
2018 May 13
1
dsync migration from maildir layout=fs to maildir seperator / - folders or inbox but not both
> On 13 May 2018, at 14.07, Matt Bryant <matt at the-bryants.net> wrote:
>
> Sigh ... ok so had if statement in SQL land that appended LAYOUT=fs if Maildir which explains the non-converting folder layout but NOT why the process is not picking up the actual contents of INBOX ...
>
Try setting imapc_prefix=INBOX instead of imapc_list_prefix.
Sami
2018 Mar 21
0
Reviving the DebugIR pass
Hi Dan,
Having missed this functionality myself in the past I’m excited to see this
gain traction. Let me know if there’s anything I can do to help this along.
Cheers,
Jonas
On Wed, 21 Mar 2018 at 18:19, Dan Liew via llvm-dev <llvm-dev at lists.llvm.org>
wrote:
> Hi,
>
> I recently had the need to see the correspondence between some Clang
> generated LLVM IR and the compiled
2004 May 12
2
iax behind a SonicWall
Current dev cvs install on two systems. System A is behind a SonicWall
firewall, and system B is on a registered IP address. (System B has
multiple iax links that are fully functional to multiple locations.)
System A is correctly registering with System B, with no special firewall
rules.
Should System B be able to take advantage of the "registration" to send
iax/gsm calls to System A
2005 Jul 01
3
Cable Modem and Brigding
Hello, I am curious if the below setup makes any sense...
If I have two public IP addresses served off of a cable modem, can I
send one to a shorewall box in bridge mode, then have the other serve my
network?
Physically, I would like to run it:
Cable Modem -> Shorewall Box -> Router -> Network
Possible? I would like to do this using FC 4.
thanks
2006 Jan 27
1
Caching from screen scraping
Hi all,
I need to do some screen scraping from my rails app. Given an ethernet
(MAC) adress, I scrape results from an internal web page that returns
location and hostname. How can I cache the result from that screen
scraping as to be polite to the scrapee? I would like to expire the
results daily. In perl, I would use Cache::File. Can I use rails caching
for this? What''s the best