Skip to content

Instantly share code, notes, and snippets.

View novica's full-sized avatar

Novica Nakov novica

View GitHub Profile
@BladeWDR
BladeWDR / Disable-Recall.ps1
Last active September 17, 2025 13:19
Disable Recall Powershell script
# Registry values to set to prevent Recall from renabling itself.
$RecallRegistryValues = @(
[pscustomobject]@{
Path="HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI"
Name="DisableAIDataAnalysis"
Type="DWord"
Value="1"
}
[pscustomobject]@{
Path="HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI"
@tanho63
tanho63 / script.R
Last active August 4, 2020 12:51
Build bookdown as epub
#### Convert bookdown to epub ####
library(devtools)
## Clone to folder
book_repo <- "hadley/adv-r"
dest_folder <- "~/documents/github"
library(tidyverse)
# Download Fira Sans Condensed from
# https://fonts.google.com/specimen/Fira+Sans+Condensed
high_mean <- 12
high_sd <- 4
flat_mean <- 35
flat_sd <- 12
@codemedic
codemedic / konsole-with-palette-colours.css
Last active September 24, 2024 13:25
CSS for KDE Konsole minimal, lighter, dark tabs
QTabBar,
QTabBar::tab
{
font-family: "Noto Sans";
font-size: 11px;
height: 16px;
padding: 2px;
border: 0px;
border-bottom: 3px solid palette(dark);
background-color: palette(dark);
@petrushev
petrushev / qpac.py
Created October 28, 2012 14:12
Get missing optional dependencies and see which packages need them
from subprocess import check_output
EMPTY = tuple()
def get_pkgs():
"""Query local packages"""
tmp = check_output(["pacman", "-Qi"])
li = tmp.strip().split("\n\n")