Skip to content

Instantly share code, notes, and snippets.

View RajeshReddyM's full-sized avatar

Rajesh Reddy RajeshReddyM

View GitHub Profile
https://www.linkedin.com/pulse/why-eight-hour-workday-doesnt-work-dr-travis-bradberry/
@RajeshReddyM
RajeshReddyM / Postman.desktop
Created December 1, 2017 14:45 — forked from aviskase/Postman.desktop
Install Postman
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
@RajeshReddyM
RajeshReddyM / index.js
Created July 20, 2017 23:41 — forked from casperin/index.js
Karma, PhantomJs, Jasmine setup using npm
/**
* I couldn't find a super simple example of how to run Karma, PhantomJs, with
* Jasmine tests via npm, so eventually I decided to create my own. Maybe
* someone will find it useful.
*
*
* Installation (using npm):
*
* npm install -g karma-cli
* npm install -g karma --save-dev
@RajeshReddyM
RajeshReddyM / Respect Rollcall.html
Created January 11, 2017 01:31 — forked from feross/Respect Rollcall.html
A list of bloggers who I like, pasted from my old blog.
<!-- Respect Rollcall -->
<li><a href="http://www.alistapart.com/articles/">A List Apart &#8212; for website builders</a></li>
<li><a href="http://abstrusegoose.com/">Abstruse Goose &#8212; my favorite comic</a></li>
<li><a href="http://al3x.net/">Alex Payne &#8212; technology rambling</a></li>
<li><a href="http://dashes.com/anil/">Anil Dash &#8212; on culture, apple &amp; design</a></li>
<li><a href="http://weblogs.mozillazine.org/asa/">Asa Dotzler &#8212; on mozilla &amp; software</a></li>
<li><a href="http://www.azarask.in/blog/">Aza Raskin &#8211; on design &amp; firefox</a></li>
<li><a href="http://christophzillgens.com/en/">Christoph Zillgens &#8212; interface design</a></li>
<li><a href="http://cssremix.com/">CSS Remix &#8212; gorgeous designs</a></li>
<li><a href="http://css-tricks.com/">CSS Tricks</a></li>
@RajeshReddyM
RajeshReddyM / gulpfile.js
Created May 12, 2016 15:10 — forked from edouard-lopez/gulpfile.js
Gulp copy font-awesome files to dist/ directory
'use strict';
// Generated on 2014-04-14 using generator-leaflet 0.0.14
var gulp = require('gulp');
var open = require('open');
var wiredep = require('wiredep').stream;
// Load plugins
var $ = require('gulp-load-plugins')();
@RajeshReddyM
RajeshReddyM / 1) InstallSublime.sh
Created May 3, 2016 13:26 — forked from seanhandley/1) InstallSublime.sh
How to install Sublime Text 3 on CentOS
wget http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x32.tar.bz2
tar vxjf sublime_text_3_build_3059_x32.tar.bz2
sudo mv sublime_text_3/ /opt/
sudo ln -s /opt/sublime_text_3/sublime_text /usr/bin/sublime
jason.mailey@ubteam.com
@RajeshReddyM
RajeshReddyM / code_review.rb
Created December 19, 2015 01:51
Code Review Ruby
class ShopifyAPIClient
attr_reader :shop_id
SECRET_API_KEY = ENV[SECRET_API_KEY]
def initialize(shop_Id)
@shop_id = shop_Id
end
def shop_id
@shop_id
@RajeshReddyM
RajeshReddyM / code_review.js
Created December 19, 2015 01:38
Review JavaScript Code
function receipt(order) {
var p;
switch (order.payment_type) {
case "creditcard":
p = "Payment info: " + order.payment.getCardType + " " + order.payment.card_number; //card type(VISA/MasterCard etc.) and number)
break;
case "paypal":
p = "Payment info: " + order.payment.paypal_info;
break;
case "manual":
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews