Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

MD. Rizwan Raza rizwan92

🎯
Focusing
Block or report user

Report or block rizwan92

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
@rizwan92
rizwan92 / config.js
Created Nov 28, 2019
mStore Configuration File
View config.js
/** @format */
import Images from "./Images";
import Constants from "./Constants";
import Icons from "./Icons";
export default {
/**
* Step 1: change to your website URL and the wooCommerce API consumeKey
* Moved to AppConfig.json
View mysql.log
//Database has been sucessfully imported on 17th of November. There are no error logs.
//Database import was unsuccessful on 16th of November. Error logs are provided below.
//Logs before 16th of November is also provided for scrutiny.
17 November, 2019
[root@localhost mariadb]# cat mariadb.log-20191117
2019-11-16 4:15:19 214 [Warning] Aborted connection 214 to db: 'unconnected' user: 'root' host: 'localhost' (Got timeout reading communication packets)
2019-11-16 4:15:40 204 [Warning] Aborted connection 204 to db: 'ac042' user: 'root' host: 'localhost' (Got timeout reading communication packets)
2019-11-16 21:17:05 375 [Warning] Access denied for user 'root'@'localhost' (using password: NO)
2019-11-16 21:19:13 377 [Warning] Access denied for user 'ican'@'localhost' (using password: YES)
@rizwan92
rizwan92 / grphqlQueryandMutation.js
Last active Nov 7, 2019
grphqlQueryandMutation
View grphqlQueryandMutation.js
User
query getUsers($page:Int,$limit:Int,$filter:Filter,$search:String){
users(page:$page,limit:$limit,filter:$filter,search:$search){
data{
_id
email
@rizwan92
rizwan92 / Live.js
Created Aug 21, 2019
React-Native-Agoria-Live.js
View Live.js
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component, PureComponent } from 'react';
import {
StyleSheet,
Text,
@rizwan92
rizwan92 / App.js
Created Aug 21, 2019
React-native-agora-App
View App.js
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
Platform,
StyleSheet,
@rizwan92
rizwan92 / App.js
Last active Aug 21, 2019
React-native-openVdu-web-RTC
View App.js
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow
*/
import React, { Component } from "react";
import {
View locusdata.json
15
[[45,["noop"]]]122
[[46,[{
"targetChange": {
"resumeToken": "CgkIr56e1t2B5AI=",
"readTime": "2019-08-14T06:27:43.039279Z"
}
}
]]]5800
[[47,[{
View instatiate-chain-code.js
const Client = require('fabric-client');
const myClient = require('./index.js');
var await = require('await')
const fs = require('fs');
const path = require('path');
const org1 = 'org1';
const org2 = 'org2';
const org3 = 'org3';
@rizwan92
rizwan92 / hyperledger-channel-problem.js
Last active Jan 9, 2019
hyperledger-channel-problem
View hyperledger-channel-problem.js
const fs = require('fs');
const path = require('path');
const Client = require('fabric-client');
var await = require('await')
const CHANNEL_1_PATH = './ksachdeva-exp-channel-1.tx';
const KEY_STORE_PATH_ADMIN = './keystore/admin';
const ORDERER_URL = 'grpcs://35.244.39.147:7050';
const ORDERER_TLS_CAROOT_PATH = './crypto-config/ordererOrganizations/ksachdeva-exp.com/orderers/orderer.ksachdeva-exp.com/tls/ca.crt';
View peerlogs
/opt/go/src/runtime/asm_amd64.s:2361
2018-11-10 06:57:56.466 UTC [endorser] callChaincode -> INFO 050 [mychannel][c740ecda] Entry chaincode: name:"fabcar"
2018-11-10 06:57:56.470 UTC [endorser] callChaincode -> INFO 051 [mychannel][c740ecda] Exit chaincode: name:"fabcar" (4ms)
2018-11-10 06:57:58.581 UTC [gossip/privdata] StoreBlock -> INFO 052 [mychannel] Received block [4] from buffer
2018-11-10 06:57:58.592 UTC [committer/txvalidator] Validate -> INFO 053 [mychannel] Validated block [4] in 11ms
2018-11-10 06:57:58.811 UTC [kvledger] CommitWithPvtData -> INFO 054 [mychannel] Committed block [4] with 1 transaction(s) in 217ms (state_validation=20ms block_commit=152ms state_commit=17ms)
2018-11-10 06:58:33.040 UTC [endorser] callChaincode -> INFO 055 [mychannel][2e3d784d] Entry chaincode: name:"fabcar"
2018-11-10 06:58:33.053 UTC [endorser] callChaincode -> INFO 056 [mychannel][2e3d784d] Exit chaincode: name:"fabcar" (14ms)
2018-11-10 06:58:33.054 UTC [endorser] SimulateProposal -> ERRO 057 [mychannel][2
You can’t perform that action at this time.