Skip to content

Instantly share code, notes, and snippets.

View dkozar's full-sized avatar

Danko Kozar dkozar

View GitHub Profile
@dkozar
dkozar / .zshrc
Created November 1, 2019 00:09
"Flattens" the structure of files in ~/Splice/ folder to ~/SpliceFlat/ folder
# MacOS!
# "Flattens" the structure of files in ~/Splice/ folder to ~/SpliceFlat/ folder
# Copyright 2019 by Danko Kozar
alias splice-flatten="find ~/Splice/ -mindepth 2 -type f -exec rsync --update --quiet '{}' ~/SpliceFlat/ ';'"
splice () {
echo "watching for Splice folder changes"
splice-flatten
while true; do sleep 5; echo "... checking..."; splice-flatten; done
@dkozar
dkozar / ImageViewer.cs
Last active January 3, 2016 12:49
This is the source of LoadData demo for eDriven.Gui framework. You can get eDriven.Gui framework at: http://edrivengui.com/ Free version is available at: http://edrivengui.com/free/
/*
Copyright (c) 2010-2014 Danko Kozar
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:
@dkozar
dkozar / PushFlagDemo.as
Created January 16, 2014 23:12
Push-flag demo
/*
Copyright (c) 2003-2004 Danko Kozar
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:
@dkozar
dkozar / Isometric.as
Created January 16, 2014 22:54
This is the source of the main frame of my Isometric experiment (from 2003) The working demo is available at: http://dankokozar.com/flash/izometrija.html I wrote this code BEFORE I ever knew about the existence of Object Oriented Programming :) However, this is a very personal project that fired me into the (programming) orbit. ^^
/*
Copyright (c) 2003-2004 Danko Kozar
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:
@dkozar
dkozar / app.js
Last active January 3, 2016 09:29
Playing with AngularJS
/**
* Created by Danko on 14.01.14..
*/
angular.module('app', ['components'])
.controller('TableCreator', function($scope) {
var rows = [];
/**