Skip to content

Instantly share code, notes, and snippets.

C64/Amiga Scener/Coder

Uğur Özyılmazel vigo

C64/Amiga Scener/Coder
View GitHub Profile
View cyclops-panel doc
"info": {
"_postman_id": "7bebf698-a1ad-424c-b6c1-8c5f77f0862d",
"name": "cyclops-panel",
"schema": ""
"item": [
"name": "signal communicators",
"item": [
View cyclops-camera doc
"info": {
"_postman_id": "b9491046-1b56-4b7b-a118-507442f1a516",
"name": "cyclops-camera",
"schema": ""
"item": [
"name": "camera_logs",
"item": [
View cyclops doc
"info": {
"_postman_id": "33f7cab2-c1e8-4eba-b3e7-377374148359",
"name": "cyclops",
"description": "cyclops handler list",
"schema": ""
"item": [
"name": "pusher",
premek /
Last active Jul 29, 2020
Rename files in linux / bash using mv command without typing the full name two times
# Put this function to your .bashrc file.
# Usage: mv oldfilename
# If you call mv without the second parameter it will prompt you to edit the filename on command line.
# Original mv is called when it's called with more than one argument.
# It's useful when you want to change just a few letters in a long name.
# Also see:
# - imv from renameutils
# - Ctrl-W Ctrl-Y Ctrl-Y (cut last word, paste, paste)
jefftriplett / python-django-postgres-ci.yml
Last active Aug 3, 2020
This is a good starting point for getting Python, Django, Postgres running as a service, pytest, black, and pip caching rolling with GitHub Actions.
View python-django-postgres-ci.yml
name: CI
on: [push]
runs-on: ubuntu-latest
sarthology / regexCheatsheet.js
Created Jan 10, 2019
A regex cheatsheet 👩🏻‍💻 (by Catherine)
View regexCheatsheet.js
let regex;
/* matching a specific string */
regex = /hello/; // looks for the string between the forward slashes (case-sensitive)... matches "hello", "hello123", "123hello123", "123hello"; doesn't match for "hell0", "Hello"
regex = /hello/i; // looks for the string between the forward slashes (case-insensitive)... matches "hello", "HelLo", "123HelLO"
regex = /hello/g; // looks for multiple occurrences of string between the forward slashes...
/* wildcards */
regex = /h.llo/; // the "." matches any one character other than a new line character... matches "hello", "hallo" but not "h\nllo"
regex = /h.*llo/; // the "*" matches any character(s) zero or more times... matches "hello", "heeeeeello", "hllo", "hwarwareallo"
hakib /
Last active Aug 9, 2020
How to Turn Django Admin Into a Lightweight Dashboard
from django.contrib import admin
from django.db.models import Count, Sum, Min, Max, DateTimeField
from django.db.models.functions import Trunc
from . import models
def get_next_in_date_hierarchy(request, date_hierarchy):
View main.go
package main
import (
zaydek / bookmark.min.js
Last active Aug 9, 2020
A *simple* CSS debugger. To use, bookmark "Debug CSS" at Learn more here and (starts at 1:25)
View bookmark.min.js
/* debug.css | MIT License | */ if (!("is_debugging" in window)) { is_debugging = false; var debug_el = document.createElement("style"); debug_el.append(document.createTextNode(`*:not(g):not(path) { color: hsla(210, 100%, 100%, 0.9) !important; background: hsla(210, 100%, 50%, 0.5) !important; outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important; box-shadow: none !important; filter: none !important; }`)); } function enable_debugger() { if (!is_debugging) { document.head.appendChild(debug_el); is_debugging = true; } } function disable_debugger() { if (is_debugging) { document.head.removeChild(debug_el); is_debugging = false; } } !is_debugging ? enable_debugger() : disable_debugger();
View p47a.asm
SEI ;Disable interrupts
STA DC0D ;Mask CIA1's interrupt generator
LDA #08 ;Set the KERNAL's interrupt vector
STA 0315 ;at $0314/$0315
LDA #B0 ;to $08B0.
You can’t perform that action at this time.