This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>GeoGuessr</title> | |
<script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script> | |
<style type="text/css"> | |
html, | |
body { | |
height: 100%; | |
margin: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"net/http" | |
"github.com/gin-gonic/gin" | |
) | |
// album represents data about a record album. | |
type album struct { |
Run `go install` and
- `gogitlocalstats -add /path/to/folder` will scan that folder and its subdirectories for repositories to scan
- `gogitlocalstats -email [email protected]` will generate a CLI stats graph representing the last 6 months of activity for the passed email. You can configure the default in `main.go`, so you can run `gogitlocalstats` without parameters.
Being able to pass an email as param makes it possible to scan repos for collaborators activity as well.
Above statements are not working.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import kivy | |
kivy.require('2.3.0') | |
from kivy.app import App | |
from kivy.uix.vkeyboard import VKeyboard | |
class Key(VKeyboard): | |
player = VKeyboard() | |
class MyApp(App): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Variables | |
SRC_DIRS="/var/www /home/user/documents /etc" # Directories to backup | |
BACKUP_NAME="backup_$(date +'%Y-%m-%d_%H-%M-%S').tar.gz" # Backup filename | |
BACKUP_DIR="/tmp/backups" # Temporary location for backup storage | |
REMOTE_USER="your_username" | |
REMOTE_HOST="your_remote_server.com" | |
REMOTE_DIR="/path/to/remote/backup/dir" | |
LOG_FILE="/var/log/backup.log" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Intro: | |
def __init__(self): | |
self.username = 'garvit-exe' | |
self.name = 'Garvit Budhiraja' | |
self.role = 'Computer Science Student' | |
self.github = 'https://github.com/garvit-exe' | |
self.linkedin = 'https://linkedin.com/in/garvit-budhiraja' | |
self.code = { | |
'concepts': ['DSA', 'OOP', 'DBMS', 'ML', 'Computer Networking', 'Cloud Computing'], | |
'frontend': ['HTML', 'CSS', 'JavaScript', 'Bootstrap'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal enabledelayedexpansion | |
REM Change this path to the directory where your files are located | |
set target_path=C:\path\to\your\directory | |
cd /d "%target_path%" | |
for %%f in (*.*) do ( | |
set "filename=%%~nf" |