Skip to content

Instantly share code, notes, and snippets.

View wecacuee's full-sized avatar

Vikas Dhiman wecacuee

View GitHub Profile
@wecacuee
wecacuee / README.md
Last active September 14, 2026 18:18
Custom modeline is accepted but produces no signal (HDMI extenders, scalers, switchers)

Custom modeline is accepted but produces no signal (HDMI extenders, scalers, switchers)

If the display is not connected directly but through an HDMI extender, scaler, matrix switcher, or similar AV device (e.g. Extron, Crestron), a modeline generated with {{ic|cvt}} or {{ic|gtf}} may be accepted by {{ic|xrandr}} (the output reports the new resolution as active) while the screen itself shows no picture. This happens because such devices are built around the fixed [https://en.wikipedia.org/wiki/CEA-861 CEA-861/CTA-861] timing table used by HDMI/TV equipment, and their receiver chips may refuse to sync to a VESA CVT-generated timing even at the identical resolution and refresh rate, since CVT and CEA-861 define different blanking intervals (and therefore a different pixel clock) for the same active resolution. This can happen even when the device's own EDID does not advertise the resolution at all: some devices' EDID under-reports what their receiver hardware can actually lock onto.

Compare the device's ow

@wecacuee
wecacuee / MakeCustomWindowsISO.md
Last active March 29, 2026 20:32 — forked from fiddyschmitt/gist:4aa1b69edb3f37171dfea78a51920e0f
Make custom windows 11 iso using mkisofs
@wecacuee
wecacuee / DE10-LitePinAssignment.qsf
Created January 21, 2026 17:30
DE10-Lite Pin Assignment
# Downloaded and extracted from DE10 Lite sample projects
#============================================================
# CLOCK
#============================================================
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_CLK_10
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to MAX10_CLK1_50
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to MAX10_CLK2_50
set_location_assignment PIN_N5 -to ADC_CLK_10
set_location_assignment PIN_P11 -to MAX10_CLK1_50
set_location_assignment PIN_N14 -to MAX10_CLK2_50
@wecacuee
wecacuee / borgbackup.sh
Created August 14, 2023 19:02
Borgbackup shell script
#!/bin/sh
# Setting this, so the repo does not need to be given on the commandline:
#export BORG_REPO='ssh://user@host:port/path/to/repo'
export BORG_REPO=file:///media/vdhiman/Elements/Feb22/borgbackup
# Setting this, so you won't be asked for your repository passphrase:
# or this to ask an external program to supply the passphrase:
export BORG_PASSCOMMAND='cat /home/vdhiman/wrk/Private/location_of_your_passphrase_in_afile'
@wecacuee
wecacuee / LICENSE
Last active October 30, 2024 16:57
Anonymize pdf annotations and metadata
MIT License
Copyright (c) 2024 Vikas Dhiman
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@wecacuee
wecacuee / LICENSE
Last active September 5, 2022 21:57 — forked from brianbruggeman/LICENSE
Convert Viscosity to Open VPN
Public Domain
@wecacuee
wecacuee / ICRA2020Notes.md
Last active June 9, 2020 20:10
ICRA 2020 Notes
@wecacuee
wecacuee / RockerRVIZ.md
Last active April 29, 2020 21:29
Getting started with rocker + rviz

install docker

sudo apt install docker.io

test docker

    $ docker run hello-world

    Unable to find image 'hello-world:latest' locally
    latest: Pulling from library/hello-world
    ca4f61b1923c: Pull complete
@wecacuee
wecacuee / VNC with i3.md
Last active January 9, 2024 02:17
VNC with i3
@wecacuee
wecacuee / AAAI-2020-notes.md
Created February 19, 2020 00:58
Notes from AAAI 2020

AAAI 2020

  • Broad trends: Graph networks, Neuro-symbolics, Hierarchies

Plenary Talks

  • Talks available at https://aaai.org/Conferences/AAAI-20/livestreamed-talks/
  • Stuart Russel
    • Lesson: Human instructions are uncertain. Minimally invasive preferences. Do not convert everything else into paper clips. Keep "everything else" constant unless asked for.
  • Geoffrey Hinton: