hi Guys
How can one do this?
I would like to save the master pages template in the database and then based on a query string pull the correct template.
Is this possible?
I'm a rails novice and just finished my first rails app(as far as I can tell). Now I'm at the deployment stage and find myself utterly confused--especially because I'm deploying from a windows machine.
I bought the pragmatic book on deployment and it seems a little out of date since they're recommending subversion instead of Git.
What would be…
For example:
source control: git + adobe drive
3d: google sketchup - *.dae - blender - *.obj
2d: photoshop/illustrator - *.png
audio: audacity - *.caf
code: ArgoUML, Xcode, Textmate
test: OCUnit
build: rake, Xcode
Feel free to mention any other tools that you think are awesome :)
Changed to Community Wiki
I'm finally learning regexps and training with ack. I believe this uses Perl regexp.
I want to match all lines where the first non-blank characters are if (<word> !, with any number of spaces in between the elements.
This is what I came up with:
^[ \t]*if *\(\w+ *!
It only nearly worked. ^[ \t]* is wrong, since it matches one or none…
I would like to have a mercurial repository on my website so that I can push/pull as I make updates to it, but I do not have SSH access, only HTTP or FTP.
Can this be done?
I suspect no, since I would not be able to run hg on the server, so I would only be able to clone it.
Hey Everyone,
I am trying to install web.go using goinstall github.com/hoisie/web.go, and I keep getting an error about the path.
goinstall: github.com/hoisie/web.go: git: no such file or directory
goinstall is working for sure because when I type in just goinstall I get the options list for it. Any ideas on what I am doing wrong?
…
Hello all,
Just trying out Postgresql for the first time, coming from MySQL. In our Rails application we have a couple of locations with SQL like so:
SELECT * FROM `currency_codes` ORDER BY FIELD(code, 'GBP', 'EUR', 'BBD', 'AUD', 'CAD', 'USD') DESC, name ASC
It didn't take long to discover that this is not supported/allowed in…
Hello,
I am using vim with fugitive extension http://www.vim.org/scripts/script.php?script_id=2975
It has :Gdiff command which brings you into vimdiff mode, but what is the right/quick way to close/quit vimdiff mode?
i.e. let's say I am editing file FooBar.txt under git repository, then firing up :Gdiff, review my changes in…
Hi I installed VS2010 yesterday - (both VS2005 and VS2010 installed).
But I can't find the "FixedSys" style font from the Fonts and Colors - Font (pull down list).
Otherwise,I can use the style font in my VS2005.
Any suggestion? Thank you.
Pretty much what the title says :)
At the moment I'm using Python to turn the json data into a plain-text tab-separated file, and then mysqlimport to pull that into my MySQL tables. Anyone know a nicer / more direct way?
I'd like to be able to use ruby's OptionParser to parse sub-commands of the form
COMMAND [GLOBAL FLAGS] [SUB-COMMAND [SUB-COMMAND FLAGS]]
like:
git branch -a
gem list foo
I know I could switch to a different option parser library (like Trollop), but I'm interested in learning how to do this from within OptionParser,…
I have a custom TableView cell that contains a TextField and I want it to become the first responder as soon as the view is shown but [textcell.textfield becomeFirstResponder] does not work. I know it's because it's a custom cell in another class and I even tried it there and it didn't work. Anyone know how to pull this…
I have two data tables set up in a Master-Details configuration with a relation "Ticket_CallSegments" between them. I also have two Binding Sources and a Data Grid View configured like this
(Init Code)
//
// dgvTickets
//
this.dgvTickets.AllowUserToAddRows = false;
this.dgvTickets.AllowUserToDeleteRows = false;…
i cant seem to get my avd built and i dont understand why i got all the tools i even have GIT but when i try to do the command avd devices it will say no such command can any on help me please and thank you
I am using VBA to pull from a SQL table and it automatically populates cell E14. Not sure why it's that cell, but is there a way to specify which cell it pulls the data into?
Here's what I have right now:
strSQL = "SELECT distinct Source FROM dbo.Simulations WHERE SimulationID = 5
I am developing a chat website using jsp/servlet.I will be hosting my website on gooogle appengine .Now i have some doubts regarding whether to use server push or client pull technology
1)If i use server push and if i dont close the response of servlet will it cause the server to go slow?How many simultanious…
Is it possible to have a project hosted on Github and google code?
I've been using Google Code for years, and recently started playing with GitHub. I like GitHub a lot, but there's also a long list of Google Code features I really miss.
Is it possible/feasible to host a single project on both? Can I use…
I have a js proxy class:
function ProxyClass() {
this.Properties = null;
this.Insert = function () {
try {
var service = new Sys.Data.AdoNetServiceProxy("/WcfDataService1.svc");
service.insert(this, "TheTable");
} catch (ex) {
alert("error: " +…
Hey, I'm trying to draw a constant color to the framebuffer and blend it using the alpha channel from an RGBA texture. I've been looking at glBlendFunc and glBlendColor, but can't seem to figure out a way to ignore the RGB values from the texture. I'm thinking I'll have to pull out the alpha values myself…
Sorry for the potentially dumb question but I am trying to pull together a regular expression that will allow:
A number with 1 or 2 numbers before a decimal point, and 0-6 numbers after the decimal point. However I also need to allow the field to be blank if so required.
Valid Examples
0.952321
1.20394…
So I followed the railscast tutorial (http://railscasts.com/episodes/170-openid-with-authlogic) and used the old version of the plugin from Ryan's git file. I can now successfuly create/register a user using OpenID (Google), but I cannot log in with this user. When I submit the OpenID that has been…
I have seen blog entries like ASP.Net MVC Portable Areas - Part 2 that indicate that the build action for views must be set to Embedded Resource.
What about other content such as images and CSS? Should they be set to Embedded Resource as well? Will the PortableArea ViewEngine pull that content out…
Hi,
I'm a bit confused on the functionality of the REGEX support for MySQL and I have yet to find a solid example on how to separate a result with REGEX within an sql statement.
Example:
How could I pull data from a table emails that looks something like...
+-------------------------+
|Emails …
Hi,
For each course I am storing the day of the week the class the user has...and the start and end time and room no.
What would be the best approach in terms of data type, Like for storing time?? so that when I pull it out I can display it e.g 1:00 PM.
Thanks!
I am new to CakePHP and want an admin panel on my custom CMS for a client. Is there any way other than just linking to an admin page to each controller that I can pull views from other controllers such as users and posts?