Skip to content

Instantly share code, notes, and snippets.

View rizwan92's full-sized avatar
💭
looking for job

Rizwan Chouhan rizwan92

💭
looking for job
View GitHub Profile
@rizwan92
rizwan92 / Live.js
Created August 21, 2019 16:16
React-Native-Agoria-Live.js
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component, PureComponent } from 'react';
import {
StyleSheet,
Text,
@rizwan92
rizwan92 / grphqlQueryandMutation.js
Last active November 7, 2019 11:13
grphqlQueryandMutation
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 / mysql.log
Created November 21, 2019 05:23
mysql logs
//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 / config.js
Created November 28, 2019 04:33
mStore Configuration File
/** @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
@rizwan92
rizwan92 / billSchemaexample.js
Created March 23, 2021 07:22
billSchemaexample
export const BillsSchema = {
title: "bills schema",
description: "bills schema",
version: 0,
type: "object",
properties: {
_id: {
type: "string",
primary: true,
},
@rizwan92
rizwan92 / pouchdb-multiplekeys-grouping.js
Last active December 22, 2021 11:31
couch db top sold products by date and store id, grouping and filtering by multiple keys
// bills structures is like this
{
"_id": "0ee025fb-d708-4534-9c9c-49eccb6a839a",
"_rev": "1-c13e2f28002da867e5f878c4dfa4b9a8",
"outletId": "ff668706ce399d7cf1cacd453702673d",
"products": [
{
"_id": "f589b440-6189-41eb-a690-cd8d93bf764b",
"name": "prod1",
error: linking with `C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin\gcc.exe` failed: exit code: 1
|
= note: "C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw64\\bin\\gcc.exe" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "C:\\Users\\irfan\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\Users\\irfan\\AppData\\Local\\Temp\\rustc3YlOkW\\symbols.o" "C:\\Users\\irfan\\Desktop\\Mustafa\\chikupos-software\\src-tauri\\target\\debug\\deps\\app-1064163ebec8f46a.100k3ddx2tfii9o2.rcgu.o" "C:\\Users\\irfan\\Desktop\\Mustafa\\chikupos-software\\src-tauri\\target\\debug\\deps\\app-1064163ebec8f46a.10sy9lg0d0ez0zba.rcgu.o" "C:\\Users\\irfan\\Desktop\\Mustafa\\chikupos-software\\src-tauri\\target\\debug\\deps\\app-1064163ebec8f46a.10z1cgq3hft7eyxs.rcgu.o" "C:\\Users\\irfan\\Desktop\\Mustafa\\chikupos-software\\src-tauri\\target\\debug\\deps\\app-1064163ebec8f46a.11b890bz0
{
"name": "chikupos",
"version": "0.1.6",
"main": "public/electron.js",
"private": true,
"description": "CRA of SJ Outlet Panel with Electron JS.",
"author": "Chikupos <info@chikupos.com>",
"dependencies": {
"@reduxjs/toolkit": "^1.6.1",
"antd": "^4.23.1",
✔ Checking your system
- Resolving Forge Config
✔ Resolving Forge Config
We need to package your application before we can make it
- Preparing to Package Application for arch: x64
✔ Preparing to Package Application for arch: x64
- Preparing native dependencies
✔ Preparing native dependencies
- Packaging Application
✔ Packaging Application
@rizwan92
rizwan92 / aap-wa.log
Created November 30, 2022 04:31
aap-wa
tart /home/ubuntu/Desktop/rizwan/aap-whatsapp/contacts/test.txt
numbersToSend 4
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ ┃
┃ @open-wa/wa-automate ┃
┃ 💬 🤖 The most reliable NodeJS whatsapp library for chatbots with advanced features. ┃
┃ Version: 4.51.1 ┃
┃ Check out the latest changes: https://github.com/open-wa/wa-automate-nodejs#latest-changes ┃
┃ ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛