Skip to content

Instantly share code, notes, and snippets.

View deepakgarg08's full-sized avatar

Deepak Garg deepakgarg08

  • 19:22 (UTC +01:00)
View GitHub Profile
@Nightdavisao
Nightdavisao / stickerly-stickers-downloader.py
Last active January 19, 2022 10:53
python script to download your desired sticker pack (note that you need to have installed "requests" and "slugify" dependencies)
# encoding: utf-8
from requests import get
from slugify import slugify
import os, sys
def main(stickerid):
print("sticker.ly sticker pack downloader")
print("Sticker ID:", stickerid)
headers = {
"User-Agent": "androidapp.stickerly/1.13.3 (G011A; U; Android 22; pt-BR; br;)",
@stevekinney
stevekinney / web-performance.md
Last active October 18, 2025 12:22
Web Performance Workshop

Web Performance

Requirements

Repositories

@addyosmani
addyosmani / preprocessing.md
Last active January 31, 2025 18:33
JavaScript preprocessing/precompilation

Problem: How can we preprocess JavaScript (at build-time or on the server-side) so engines like V8 don't have to spend as much time in Parse? This is a topic that involves generating either bytecode or a bytecode-like-abstraction that an engine would need to accept. For folks that don't know, modern web apps typically spend a lot longer in Parsing & Compiling JS than you may think.

  • Yoav: This can particularly be an issue on mobile. Same files getting parsed all the time for users. Theoretically if we moved the parsing work to the server-side, we would have to worry about it less.
  • One angle to this problem is we all ship too much JavaScript. That's one perspective. We could also look at preprocessing.
  • We've been talking about this topic over the last few weeks a bit with V8. There were three main options proposed.
    1. Similar to what optimize-js does. Identify IIFEs and mark them as such so the browser and VMs heuristics will catch them and do a better job than today. optimize-js only tackles IIFE bu
@leonardofed
leonardofed / README.md
Last active November 4, 2025 05:49
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@yuki-takei
yuki-takei / keybindings.json
Last active August 22, 2021 06:23 — forked from bpedman/keybindings.json
Visual Studio Code - Eclipse Keybindings (Win, Linux)
[
{
"key": "ctrl+d",
"command": "editor.action.cutLines",
"when": "editorTextFocus"
},
{
"key": "ctrl+o",
"command": "workbench.action.gotoSymbol"
},
@bramus
bramus / paginationsequence.php
Last active February 2, 2023 16:01
Pagination Sequence Generator
<?php
/**
* Generate a sequence of numbers for use in a pagination system, the clever way.
* @author Bramus Van Damme <[email protected]>
*
* The algorithm always returns the same amount of items in the sequence,
* indepdendent of the position of the current page.
*
* Example rows generated: