Skip to content

Instantly share code, notes, and snippets.

<h2>About something</h2>
about...
@svnt
svnt / setup.sh
Last active January 17, 2019 18:06
#!/bin/bash
# curl https://gist.githubusercontent.com/svnt/6faed165085c3cbab3e9b9c822aa92f9/raw/setup.sh?cachebust=`openssl rand -base64 8`
echo "Hello World!!!"
@svnt
svnt / gist:c50064363036576e1f4c47d5e90f6fe0
Last active June 29, 2018 09:27
C64 16x16 char matrix plot routine + sinus generator
;create the 16x16 char matrix
MAKESRC
LDX #$00
LDA #$00
CLC
LOOP TAY
STA $0400+(40*5+12),X
ADC #1
STA $0400+(40*6+12),X
m=32
f={}
h=25
s=1 --sub from ++++- field color
for i=1,130*h do
--f[i]=m
f[i]=0
end
--p={7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8}
@svnt
svnt / water.asm
Created May 8, 2018 17:07
Water FX, tutorial and C64 ASM code
Water
---------------------------------------------------------------------------
Introduction
Water is a really nice effect, one of the better tricks around. Its also
pretty simple to code, should take no more than an afternoons work to get a
good water routine.
---------------------------------------------------------------------------
@svnt
svnt / howto.md
Last active May 18, 2016 23:51
simple comment system for getKirby CMS

1st try to code a comment system for getKirby CMS.

(adapted from https://gist.github.com/bastianallgeier/c396df7923848912393d)

  • comments will be placed at bottom of post in a structure field
  • comments, moderation, display comments can be set for each post (no global settings yet)
  • not meant to used in the wild (yet) due... see 2do
  • after posting a comment it redirects to page 'thank-you' so create one, u know how

2do:

  • style that shit