Skip to content

Instantly share code, notes, and snippets.

View darabos's full-sized avatar

Daniel Darabos darabos

  • Lynx Analytics
  • Budapest, Hungary
View GitHub Profile
@darabos
darabos / gist:69ead40300a5b0a04bf4659323bb8b5c
Created July 11, 2024 22:09
Starter Cubzh game, from a new world
-- This is Cubzh's default world script.
-- We'll provide more templates later on to cover specific use cases like FPS games, data storage, synchornized shapes, etc.
-- Cubzh dev team and devs from the community will be happy to help you on Discord if you have questions: discord.gg/cubzh
Config = {
-- using item as map
Map = "aduermael.hills",
-- items that are going to be loaded before startup
Items = {
@darabos
darabos / game.txt
Created August 17, 2023 11:10
flickgame
{"gameLink":"Hunting Balls","canvasses":[[2367,"d",1,"0",158,"d",1,"0",138,"d",17,"0",4,"d",1,"0",3,"d",2,"0",128,"d",25,"0",1,"d",1,"0",3,"d",1,"0",126,"d",31,"0",1,"d",2,"0",124,"d",10,"0",6,"6",9,"0",2,"6",9,"0",5,"d",2,"0",115,"d",7,"0",10,"6",11,"0",4,"6",8,"0",1,"d",2,"0",95,"d",5,"2",15,"d",6,"0",11,"6",14,"0",6,"6",7,"0",95,"d",7,"2",13,"d",5,"0",12,"6",5,"0",4,"1",3,"f",1,"1",3,"0",7,"6",4,"0",95,"d",9,"2",11,"d",4,"0",14,"6",3,"0",5,"1",5,"f",3,"0",8,"6",3,"0",95,"d",9,"2",10,"d",4,"0",14,"6",3,"0",5,"1",7,"f",2,"0",9,"6",3,"0",94,"d",9,"2",10,"d",3,"0",15,"6",3,"0",5,"1",7,"f",3,"0",1,"6",3,"c",4,"6",3,"0",94,"d",9,"2",9,"d",3,"0",15,"6",3,"0",6,"1",7,"f",3,"0",5,"c",4,"6",3,"0",93,"d",9,"2",8,"d",3,"0",16,"6",3,"0",7,"1",6,"f",3,"0",6,"c",3,"6",3,"0",94,"d",7,"2",8,"d",4,"0",16,"6",3,"0",8,"1",4,"f",1,"1",3,"0",6,"c",3,"6",3,"0",95,"d",5,"2",9,"d",3,"0",17,"6",3,"0",13,"1",3,"0",6,"c",4,"6",3,"0",107,"d",3,"0",18,"6",3,"0",12,"1",4,"0",7,"c",3,"6",3,"0",106,"d",4,"0",19,"6",3,"0",11,"1",3,"0",9,"c
@darabos
darabos / game.txt
Created February 26, 2023 15:48
flickgame
{"gameLink":"Hunting Balls","canvasses":[[2367,"d",1,"0",158,"d",1,"0",138,"d",17,"0",4,"d",1,"0",3,"d",2,"0",128,"d",25,"0",1,"d",1,"0",3,"d",1,"0",126,"d",31,"0",1,"d",2,"0",124,"d",10,"0",6,"6",9,"0",2,"6",9,"0",5,"d",2,"0",115,"d",7,"0",10,"6",11,"0",4,"6",8,"0",1,"d",2,"0",95,"d",5,"2",15,"d",6,"0",11,"6",14,"0",6,"6",7,"0",95,"d",7,"2",13,"d",5,"0",12,"6",5,"0",4,"1",3,"f",1,"1",3,"0",7,"6",4,"0",95,"d",9,"2",11,"d",4,"0",14,"6",3,"0",5,"1",5,"f",3,"0",8,"6",3,"0",95,"d",9,"2",10,"d",4,"0",14,"6",3,"0",5,"1",7,"f",2,"0",9,"6",3,"0",94,"d",9,"2",10,"d",3,"0",15,"6",3,"0",5,"1",7,"f",3,"0",1,"6",3,"c",4,"6",3,"0",94,"d",9,"2",9,"d",3,"0",15,"6",3,"0",6,"1",7,"f",3,"0",5,"c",4,"6",3,"0",93,"d",9,"2",8,"d",3,"0",16,"6",3,"0",7,"1",6,"f",3,"0",6,"c",3,"6",3,"0",94,"d",7,"2",8,"d",4,"0",16,"6",3,"0",8,"1",4,"f",1,"1",3,"0",6,"c",3,"6",3,"0",95,"d",5,"2",9,"d",3,"0",17,"6",3,"0",13,"1",3,"0",6,"c",4,"6",3,"0",107,"d",3,"0",18,"6",3,"0",12,"1",4,"0",7,"c",3,"6",3,"0",106,"d",4,"0",19,"6",3,"0",11,"1",3,"0",9,"c
@darabos
darabos / game.txt
Created February 26, 2023 13:20
flickgame
{"gameLink":"Hunting Balls","canvasses":[[2367,"d",1,"0",158,"d",1,"0",138,"d",17,"0",4,"d",1,"0",3,"d",2,"0",128,"d",25,"0",1,"d",1,"0",3,"d",1,"0",126,"d",31,"0",1,"d",2,"0",124,"d",10,"0",6,"6",9,"0",2,"6",9,"0",5,"d",2,"0",115,"d",7,"0",10,"6",11,"0",4,"6",8,"0",1,"d",2,"0",95,"d",5,"2",15,"d",6,"0",11,"6",14,"0",6,"6",7,"0",95,"d",7,"2",13,"d",5,"0",12,"6",5,"0",4,"1",3,"f",1,"1",3,"0",7,"6",4,"0",95,"d",9,"2",11,"d",4,"0",14,"6",3,"0",5,"1",5,"f",3,"0",8,"6",3,"0",95,"d",9,"2",10,"d",4,"0",14,"6",3,"0",5,"1",7,"f",2,"0",9,"6",3,"0",94,"d",9,"2",10,"d",3,"0",15,"6",3,"0",5,"1",7,"f",3,"0",1,"6",3,"c",4,"6",3,"0",94,"d",9,"2",9,"d",3,"0",15,"6",3,"0",6,"1",7,"f",3,"0",5,"c",4,"6",3,"0",93,"d",9,"2",8,"d",3,"0",16,"6",3,"0",7,"1",6,"f",3,"0",6,"c",3,"6",3,"0",94,"d",7,"2",8,"d",4,"0",16,"6",3,"0",8,"1",4,"f",1,"1",3,"0",6,"c",3,"6",3,"0",95,"d",5,"2",9,"d",3,"0",17,"6",3,"0",13,"1",3,"0",6,"c",4,"6",3,"0",107,"d",3,"0",18,"6",3,"0",12,"1",4,"0",7,"c",3,"6",3,"0",106,"d",4,"0",19,"6",3,"0",11,"1",3,"0",9,"c
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@darabos
darabos / pegs.ipynb
Created August 21, 2020 09:47
Simple solver for the peg jumping puzzle
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@darabos
darabos / git-analytics.yaml
Last active June 30, 2020 10:34
Workspace for looking at the connections in a Git repository
- id: Import-CSV_1
inputs: {}
operationId: Import CSV
parameters:
filename: UPLOAD$/2758ed42fcc436588ba670053119f53f.graph.csv
imported_table: 1a50f6e0-07c9-342f-a5c1-5314141febc7
infer: yes
last_settings: |-
{
"sql" : "",
@darabos
darabos / lk-git-graph.csv
Created June 29, 2020 19:24
Git history of LynxKite as a graph of simultaneously modified files.
We can't make this file beautiful and searchable because it's too large.
file1,file2,commit
"python/documentation/Introduction.ipynb","python/remote_api/setup.py","Rename package to lynxkite-client."
"python/remote_api/setup.py","python/documentation/Introduction.ipynb","Rename package to lynxkite-client."
"docker/Dockerfile","docker/run.sh","Dockerfile."
"docker/run.sh","docker/Dockerfile","Dockerfile."
"app/com/lynxanalytics/biggraph/controllers/OperationParams.scala","app/com/lynxanalytics/biggraph/frontend_operations/EdgeAttributeOperations.scala","Make converting Doubles to Double not an error."
"app/com/lynxanalytics/biggraph/controllers/OperationParams.scala","app/com/lynxanalytics/biggraph/frontend_operations/VertexAttributeOperations.scala","Make converting Doubles to Double not an error."
"app/com/lynxanalytics/biggraph/frontend_operations/EdgeAttributeOperations.scala","app/com/lynxanalytics/biggraph/controllers/OperationParams.scala","Make converting Doubles to Double not an error."
"app/com/lynxanalytics/biggraph/frontend_operations/EdgeAttributeOperations.scala","app
@darabos
darabos / git-to-graph.py
Created June 29, 2020 15:02
Script for creating a graph of files from a Git history.
'''Creates a graph of source files connected by cooccurrence in commits.
git log --oneline --name-only | python git-to-graph.py > graph.csv
'''
import sys
import re
print('file1,file2,commit')
commit = None
files = []