Skip to content

Instantly share code, notes, and snippets.

View osirisgothra's full-sized avatar

osirisgothra osirisgothra

View GitHub Profile
According to [this snapshot][1] they do, but how they do is beyond me. I have tried building all the suggested versions from SO, of course I used the first ones that came with Ubuntu 13.10 LTS, and then read that I should use different ones (you can find out, there is not much about this on google or SO, and what there is seems to not work at least for me).
Is there anyone out there that has actually had bashdb and DDD working together as that screenshot suggests? I have been able to get it to 'not' show that 'Bash could not be started' dialog, which you get if you try to do it the 'right way' by specifying the --debugger, however, it then just freezes up, doesn't load the source file, and endlessly says 'opening session xxxx..' OR it crashes telling me I found a bug in DDD.
It's hard to think that this is the fault of DDD because EVERY other debugger works perfect for me in DDD, just not bashdb. And I have tried MANY different builds (versions is more like it since there is no compiling really) of bashdb.
@osirisgothra
osirisgothra / adobeinfear.txt
Created January 4, 2015 17:00
Adobe In Fear of Finger Pointing! --- Avoiding the Censorship (photoshop-free linux)
[WITH RAISED HAND]
This is my favorite line of the post:
"[Edit: a portion of this post was removed. Please do not personally attack anyone, including Adobe employees.]"
Apparently, "Not Adobe" (sarcasm) is so paranoid that they need to censor out things that might make them look bad, not that they need any help on that front. The appalling thing is, why not support a platform that clearly has tens of thousands of users that would purchase their software? Unless of course, someone is giving that "special somebody" (sarcasm again) a fat chunk of change to deliberately NOT support a platform in fear that it might further cause harm to that "special someone's" platform. And when I say special someone, I do NOT mean Microsoft or Apple (wink wink!).
At this point in time, its pretty easy to make cross platform software, what with Qt and cross-platform compilers. I'm sure that they have at least one or two lead programmers that could whip up a port in a matter of months and even get it releasable by the end o
@osirisgothra
osirisgothra / install-depends.sh
Created January 6, 2015 18:42
install dependencies for a debian package via apt-get/cache (requires sh or bash, and of course, dpkg and apt tools)
#!/bin/bash
# install-depends.sh
# install dependencies example
# by: Gabriel T. Sharp <[email protected]>
# osirisgothra.github.com
if [[ -z $1 ]]; then
echo -ne "Enter a package name: "
read
set $REPLY
fi
@osirisgothra
osirisgothra / gist:813ac8effb70bea83e1a
Created May 27, 2015 12:16
pSX desktop file, put it in ~/.local/share/app
# make sure you get the icon from:
# http://easyweb.easynet.co.uk/~david.s/saturn/images/Playstation_icon.gif
#
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=pSX Emulator
Comment=Play Playstation games on your PC!
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("metacpan.org") {
/*
Meta CPAN Dark
Custom Content
Dark
by Gabriel Sharp <[email protected]>
*/
@osirisgothra
osirisgothra / oldbio.txt
Last active November 27, 2021 19:00
Old Code Project BIO
I am a father of 3, and a Musician/Programmer/Artist. I develop C++ Libraries and Framework extensions for .NET. My first programming language was GWBasic and Apple Basic. Then in 1989 I learned ASM on my 386SX PC. After that I turned to Turbo Pascal, then Borland's Turbo C++. Beyond that, I first used Visual Basic v1.0 (the Dos one, if you didnt know).. Then Visual C++ (Borland's), and then Visual Basic for windows, up until Visual C++ 5 came out, then started writing in that. Since .NET came out in 2003 I have been writing primarily in C#, but still write most my 'fast' code in C++ and intermix with a little inline ASM here and there. I don't write too much ASM these days unless its on my OS project (in which case I use TASM, the OS is designed to run from DOS, then unloads DOS and it's Interrupt Services, and takes over from there, much like Novell Netware back in the day). As for art, I have a page on osirisgothra.deviantart.com and my music is found on www.paradisim.net along with my projects. I
@osirisgothra
osirisgothra / generate_dubs.sh
Created July 7, 2022 14:43
Generate listing webpage of gogo play anime english dub episodes onto a single page, with covers! (note: all links are to ep 1 or the individual fmv whatever it may be, please read disclaimer inside! Does not transfer any copyrighted data so dont ask!)
#!/bin/zsh
#
# DISCLAIMER
# the author of this script is not responsible for any content that might be on the websites it is used on
# it is up to the user of the script to make sure they are not accessing copyrighted works.
#
# You will need to type in the website's name (just the domain name and extension)
# like "example.com" will use https://www.example.com but you will have to type the
# page name in as I cannot legally put gogoplay or any other website that may have
# copyrighted material on it, into this script. This script is not intended to be used
Operating System | What "UPTIME" Means
===================|=============================================================================
DOS | Doesnt exist? Bill said: use your clock and do it yourself, morons! (or buy microsoft assembler, aka masm!) but yeah, it does exist, if you count the BIOS's system timer (ticks since boot on irq 10, ax=cant remember)
Windows 95 | How long windows has been running with no other programs running.
Windows 98 | Amount of time since the last "Fatal Exception OE at XXXX:XXXX" occurred
Windows XP | How long you haven't ran internet explorer and in turn, hijacked by backorifice(virus)
Windows Vista | How long system installation or startup is taking <- past this? you are on borrowed uptime!
Windows 7 | How long since the last corruption causing boot-deadly "Missing Operating System"
Windows 8 | Unless it came pre-installed, it will always be zero.
Windows 10 | How much time has passed since either
@osirisgothra
osirisgothra / dothat.py
Created December 9, 2022 19:06
Program to run as shim, for windows 10 clients who want to soft-bypass cmd checking from windows, their own scripts
#!/usr/bin/python3
#
# dothat.py (name it what your .cmd file is called, plus .py of course instead!)
#
# simple dirty program to launch a batch command (cmd) file of the same name
# but not same file extension, in the same directory
#
# to use: name this program whatever you're script is called, but use .py of course instead of .cmd
#
# example: this file, saved as "dothat.py" when run from "c:\somewhere\dothat.py" will attempt to run
@osirisgothra
osirisgothra / example.sh
Created December 26, 2022 21:15
set clipboard data with an xclip style script
#!/bin/bash
# an Examples of wclip use
# you probably dont want to run this
# copy a list of all files in /etc with size, ownership, date, and permissions included
ls /etc -l | wclip
# copy a list of every positive integer from zero to 100
for ((x=0;x<100;x++)); do echo "$x"; done | wclip