Skip to content

Instantly share code, notes, and snippets.

Berthold Fritz codingbychanche

Block or report user

Report or block codingbychanche

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@codingbychanche
codingbychanche / FragmentCustomDialogYesNo.java
Last active Sep 5, 2018
Android. Code snipplets ready to use....
View FragmentCustomDialogYesNo.java
/*
* FragmentCustomDialogYesNo.java
*
* Created by Berthold Fritz
*
* This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License:
* https://creativecommons.org/licenses/by-nc-sa/4.0/
*
* Last modified 9/5/18 5:03 PM
*/
View checkForStringInFile.sh
# This checks for a string in a file
search='sawfish'
file='maze.atr'
if [ $(strings $file | grep -i $search) ]
then
echo $search found in file $file
else
echo $search not found in file $file !
View gist:0a91de4389ae4c90aa9e
/*------------------------------------------------------------------------------------
* C- Source.c
* A standard framework for C- Language command line tools
*
*
*
* V0.0 // 30.10.2014
*------------------------------------------------------------------------------------*/
#include <stdio.h>
View MADS does *.ATR
; Build *.ATR
;
; This program shows how one can compile 6502 source into
; a valid *.ATR image file ( => an bootable disk Image for Atari 8- Bit computers)
; using the MADS Assembler. You can use it as a framework for your own projects.
;
; Why?
;
; I was asking myself, how one could start *.XEX image files on the real machine.
; *.XEX files are Atari DOS 2.x compatible binary files. Since the SIO2USB
You can’t perform that action at this time.