Skip to content

Instantly share code, notes, and snippets.

View codingstark-dev's full-sized avatar
:shipit:
SHHHHHHHHHHHHH

HimanshU Mourya codingstark-dev

:shipit:
SHHHHHHHHHHHHH
View GitHub Profile
@willccbb
willccbb / grpo_demo.py
Last active April 15, 2025 17:53
GRPO Llama-1B
# train_grpo.py
#
# See https://github.com/willccbb/verifiers for ongoing developments
#
import re
import torch
from datasets import load_dataset, Dataset
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import LoraConfig
from trl import GRPOConfig, GRPOTrainer
@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active April 15, 2025 13:22
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@incogbyte
incogbyte / mixunpin.js
Last active March 29, 2025 19:59
Frida script to bypass common methods of sslpining Android
console.log("[*] SSL Pinning Bypasses");
console.log(`[*] Your frida version: ${Frida.version}`);
console.log(`[*] Your script runtime: ${Script.runtime}`);
/**
* by incogbyte
* Common functions
* thx apkunpacker, NVISOsecurity, TheDauntless
* Remember that sslpinning can be custom, and sometimes u need to reversing using ghidra,IDA or something like that.
* !!! THIS SCRIPT IS NOT A SILVER BULLET !!
@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active April 7, 2025 00:27
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!

These are the current alternatives (with links when possible):

$("#get").on("input",function (){
let circle = ['\u24B6','\u24B7','\u24B8','\u24B9','\u24BA','\u24BB','\u24BC','\u24BD','\u24BE','\u24BF','\u24C0','\u24C1','\u24C2','\u24C3','\u24C4','\u24C5', '\u24C6','\u24C7','\u24C8', '\u24C9','\u24CA','\u24CB','\u24CC','\u24CD','\u24CE','\u24CF','\u24D0','\u24D1','\u24D2','\u24D3','\u24D4','\u24D5','\u24D6','\u24D7','\u24D8','\u24D9','\u24DA','\u24DB','\u24DC','\u24DD','\u24DE','\u24DF','\u24E0','\u24E1','\u24E2','\u24E3','\u24E4','\u24E5','\u24E6','\u24E7','\u24E8','\u24E9','\u24EA','\u2460','\u2461','\u2462','\u2463','\u2464','\u2465','\u2466','\u2467','\u2468']
let arr = []
let x = $("#get").val()
oldEnglishMedeival(x)
oldEnglishOld(x)
mathBold(x)
asian(x)
square(x)
@vinicioslc
vinicioslc / flutter-android-cd.yml
Last active November 20, 2024 15:53
Build flutter releases in github actions for production only android for while.
# This is a basic workflow to help you get started with Actions
name: CD Internal-Lane
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
tags:
- "internal-v*.*.*" # on every version tag will build a new android artifact example: v3.1.2+6
jobs:
@hizkifw
hizkifw / cloudflare-worker-youtube-dl.js
Last active February 22, 2025 10:21
Download YouTube videos with Cloudflare Worker
/**
* cloudflare-worker-youtube-dl.js
* Get direct links to YouTube videos using Cloudflare Workers.
*
* Usage:
* GET /?v=dQw4w9WgXcQ
* -> Returns a JSON list of supported formats
*
* GET /?v=dQw4w9WgXcQ&f=251
* -> Returns a stream of the specified format ID
@pixeline
pixeline / readme.md
Created June 1, 2019 11:52
Deploy a "docker-composed" environment on DigitalOcean

Deploy docker-compose on digitalocean

  1. create Docker droplet via digitalocean one-click-app-docker
  2. log into it
  3. generate SSH key
ssh-keygen -t rsa -N "" -f /root/.ssh/id_rsa
  1. Copy it
@joeytwiddle
joeytwiddle / async-await-forEach-alternatives.md
Last active April 15, 2025 06:09
Do not use forEach with async-await

Do not use forEach with async-await

TLDR: Use for...of instead of forEach() in asynchronous code.

For legacy browsers, use for...i or [].reduce()

To execute the promises in parallel, use Promise.all([].map(...))

The problem