Skip to content

Instantly share code, notes, and snippets.

View chokkarg's full-sized avatar

Chokkar G chokkarg

  • MSys Technologies
  • India
View GitHub Profile
@chokkarg
chokkarg / Water drink app - Privacy Policy
Last active May 5, 2025 17:33
Water drink app - Privacy Policy
At kvginnovate, we prioritize your privacy. This Privacy Policy explains that our app, kvginnovate, provided as a free service by kvginnovate, does not collect or store any personal information.
By using our Service, you agree to this Privacy Policy. Terms used here have the same meanings as in our Terms and Conditions, accessible on our website, unless otherwise defined.
Information Collection
We do not collect or store any personal information, such as your name, email address, location, or other details. Our app is designed to function without gathering any data from you.
Cookies
Our Service does not use cookies or similar technologies, either directly or through thirdparty services. No data is collected or stored via cookies.
ThirdParty Services
@chokkarg
chokkarg / Building docker file with war file
Last active September 9, 2023 04:12
Springboot war file run
To create a Dockerfile for a Spring Boot application packaged as a WAR file and then run it, you can follow these steps:
1. **Create a Dockerfile**: Create a file named `Dockerfile` in your Spring Boot project directory with the following content:
```Dockerfile
# Use the official OpenJDK base image
FROM openjdk:11-jre-slim
# Set the working directory inside the container
WORKDIR /app
To use data captured from your Android mobile app and sent to Firebase in the graph view in Firebase Analytics, you can follow these steps:
In the Firebase console, open your project.
Select Analytics from the menu to view the Analytics reporting dashboard.
Click on the "Events" tab to see a list of all the events that have been logged by your app.
Click on the "+" button to create a new event.
In the event creation dialog, give your event a name and select the "Screen View" event type.
Click on the "Save" button.
Once your event has been created, you can start logging screen views by calling the logEvent() method with the name of your event.
@chokkarg
chokkarg / product_region_merge.sql
Last active May 10, 2022 20:26
Product and region Merge
CREATE TABLE `retail`.`product` (
`productcode` INT NOT NULL,
`productname` VARCHAR(45) NULL,
PRIMARY KEY (`productcode`));
CREATE TABLE `retail`.`region` (
`regioncode` INT NOT NULL,
`productcode_fk` INT NULL,
`regionname` VARCHAR(45) NULL,
PRIMARY KEY (`regioncode`),
@chokkarg
chokkarg / gist:369ab7806056d5a245e5c5f55856b523
Created August 12, 2018 20:05
Angular Crash Course Notes
Frontend framework:
Uses type script ->superset of javascript
Type scrip:
Object orirented
Created by google
Can use Node.js , .NET , PHP
Mean stack
2 versions -> Angularjs or Angular 1 and Angular
All about components
@chokkarg
chokkarg / mongodb-query-parameters
Last active August 11, 2018 10:27
Basic query with document insertion
db.car.insert({
name: 'honda',
make: 'accord',
year: '2010'
})
db.car.update({
name: 'honda'
},
{ $set: {