Skip to content

Instantly share code, notes, and snippets.

View ferdinandyb's full-sized avatar

Bence Ferdinandy ferdinandyb

View GitHub Profile
@article{abdaiAnimacyPerceptionDogs2020,
title = {Animacy {{Perception}} in {{Dogs}} ({{Canis}} Familiaris) and {{Humans}} ({{Homo}} Sapiens): {{Comparison May Be Perturbed}} by {{Inherent Differences}} in {{Looking Patterns}}},
author = {Abdai, Judit and Ferdinandy, Bence and Lengyel, Attila and Miklósi, Ádám},
date = {2020},
journaltitle = {Journal of Comparative Psychology},
publisher = {{American Psychological Association Inc.}},
issn = {07357036},
doi = {10.1037/com0000250},
abstract = {Perceptual animacy is the tendency for observers to represent inanimate objects as animate, based on simple motion cues. Several features of the chasing pattern can elicit animacy perception and, similarly to adult humans, dogs perceive dots showing this pattern as animate. Here, we used moving objects with a heading alignment (isosceles triangles) to investigate whether human and dog behavior continues to show similarities following such slight but important change in the pattern. We hypothesized that a
@ferdinandyb
ferdinandyb / gist:e97d0aa7c7581f6b1747c0393f405fc1
Created January 11, 2021 19:30
mp4 to gif (not mine, but lost original source)
#!/bin/bash
#
# Script to convert MP4 video to GIF with generation of custom color palette.
#
#=== Do not touch code below
# Inner variables
input_file=""
input_fps="20"
input_height="512"
@ferdinandyb
ferdinandyb / i3-nextwindow.py
Last active June 19, 2020 18:02
next window script idea
#!/usr/bin/env python3
import i3ipc
import argparse
if __name__ == "__main__":
parser = argparse.ArgumentParser(
description = "Find the next non-opened workspace and go there.")
parser.add_argument('--startnum',type=int,default = 1,