View index.html
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.3.0/knockout-min.js"></script> | |
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 |
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: { |
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: 神奈川県 |
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... |
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) { |
NewerOlder