Skip to content

Instantly share code, notes, and snippets.

View prateekmedia's full-sized avatar

Prateek Sunal prateekmedia

View GitHub Profile
@ahmedibrahim404
ahmedibrahim404 / gsoc-2022.md
Last active February 9, 2023 16:30
GSoC 2022 - Rocket.Chat - Slim Desktop Application - Work Product
@thingsiplay
thingsiplay / proton
Last active December 10, 2024 18:05
Proton script
#!/bin/sh
# Execute Windows programs with Proton from Steams installation folder, without
# starting Steam client.
#
# 1. Create a directory for Proton environment to run in. As an example make a
# folder "proton" in your home directory. This folder must exist in order
# to make Proton work.
#
# 2. Point the variable "env_dir" in this script to that folder or...
@chriseugenerodriguez
chriseugenerodriguez / country-bounds.ts
Last active October 5, 2024 19:36
Google Map Country Bounds Javascript
import { Injectable } from '@angular/core';
@Injectable()
export class POIService {
// LEFT, BOTTOM, RIGHT, TOP
private country_bounding_boxes = [
{'AF': {'Afghanistan': [60.5284298033, 29.318572496, 75.1580277851, 38.4862816432]}},
{'AO': {'Angola': [11.6400960629, -17.9306364885, 24.0799052263, -4.43802336998]}},
{'AL': {'Albania': [19.3044861183, 39.624997667, 21.0200403175, 42.6882473822]}},
{'AE': {'United Arab Emirates': [51.5795186705, 22.4969475367, 56.3968473651, 26.055464179]}},
@kasperpeulen
kasperpeulen / README.md
Last active March 14, 2025 13:39
How to pretty-print JSON using Dart.
@Earnestly
Earnestly / makepkg_overview.rst
Last active May 6, 2025 15:50
A brief overview of the process involved in creating a pacman package.

A Brief Tour of the Makepkg Process: What Makes a Pacman Package

Introduction

This is a terse document covering the anatomy of a package built for the pacman package manager.

The following example commands can mostly run verbatim to manually create a