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" |
Discover gists
This downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for native desktop app development.
Run py.exe portable-msvc.py
and it will download output into msvc
folder. By default it will download latest available MSVC & Windows SDK - currently v14.40.33807 and v10.0.26100.0.
You can list available versions with py.exe portable-msvc.py --show-versions
and then pass versions you want with --msvc-version
and --sdk-version
arguments.
To use cl.exe/link.exe first run setup_TARGET.bat
- after that PATH/INCLUDE/LIB env variables will be updated to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.
To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc
argument (msvc is folder name where output is stored).
This repository provides a structured set of prompting rules to optimize interactions with Cursor AI. It includes three key files to guide the AI’s behavior across various coding tasks.
- Purpose: Establishes foundational rules for consistent AI behavior across all tasks.
- Usage: Place this file in your project’s
.cursor/rules/
folder to apply it persistently: - Save
core.md
under.cursor/rules/
in the workspace root.
/* | |
* Creator: Naman Dixit | |
* Notice: © Copyright 2024 Naman Dixit | |
* License: BSD Zero Clause License | |
* SPDX: 0BSD (https://spdx.org/licenses/0BSD.html) | |
*/ | |
#if !defined(STD_H_INCLUDE_GUARD) | |
/* Compiler **************************************************************************/ |
# Luke's config for the Zoomer Shell | |
# Enable colors and change prompt: | |
autoload -U colors && colors | |
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b " | |
# History in cache directory: | |
HISTSIZE=10000 | |
SAVEHIST=10000 | |
HISTFILE=~/.cache/zsh/history |
See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
# Install QEMU-6.1.0 | |
wget https://download.qemu.org/qemu-6.1.0.tar.xz | |
tar xvJf qemu-6.1.0.tar.xz | |
cd qemu-6.1.0 | |
./configure | |
make | |
sudo make install | |
# Download Armbian (Ubuntu Focal 20.04) for OrangePi PC | |
wget https://mirrors.netix.net/armbian/dl/orangepipc/archive/Armbian_21.08.1_Orangepipc_focal_current_5.10.60.img.xz |
#!/bin/bash | |
# I have managed to map out some undesirable daemons and agents. Most of these | |
# can be disabled without too much consequence. | |
## Daemons | |
# com.apple.analyticsd - Anonymized application analytics daemon | |
# com.apple.appleseed.fbahelperd - Feedback Assistant Helper Daemon | |
# com.apple.awacsd - Apple Wide Area Connectivity Service Daemon | |
# com.apple.backupd - Apple TimeMachine service |
- Boot Into DevMode using the most recent (green) app in Xbox Microsoft Store.
- Access URL from Dev Home, https, will have to trust certificate.
- First upload App, later will be asked for Libraries/Dependencies (Take a look at RetroArch Download Page, look for Xbox.
- In Dev Home go over RetroArch, press select/view, info, change from App to Game. This will enable reading from memory stick.
- You need to setup a input hotkey for accessing RetroArch menu, other than it you'll have to close RetroArch to quit game.
- By default just D-Pad works, there is an option to enable analogue.