Displaying 20 results from an estimated 300 matches similar to: "Ruby code colorizer"
2011 Feb 07
8
Pygments
The Pygments highlighter supports many more languages than CodeRay.
Pygments is written in Python, but I''ve seen non-Python projects use it
(Jekyll, Pygments).
There''s also this: https://github.com/nex3/rb-pygments
Any idea how much work it would be to add Pygments support to Webgen?
2008 Apr 04
2
How to create a function calling two functions with unknown number of parameters?
... can be used to represent unknown number of parameters passed into a
function.
For example, I write a function g. g calls another function f1.
For example f1 could be different random number generation function.
when f1=rnorm(), it has 3 parameters n, mean and standard deviation.
when f1=rexp(), it has 2 parameters n and rate.
g can be defined as
g <- function(f1, ...) {
f1(...)
}
2008 May 29
3
Shipping?
Why are there tutorials on everything having to do with rails EXCEPT
on calculating shipping costs for a shopping cart? there are 10 or so
blog posts about the "shipping_gem" or "active_shipping" but no real
details like how one might get the information from a form and then
pass the cost into the total for checkout. Does anyone know of a
tutorial i might have missed in the
2011 Mar 18
1
points() rendering points outside of input
As a followup to pi-day, I attempted to make a .gif of a simulation
based estimation of pi by plotting points inside a single quadrant of
a circle (a la?http://www.drewconway.com/zia/?p=2667 ). ?When
rendering the individual x,y pairs with points() I intermittently see
points crop up around (2,0.5) but the input values for x and y are
bounded between 0 and 1.
square<-structure(c(0, 0, 1, 1, 0,
2009 Jan 29
2
HOWTO install webgen 0.5.6 on Debian GNU/Linux etch
Hi all,
Cristian our sys-admin wrote a short HOWTO for Webgen 0.5.6 on Debian
Etch, see https://wiki.fsfe.org/FellowshipHacks/Webgen.
I thought it might be of interest for others as well. If you know a
better way, please let us know.
Best wishes,
Matthias
--
Deputy German Coordinator, Fellowship Coordinator
Free Software Foundation Europe (FSFE) [] (http://fsfeurope.org)
Join the
2005 Aug 30
1
TE110p and E1
Hi All,
I have configure my Asterisk as follow (using Asterisk@home):
[zaptel.conf]
span=1,1,0,ccs,hdb3,yellow
bchan=1-15,17-31
dchan=16
loadzone = uk
defaultzone=uk
[zapata.conf]
[channels]
switchtype=euroisdn
pridialplan=local
prilocaldialplan=local
internationalprefix=00
nationalprefix=0
usecallingpres=yes
busydetect=no ; not need on pri
callprogress=no ; was yes but wiki says experimatley
2012 Mar 09
2
uncompressed FLAC
Declan Kelly <flac-dev at groov.ie> wrote:
> On Thu, Mar 08, 2012 at 09:50:20AM -0800, giles at thaumas.net wrote:
>> I wouldn't worry about it though. It's unfortunate the dbPowerAmp
>> developers want to take advantage of the subset of customer who don't
>> understand what 'lossless' means.
>
> I read some of the articles on
2003 May 23
1
Trouble installing Tarball samba-2.2.8a
Hello,
I have been trying to install the tar'd version of
samba because I need a few options I can not get to
work with the RPM version.
This is what I do when i setup samba
# tar xvfz samba.x.x.x
#./configure --with-winbind
--with-winbind-auth-challenge
#make
#make install
And it goes through those steps fine, but when I try
to run the smbd or nmbd daeomons, it says it cant find
it. And
2006 Jun 08
0
Is possible to mantain a co0l blog without broke XHTML?
I started to write content in textarea in HTML then I migrated to
BBCode, then I came back HTML thanks to TinyMCE, now I see with interest
textile and markaby, but will they be "THE solution"?
As "internal" language anybody is free to use the language he/she
prefers but about the future? Probably you won''t be able to reuse it in
another platform/cms
Anybody wants
2007 Jan 05
0
webgen 0.4.0 released
Hey all,
finally a new webgen release :-) More information and install
instructions below!
Thanks for all the help and feedback!
Bye,
Thomas
-------------------
About
=====
webgen is used to generate web pages from page and template files. You
create one or more template files in which you define the layout of
your page and where the content should go. After that you create page
files
2008 Apr 04
1
Problem when i try deploy mephisto
Hello everybody... now i finish my first mephisto application and try
deploy. In my development machine everything is fine on Rails 2.0.2
and last version of mephisto on Mephisto repository. But when i try
deploy and run rake db:bootstrap RAILS_ENV=production to make my db
ready fo mephist i get strange error:
uninitialized constant CodeRay::Encoders::PluginHost
The suport on rails playground
2006 Jul 02
7
Generic SingleTable inheritance
Hi all,
I would like to discuss a design idea I have in mind with you, in order
to get critical feedback.
ActiveRecord supports single table inheritance(STI) "per se", BUT you
must add all possible instance variables(properties) of all subclasses
to the "base table"(as columns). I would like to circumvent this
restriction.
Say we have a
class AbstractGenericThing <
2000 Oct 04
5
postscript preview
gday R friends,
I was wondering if anyone could help me with some graphics issues please.
I'm processing R in batch on redhat6.2 with some graphics to be imported
into msword on NT. For scaling within my doco I want some vector type
graphics. win.metafile doesn't seem to be supported on redhat which gives
me postscript. postscript is ideal but doesn't contain a preview so I
2005 May 18
4
OT: carrying a router, firewall, switch, server, some phones with me on flight to Europe
Dear Fellow *-ers,
First, you guys are fantastic. Keep fighting the good fight.
Second, it sounds like comments in the code are coming, which sounds
welcome by all, even those of us who couldn't code their way out of a
papersack, but who need to read the source.
Last, I might be traveling to Europe (from US) & want to tow along
hardware & haven't done this before & was
2010 Sep 25
4
Help required
Is it possible to read jpeg files into R?
If yes please guide, Thanks.. I tried to search many time but failed to do.
Thankis in advance..
with Best Regards,
Malik Shahzad
Visiting Researcher
National Institute of Informatics (NII)
Tokyo, Japan
Doctoral Student
Asian Institute of Technology (AIT)
Bangkok, Thailand
+66-8-7676-5616
[[alternative HTML version deleted]]
2019 Apr 10
2
virt-v2v slow when running inside the VM
Hi,
I'm trying to create a clone of a physical Window VM using p2v.
My goal is to create a cloning tools VM that has libguestfs tools installed
and acts as the convertor.
VM conversion works just fine but the conversion rate is significantly
slow(1/3) when running inside the VM compared to when the v2v is run on the
same bare-metal host.
On the host:
2003 Jun 12
1
wibind and windows 2003
I am wondering if winbind works with win 2003. I can
get winbind working just fine with 2k servers, but
when I run wbinfo -t, all I get is "can not check
secret". it joined the domain fine, but can not get
it any info using wbinfo.
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
2006 Nov 21
5
Why Aastra uses 48V whereas other IP Phones use much less, i.e. 5-12V
Hi,
Why Aastra phones use more electricity, i.e. 48VDC whereas other phones use
much less, e.g. Grandstream and Linksys both use only 5VDC. I first thought
it was because of PoE, but the ones with 5VDC also run fine on PoE. What is
the difference in power consumption then?
--
Zeeshan A Zakaria
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Oct 24
2
Synatx highlighting in Ruby
Hello people,
I was going thru Geshi http://qbnz.com/highlighter/ , I am wondering if
any one has a Ruby syntax highlighting library so that I can use it in
one of my projects.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2004 Dec 07
1
gsm codec, very poor quality.
Currently I am creating .wav files and then converting them via SOX to .au
file format, then running them through a gsm codec convertor which all works
fine except that it sounds like the recording was made with a sock in my
mouth !!
Could someone in * land help me to get a good sound quality with gsm format.
Thanks in advance.
-------------- next part --------------
An HTML attachment