Skip to content

Instantly share code, notes, and snippets.

@udif
udif / gist:cffecd0a769be9e71deb73c45d5e566f
Created March 24, 2024 09:17
Stack trace for slang-netlist issue
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
@udif
udif / filament_holder_prusa.jscad
Last active April 15, 2019 07:43
This is a remix of https://www.thingiverse.com/thing:2492772, making the arm 10mm longer, to support the wide Prusa-branded filament spools
This file has been truncated, but you can view the full file.
//
// This is a remix of https://www.thingiverse.com/thing:2492772,
// making the arm 10mm longer, to support the wide Prusa-branded filament spools
//
// producer: OpenJSCAD.org Compatibility1.9.0 STL Binary Importer
// date: Mon Apr 08 2019 13:01:08 GMT+0300 (Israel Daylight Time)
// source: Filament_Holder.stl
//
points = [[-100.9339370727539,-268.83880615234375,115.40289306640625],
[-100.07901763916016,-268.7857360839844,30.63399314880371],
@udif
udif / h.jscad
Last active November 25, 2018 15:02
// title : H
// author : Udi Finkelstein
// license : MIT License
// revision : 1.0
// description:
// file : h.jscad
var cylresolution = 16;
// Here we define the user editable parameters:
@udif
udif / gist:7795947e8469929bb5fd48b4b03647b0
Last active April 18, 2018 19:01
Xilinx programming
Outdated - https://github.com/sowbug/JTAGWhisperer
Replaces the above - https://github.com/wschutzer/xsvfduino
Bus pirate alternate XSVF player firmware - http://dangerousprototypes.com/docs/Bus_Pirate_JTAG_XSVF_player
https://sourceforge.net/projects/xilprg/
http://inisyn.org/src/xup/
http://xc3sprog.sourceforge.net/hardware.php
UrJTAG can program an SVF file using an Altera programming cable.
http://urjtag.org/book/_system_requirements.html#_supported_jtag_adapters_cables
// ==UserScript==
// @name List Safari Books ISBNs
// @namespace
// @include http://*.safaribooksonline.com/mysafari
// @version 1.0
// @grant none
// ==/UserScript==
var l = document.querySelectorAll("#FolderItems > div > ul > li");
@udif
udif / consoles.md
Last active April 18, 2023 09:53
CMD.exe replacements for Windows

http://mintty.github.io/ - Mintty is a terminal emulator for Cygwin, MSYS and Msys2.
https://sourceforge.net/projects/poderosa/ - A terminal emulator with tabbed user interface and various connectivity including Telnet, SSH1/2, and cygwin.
http://www.softwareok.com/?seite=Freeware/ColorConsole - ColorConsole brings a little color to your black and white world of Windows console (cmd.exe).
https://conemu.github.io/ - ConEmu-Maximus5 is a Windows console emulator with tabs, which presents multiple consoles and simple GUI applications as one customizable GUI window with various features.
http://www.powercmd.com/ - PowerCmd: A Better Command Prompt Replacement Tool.
http://cmder.net/ - Portable console emulator for windows.
https://sourceforge.net/projects/console/ - Console is a Windows console window enhancement.
https://jpsoft.com/tccle-cmd-replacement.html - TCC/LE Windows CMD Replacement Shell : Upgrade Your CMD Commands.
http://www.gammadyne.com/cmdline.htm#gs - GS.EXE is an alternative DOS

Comaprison of getopt()/getopt_long() replacement libraries

At the moment we are concentrating in C++

  • URL - where is this on github
  • Lang - what language is it written in
  • License - GPL/Apache/MIT/BSD/etc. '?' - No license given
  • of commits - How many commits to date

  • Last commit - Date of the last commit
  • single letter - does it support single letter args like getopt()
  • Bundle - the library supports bundling several single letter flags into a single leading '-'
@udif
udif / gist:4fcbedcfbeeb415f094a
Last active August 29, 2015 14:01
Scratch-like environments for Arduino
@udif
udif / bury9012
Created March 26, 2012 21:20
Bury 9012 remote control reverse engineering
Using Atmel ATMEGA48 driving a Nordic Semiconductor 2402 transmitter with a 16Mhz oscillator.
Programming connector (Standard Atmel):
GND MOSI VCC
6 4 2
RST SCLK MISO
5 3 1