Skip to content

Instantly share code, notes, and snippets.

@bohwaz
bohwaz / lcp_download.php
Created June 29, 2023 20:10
Transform LCP/LCPL files to regular EPUB/PDF/ZIP
#!/usr/bin/php
<?php
// Note: this code does not contain any DRM removal, DRM removal is made by https://notabug.org/NewsGuyTor/DeDRM_tools-LCP
//
// Install steps:
// Debian/Ubuntu/Mint: apt install php-cli python3 python3-cryptodome python3-lxml zip unzip
//
// How to use?
// Just run: php lcp_download.php FILE.LCPL PASSWORD
// A new FILE_decrypted.epub will be created in the same directory
@madhurimarawat
madhurimarawat / GATE-CSE-DS-Resources.md
Last active December 1, 2026 20:03
A collection of the best free GATE preparation resources for CSE & Data Science. Contributions are welcome!

πŸ“Œ GATE Resources - CSE & Data Science

I have compiled all the resources that helped me in my GATE preparation, and I hope they help you too! πŸš€

@45DR
45DR / GoogleDorking.md
Created April 17, 2020 17:50 — forked from beatsfaty/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"

description: Manage Proxmox Virtual Environment infrastructure. Monitor nodes, manage VMs and containers, and perform SRE operations. homepage: "https://www.proxmox.com" metadata: moltbot: api_base: PROXMOX_HOST/api2/json category: infrastructure emoji: πŸ–₯️ name: proxmox

@burakorkmez
burakorkmez / bookmark-saver.md
Last active December 1, 2026 19:30
HTML/CSS/JS PROJECTS
const addBookmarkBtn = document.getElementById("add-bookmark");
const bookmarkList = document.getElementById("bookmark-list");
const bookmarkNameInput = document.getElementById("bookmark-name");
const bookmarkUrlInput = document.getElementById("bookmark-url");
@harvzor
harvzor / linux-mint-22.1-with-emoji-picker.md
Last active December 1, 2026 19:30
Linux Mint 22.1 With Emoji Picker Like In Windows 10/11

Linux Mint 22.1 With Emoji Picker Like In Windows 10/11

How it works on Windows

If you're coming from Windows 10/11, you may be used to being able to hit πŸͺŸ + . on your keyboard like:

image

You can then search for an emoji using the emoji picker that pops up:

@wanglf
wanglf / vscode-extension-offline.md
Last active December 1, 2026 19:27
Download VS Code extensions as VSIX

How to use?

  • Copy content of vsix-bookmarklet, create a bookmark in your browser.
  • Navigate to the web page of the VS Code extension you want to install.
  • Click the bookmark you just created, then click the download button.
    download
  • After download finished, rename the file extension to *.vsix.
  • In VS Code, select Install from VSIX... in the extension context menu.
    vsc
@Marsgames
Marsgames / .gitignore
Last active December 1, 2026 19:27
Generic Unity .gitignore (Ignores git, unity, macos, csharp, windows, visualstudio, visualstudiocode)
# Created by https://www.gitignore.io/api/git,unity,macos,csharp,windows,visualstudio,visualstudiocode
# Edit at https://www.gitignore.io/?templates=git,unity,macos,csharp,windows,visualstudio,visualstudiocode
### Csharp ###
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
@d7samurai
d7samurai / .readme.md
Last active December 1, 2026 19:26
Minimal D3D11 elaborations I

Minimal D3D11 elaborations I

A spin-off from the mainline Minimal D3D11 series, adding two-lane instanced rendering. As before: An uncluttered Direct3D 11 setup & basic rendering primer / API familiarizer. Complete, runnable Windows application contained in a single function and laid out in a linear, step-by-step fashion. No modern C++ / OOP / obscuring cruft.

The main difference here is that the hollow cube itself is rendered using instancing (which saves a lot of vertices compared to the original, so geometry data is now small enough to be included in the source without being too much in the way), but also all trigonometry and matrix math is moved to the vertex shader, simplifying the main code (and not needing math.h).

In this case, each instance is mere

@d7samurai
d7samurai / .readme.md
Last active December 1, 2026 19:26
Minimal D3D11 part 2: instancing

Minimal D3D11 part 2: instancing

Minimal D3D11 reference implementation: An uncluttered Direct3D 11 setup + basic rendering primer and API familiarizer. Complete, runnable Windows application contained in a single function and laid out in a linear, step-by-step fashion that should be easy to follow from the code alone. ~220 LOC. No modern C++ / OOP or (other) obscuring cruft. View on YouTube

Minimal D3D11 part 2: instancing

Building directly on the canonical Minimal D3D11 this follow-up introduces instanced rendering, where each instance is described in the form of a [separate transformation matrix](https:/