This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"sublimelinter_executable_map": { | |
"ruby": "/home/pratik/.rvm/rubies/ruby-2.0.0-p247/bin/ruby", | |
"php" : "/usr/bin/php", | |
"javascript":"/usr/local/bin/node", | |
"css":"/usr/local/bin/node" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://pingv.com/blog/an-introduction-drupal-7-restful-services - Creating own resource | |
https://drupal.org/node/783722 - Testing Resources | |
https://drupal.org/node/910598 - Making authenticated requests to REST Server | |
https://drupal.org/node/1514312 - create a new user using Services 3 And REST | |
insight-server.local/test/node?parameters[type]=article |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function import_dashboard_menu() { | |
$items['admin/content/import_dashboard'] = array( | |
'title' => 'Import Dashboard', | |
'page callback' => 'drupal_get_form', | |
'page arguments' => array('import_dashboard_page'), | |
'access arguments' => array('access content'), | |
'type' => MENU_LOCAL_TASK | |
); | |
return $items; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function import_dashboard_menu() { | |
$items['admin/content/import_dashboard'] = array( | |
'title' => 'Import Dashboard', | |
'page callback' => 'drupal_get_form', | |
'page arguments' => array('import_dashboard_new_content'), | |
'access arguments' => array('access content'), | |
'type' => MENU_LOCAL_TASK | MENU_NORMAL_ITEM, | |
'expanded' => TRUE | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.fantasyfootballscout.co.uk/2013/09/07/the-big-numbers-gameweeks-1-3-defenders/?hc_page=6#hc_comment_5498684 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
is:unread in:inbox -category:{social promotions forums} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"caret_style": "wide", | |
"default_line_ending": "unix", | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"fade_fold_buttons": false, | |
"fallback_encoding": "UTF-8", | |
"find_selected_text": true, | |
"font_options": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set backspace=indent,eol,start | |
syntax on | |
set mouse=a | |
set showmatch | |
set autoindent | |
set foldmethod=manual | |
imap <silent> <Down> <C-o>gj | |
imap <silent> <Up> <C-o>gk | |
nmap <silent> <Down> gj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines or lines starting with space in the history. | |
# See bash(1) for more options | |
HISTCONTROL=ignoreboth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Integrating CCAvenue with Ruby on Rails site | |
Jul 30 · 2013 | |
At www.dealbuddie.com, we recently had the need to integrate CCAvenue payment gateway to expand our delivery network across India. While CCAvenue provides sample files for php, jsp and C#, it had nothing to offer for rails. Since DealBuddie.com is developed using RoR, I had to build the required solution myself. | |
Following are quick steps for anybody who wants to do the same - | |
1) Create the functions required to create and verify your checksum, and add it to application_helper.rb | |
def verifyChecksum( merchantID, orderID, amount, authDesc, workingKey, checksum) |
OlderNewer