Skip to content

Instantly share code, notes, and snippets.

@amit213
amit213 / activate-office-windows-mac.md
Created January 27, 2025 04:14
Microsoft Office Active or Windows Activation | Microsoft Office Activate for Mac - Free Guide

✅ Activate Microsoft Office or Windows

💠 Windows User:

  1. Download OS & Office Link: https://files.rg-adguard.net/version/5f2ad9c6-e111-76e8-06d1-56d44c136bae
  2. Open PowerShell (Not CMD). To do that, right-click on the Windows start menu and select PowerShell or Terminal.
  3. Copy and paste the code below and press enter
irm https://get.activated.win | iex
  1. You will see the activation options.
@cavit99
cavit99 / qwen2vl.py
Last active August 11, 2025 13:49
Qwen2-VL-7B-Instruct inference on Apple silicon
import torch
from transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoProcessor
from PIL import Image
from pathlib import Path
import sys
# Toggle to switch between full response and extracted description
OUTPUT_FULL_RESPONSE = False
# Ensure we're using the MPS device if available
@amit213
amit213 / yt-dlp.sh
Created August 25, 2024 07:53 — forked from 47ronin/yt-dlp.sh
Use yt-dlp to merge best video and best audio formats together into an MPEG-4 container, check for AV1/VP9, and transcode to H.264 if necessary. Usage: ./yt-dlp.sh <video_url>
#!/bin/bash
youtube_url="$1"
echo "Downloading video..."
video_info=$(yt-dlp -e -o "%(title)s" -- "$youtube_url")
sanitized_title=$(echo "$video_info" | sed 's/[^a-zA-Z0-9_.-]/_/g')
output_file="${sanitized_title}.mp4"
yt-dlp -o "temp.mp4" -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' -- "$youtube_url"
@Suleman-Elahi
Suleman-Elahi / mxroute_email_accounts.py
Last active October 14, 2025 05:31
A script to bulk create email accounts on MXroute via API. Sleep is not really necessary so can turn off. Use the users.csv file to create the CSV file with information of user to be created, quota must be given in MB. Just replace your username, password, server URL and good to go.
import requests
import csv
import time
server_login = 'YourUserName'
server_pass = 'YourPassword/LoginKey'
endpoint_url = 'AddSevrerURLHereWithPort' + '/CMD_EMAIL_POP' #Change the first part to he URL of the server you recoeved after sign up.
headers={"Content-Type": "application/x-www-form-urlencoded",}
@larsvilhuber
larsvilhuber / upload_files_to_dropbox.sh
Created January 26, 2023 16:15
Short script to upload to Dropbox from the command line
#!/bin/bash
# Based on https://stackoverflow.com/questions/42120767/upload-file-on-linux-cli-to-dropbox-via-bash-sh
# This is in principle superseded by Dropbox CLI
## OAUTH_DROPBOX is pulled from environment
if [ -z $OAUTH_DROPBOX ]
then
echo "No oauth token"
exit 2

Advanced Search Operators

Here is a list of common advanced search operators that you can use to narrow your search results:


Commands Search operators:

  • site:
@DartPower
DartPower / ms-office-dl-links
Last active October 16, 2026 03:50
MS Office Download Links
@stackblogger
stackblogger / top 100+ social bookmarking sites list.md
Last active November 5, 2026 10:20
DoFollow Backlink Sites | High PR Free Backlink Sites

TOP 100+ Social Bookmarking Sites List

DoFollow Backlink Sites | High PR Free Backlink Sites

Detailed article is shared here- TOP 100+ Social Bookmarking Sites List

Get more High PR Social Bookmarking Sites list with details of Domain Authority (DA), Page Authority (PA), Page Rank (PR) and Spam Score (SS) updated on November 6th 2024.

A backlink is a type of link pointing out from a website to your website. It is also called inbound or incoming backlinks. Backlinks are used to generate traffic to your website. Search engines continuously crawls the web pages and if they find a link to your website at some page then they crawl your page too. So it increases the search engine visibility in the back end. Get top 100+ DoFollow High PR Backlink Sites list.

@tomdaley92
tomdaley92 / README.md
Last active September 6, 2026 12:49
Proxmox - SPICE Client setup for MacOS

Proxmox - SPICE client setup for MacOS

  1. Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.

    brew tap jeffreywildman/homebrew-virt-manager
    brew install virt-viewer
  2. Once that's installed should be able make a call remote-viewer with a pve-spice.vv file downloaded from proxmox web interface

@velovix
velovix / sunhacks_2020_gstreamer_talk.md
Last active July 15, 2026 06:04
The text version of my GStreamer talk at sunhacks 2020

Introduction

Hi everyone! Today I'm going to be giving you a crash course in video processing using Python. Coming out of this talk, you'll be able to take video from pretty much any source, decode it, apply visual effects, and display it on-screen. To do this, we're going to be using a library named GStreamer, an incredibly powerful and versatile framework. This is the same tool that the pros use, but don't feel intimidated! GStreamer actually makes it very easy to do impressive things with video and you'll be well on your way to making something great in just the time it takes to watch this talk.

If you fall behind at any point during the live presentation, don't worry! I have a text version of this talk available with the same content and more. There should be a link in the description.

Installing Dependencies

Let's start by installing everything we'll need to start using GStreamer in Python. This is probably the hardest part, so if you managed to do it before this talk, it's all smooth sailing fro