Fresh Installs of RVM and Ruby 2.1.1 - dyld library/pathing error

Fresh Installs of RVM and Ruby 2.1.1 - dyld library/pathing error

I have been trying to install RVM and Ruby 2.1.1 onto my new Mac (OS 10.9.2), and everything seems to be going well until I try to install any version of Ruby.My input$ rvm reinstall 2.1So far so good...ruby-2.1.1 - #removing rubies/ruby-2.

Removing 'Sites' from Django admin page

Removing 'Sites' from Django admin page

The Django admin page has 'Sites' as a default object.This is confusing to users, as my application also has a 'Site' model accessible through the admin page.How can I remove the default object from the page? 1:use unregister:from django

Run CSS3 animation only once (at page loading)

Run CSS3 animation only once (at page loading)

I'm making a simple landing page driven by CSS3. To make it look awesome there's an plopping up:@keyframes splash { from { opacity: 0; transform: scale(0, 0); } 50% { opacity: 1; transform: scale(1.1, 1

Extraneous Package when Installed Locally

Extraneous Package when Installed Locally

I was trying to install phantomjs in order to make test Twitter Bootstrap. After I had installed it locally i.e. npm install phantomjs, it reported that the package was extraneous.├─┬ [email protected] extraneous│ ├── [email protected] ER

ASP.Net MVC background threads for email creation and sending

ASP.Net MVC background threads for email creation and sending

I'm looking at postmarkapp.com to handle the sending of email from my asp.net mvc 2 application using the .net library that they provide: postmark-dotnet libraryIn their documentation they mention that sending emails w/ attachments can take

ASP.NET MVC, Linq to SQL Data Annotation Validation

ASP.NET MVC, Linq to SQL Data Annotation Validation

I'm trying implement Data Annotation to my Linq to SQL objects. The .dbml file is generated and I'm not sure how to add data annotation to the objects without touching the generated source code.I tried to add data annotations to the a separ

How to maintain multiple bitbucket accounts with multiple ssh keys in the same system

How to maintain multiple bitbucket accounts with multiple ssh keys in the same system

I have multiple Git accounts one is my personal use and one is of company use. Both accounts source need to be activated from my laptop.Here I generated two ssh keys like id_rsa.pub,id_benwork_rsa.pub and I configured the config of git as H

Bootstrap Modal before form Submit

Bootstrap Modal before form Submit

I'm new to Modals, I have a Form and when the user clicks submit, It will show a Modal confirming if the user wants to submit, the modal also contains the user input from the form fields. I searched all over the internet but can't find the

Install and configure mod_rewrite for Apache 2 on Mac OS X for Zend Framework 2

Install and configure mod_rewrite for Apache 2 on Mac OS X for Zend Framework 2

I getting started with zend framework 2 and they have a prerequisite of an installation and configuration of mod_rewrite for apache. Apache 2.2.22 came pre-installed on Mac OS X 10.8.2. Is there an easy way to install and configure mod_re

Cocoapods can't find header xcode 6

Cocoapods can't find header xcode 6

I have a problem xcode can't find the headers of my pods in my wokspace.The headers search path for the target seems okHere is the content of my podfiletarget "MyApp" dopod 'AFNetworking', '~> 2.0'pod 'Reachability'pod 'ViewDeck', '2.2.11'p

Azure Storage Emulator error and does not start

Azure Storage Emulator error and does not start

This error is really driving me crazy. (Terminal running in administrator mode)Initialization of azure storage emulator in sql server 2014:C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator>.\wastorageemulator init -server

save jquery ui-sortable positions to DB

save jquery ui-sortable positions to DB

Im trying to replicate the functionality of this page (http://www.kissfm.ro/fresh-top-40/) for a friend who has a small web radio. The site is setup in wordpress fyi.So my question is, after searching stackoverflow, how do i save/get the re

WCF: The request for security token could not be satisfied because authentication failed

WCF: The request for security token could not be satisfied because authentication failed

I have written a very simple WCF Service that sends and receives messages. I have tested the app through the VS 2008 default web server host and everything works fine. But when I deploy the WCF service to another computer's IIS I receive th

bonitasoft bpm vs jBPM vs Activiti

bonitasoft bpm vs jBPM vs Activiti

I am evaluating BPM offerings to be used within our application. I wanted to find outthe differences between Bonitasoft / jBPM and ActivitiSome of these products provide forms generation capabilities - are they any good? Would you use it in

Genymotion Device doesn't appear on Device Chooser - Android Studio

Genymotion Device doesn't appear on Device Chooser - Android Studio

I installed Genymotion with a virtual Box and the Genymotion plugin (Android Studio), created a new device and runs properly, even from Android Studio. However when I hit the Run button, the Genymotion device does not appear on the Device C

Default database named postgres on Postgresql server

Default database named postgres on Postgresql server

Apparently there is a database "postgres" that is created by default on each postgresql server installation. Can anyone tell me or point me to documentation what it is used for? 1:It appears that it does not really have a well-defined pu

How to implement a good debug/logging feature in a project

How to implement a good debug/logging feature in a project

I am making a smallish project, total of about 3-4 people. I want to have a solid way of debugging the application, by logs for example. Are there any good resources on how to structure it and such? I've heard a lot from project managers th

Rails: NoMethodError (Undefined method _url for _controller. I can't seem to respond_with json

Rails: NoMethodError (Undefined method _url for _controller. I can't seem to respond_with json

List itemMy config/routes.rb file...Rails.application.routes.draw do namespace :api, defaults: {format: 'json'} do namespace :v1 do resources :hotels do resources :rooms end end endMy app/controllers/api/v1/hotels_c

Is Apple Push notification using APNS free of cost?

Is Apple Push notification using APNS free of cost?

We are planning to develop the push notification service for a telecom operator. But I haven't got any information whether the APNS push service is free of cost or should we make any payment?My questions are,Should I pay for using the APNS

Android: adb pull file on desktop

Android: adb pull file on desktop

Trying to copy file from device to desktop, here is a command:adb pull sdcard/log.txt Users/admin/DesktopBut this command creates a folder Users/admin/Desktop inside platform-tools folder where adb is located. How to pull file to my desktop

Change rails version used by rvm

Change rails version used by rvm

Here are my local gems :$ gem list*** LOCAL GEMS ***actionmailer (4.0.0, 3.2.14)actionpack (4.0.0, 3.2.14)activemodel (4.0.0, 3.2.14)activerecord (4.0.0, 3.2.14)activerecord-deprecated_finders (1.0.3)activeresource (3.2.14)activesupport (4.

angular js model relationships

angular js model relationships

I've been trying out Angular JS for the past couple of days and one thing I can't figure out is how to work with relationships between models.The project I'm working on has a Users model and an Accounts model. I have it set up on my databas

How to do timezones in ASP.NET MVC?

How to do timezones in ASP.NET MVC?

On my site, I need to know what timezones people are located in, in order to display messages to them at the right times. I am not too sure what to be searching for in terms of a tutorial on how to do this.What I am planning on doing is: w

Django: Rest Framework authenticate header

Django: Rest Framework authenticate header

Using Django REST API, I'm trying to authenticate my request.This is what I'm trying to send:Content-Type: application/json, Authentication: token="6d82549b48a8b079f618ee9c51a6dfb59c7e2196"This is what I get back:{"detail": "Authentication

When does System.getProperty(“java.io.tmpdir”) return “c:\\temp”

When does System.getProperty(“java.io.tmpdir”) return “c:\\temp”

Just curious as to when System.getProperty("java.io.tmpdir") returns "c:\temp". According to the java.io.File Java Docs- The default temporary-file directory is specified by the system property java.io.tmpdir. On UNIX systems the default