Skip to content

Instantly share code, notes, and snippets.

Venkata Reddy Bhavanam rubystar

Block or report user

Report or block rubystar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rubystar
rubystar / webio.sh
Last active Nov 16, 2017
error installing web driver io tests
View webio.sh
[venkat@localhost modular-social-insights]$ npm install
> fibers@2.0.0 install /home/venkat/workspace/modular-social-insights/node_modules/fibers
> node build.js || nodejs build.js
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory `/home/venkat/workspace/modular-social-insights/node_modules/fibers/build'
CXX(target) Release/obj.target/fibers/src/fibers.o
View redis_record.rb
require "redis"
$redis = Redis.new
class ReportExport
attr_reader :id
def initialize
@id = SecureRandom.uuid
end
@rubystar
rubystar / report prop structure
Created Jul 17, 2017
data as a report prop for rendering a report
View report prop structure
// prepare this inside the container component
report: {
id: 1,
allOtherKeys: "values", // keep all the required report(widget) data at first level
charts: [
{
id: 11,
settings: {
@rubystar
rubystar / state structure
Last active Jul 4, 2017
redux state structure
View state structure
//Widgets
{
byId: {
1: {
settings:{name: 'report 1', description: 'report 1 desc'},
child_widget_ids: [10, 11]
},
2: {
settings:{name: 'report 2', description: 'report 2 desc'},
child_widget_ids: [12, 13]
View Listen bug
Account Name: アビームコンサルティング株式会社
Bundle Name: 神奈川県
@rubystar
rubystar / error in installing libxml-ruby gem
Created May 25, 2012
migrating to ruby 1.9.3 from 1.8.7
View error in installing libxml-ruby gem
-sh-4.2$ bundle install
Fetching gem metadata from http://rubygems.org/.....
Fetching gem metadata from http://rubygems.org/..
Fetching git://github.com/ctran/annotate_models.git
remote: Counting objects: 890, done.
remote: Compressing objects: 100% (476/476), done.
remote: Total 890 (delta 414), reused 820 (delta 356)
Receiving objects: 100% (890/890), 189.25 KiB | 114 KiB/s, done.
Resolving deltas: 100% (414/414), done.
Fetching git://github.com/ryanb/nested_form.git
View RZ-3179 rebase
[venkatab@PNWSDES053 redzone]$ git rebase master
First, rewinding head to replay your work on top of it...
Applying: RZ-3810 -- As a System, I should use Zendesk for all issue tracking.
Using index info to reconstruct a base tree...
<stdin>:260: trailing whitespace.
@search = Sunspot.search Department, Agency, Advertiser, Publisher, Campaign, Site, Zone, User, SalesRep, Company, Market, DeliveryReportTemplate do |query|
<stdin>:343: trailing whitespace.
:geo_target, :geo_target_group, :geo_target_group_geo_target, :global_config, :search_keyword,
<stdin>:1009: trailing whitespace.
View UI rebase on 18th June
[venkatab@PNWSDES053 redzone]$ git rebase master
First, rewinding head to replay your work on top of it...
Applying: RZ-3203 - As a developer, I want to migrate the remaining ERB views to HAML
Using index info to reconstruct a base tree...
<stdin>:679: trailing whitespace.
<stdin>:2746: trailing whitespace.
warning: 2 lines add whitespace errors.
Falling back to patching base and 3-way merge...
@rubystar
rubystar / solr schema.xml
Created Jun 7, 2013
partilal solr search
View solr schema.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
View creating trigger in salesforce
1) Create an Apex Class
Steps: Click Your Name | Setup | Develop | Apex Classes and click New.
Paste the following code there.
global class asyncApex {
@future (callout=true)
public static void processAccount(Id accountId) {
You can’t perform that action at this time.