Skip to content

Instantly share code, notes, and snippets.

View 24Naman's full-sized avatar
🏠
Working from home

Naman Jain 24Naman

🏠
Working from home
View GitHub Profile
@24Naman
24Naman / setup-pop.sh
Last active May 12, 2022 15:13
Pop! OS Post Installation script - NVIDIA GeForce 720M
#!/usr/bin/bash
# Check if running as sudo
if [[ $(id -u) -ne 0 ]]; then
echo "Please run as sudo"
exit 1
fi
echo "Setting up Pop Experience"
@24Naman
24Naman / class_example.cpp
Created November 21, 2021 14:53
Object Oriented Programming
#include <iostream>
#include <string>
#include <cmath>
using namespace std;
/**
* Abstract Class
*/
class Parampara {
#!/usr/bin/python
"""
Comparasion and similarity scoring of Data files
https://doc.qt.io/qt-5/qtwidgets-index.html
https://doc.qt.io/qt-5/qtwidgets-module.html
"""
@24Naman
24Naman / Calculator.java
Last active January 13, 2022 13:05
Calculator in Java
package Java;
import java.awt.*;
import java.awt.event.*;
public class Calculator extends Frame implements ActionListener
{
/**
*
*/
@24Naman
24Naman / call_after.py
Last active January 13, 2022 13:06
Programming
#!/usr/bin/python3
"""
Python: Created by Naman Jain on 22-01-2018
File: call_after.py
This script for calling a function after calling it for specified numbers of time
"""
import typing