Skip to content

Instantly share code, notes, and snippets.

Maine Coon: caratteristiche, cura e informazioni utili sul gatto gigante

Immagina di entrare in casa e trovarti accogliento da un maestoso felino, il cui portamento ricorda quello di una piccola lince: stiamo parlando del Maine Coon, il gigante gentile del mondo felino. Questa razza è nota per la sua taglia imponente, che può raggiungere anche i 10 kg per i maschi e i 7 kg per le femmine, e per la lunga coda piumosa che sembra quasi voler sfidare l'eleganza di un pavone. La loro storia è avvolta nel mistero, ma si ritiene che i Maine Coon siano originari degli Stati Uniti, più precisamente dello stato del Maine, dove sono stati ufficialmente riconosciuti come razza alla fine del XIX secolo.

Oltre alla loro stazza notevole, questi gatti si distinguono per un indole affettuosa e un temperamento equilibrato che li rende compagni ideali sia per le famiglie che per i singoli. Nonostante le loro dimensioni, spesso si dimostrano gatti casalinghi molto dolci, pazienti con i bambini e socievoli con gli alt

@asiletto
asiletto / commons.py
Created November 23, 2023 17:55
ECS example with esper - RTS game python skeleton
from enum import IntEnum
from dataclasses import dataclass as component
class SpeciesEnum(IntEnum):
TOMATO = 1
BEECH = 2
CAT = 1001
DOG = 1002
@asiletto
asiletto / read-laica-home-wellness-export-on-a-pc.sh
Created September 23, 2020 10:26
read Laica Home Wellness export on a pc
# export settings from smartphone
# decode base64 export
base64.exe -d laicaSettings.laica > laicaSettings.decoded
# decode file (password is: "laica.oca.key")
openssl.exe enc -des -d -in laicaSettings.decoded -out laicaSettings.plain
#laicaSettings.plain contains a json with all the data
sudo apt-get update -y && \
sudo apt-get upgrade -y && \
sudo apt-get install docker-compose -y && \
sudo apt-get install python-pip -y && \
git clone https://github.com/OpenDroneMap/WebODM --config core.autocrlf=input --depth 1 && \
cd WebODM && \
sudo ./webodm.sh start
@asiletto
asiletto / Sync.java
Created March 19, 2014 12:11
sync a clearcase folder via java api
package test;
import java.io.File;
import javax.wvcm.PropertyRequestItem;
import javax.wvcm.ProviderFactory;
import javax.wvcm.WvcmException;
import javax.wvcm.ProviderFactory.Callback;
import com.ibm.rational.wvcm.stp.StpLocation;
.gitconfig
[url "http://"]
insteadOf = git://
[http]
proxy = http://localhost:3110
[https]
proxy = http://localhost:3110
.npmrc
https-proxy=http://localhost:3110
clock 123 emitted tick event at Fri Jan 24 2014 15:28:39 GMT+0000 (UTC)
clock 345 emitted tick event at Fri Jan 24 2014 15:28:39 GMT+0000 (UTC)
clock 123 emitted tick event at Fri Jan 24 2014 15:28:40 GMT+0000 (UTC)
clock 123 emitted tick event at Fri Jan 24 2014 15:28:41 GMT+0000 (UTC)
clock 345 emitted tick event at Fri Jan 24 2014 15:28:41 GMT+0000 (UTC)
clock 123 emitted tick event at Fri Jan 24 2014 15:28:42 GMT+0000 (UTC)
clock 345 emitted tick event at Fri Jan 24 2014 15:28:42 GMT+0000 (UTC)
clock 123 emitted tick event at Fri Jan 24 2014 15:28:43 GMT+0000 (UTC)
clock 123 emitted tick event at Fri Jan 24 2014 15:28:44 GMT+0000 (UTC)
function EventEmitter(){}
EventEmitter.prototype.on = function(event, fct){
this._events = this._events || {};
this._events[event] = this._events[event] || [];
this._events[event].push(fct);
};
EventEmitter.prototype.emit = function(event /* , args... */){
this._events = this._events || {};
function Clock(id) {
this.id = id;
this.init();
}
Clock.prototype = new EventEmitter();
Clock.prototype.init = function(){
var self = this;
self.on('tick', function(){
console.log('clock '+self.id+' emitted tick event at '+new Date());
var myClock1 = new Clock('123');
var myClock2 = new Clock('345');
setInterval(function(){
myClock1.emit('tick');
},1000);
setInterval(function(){
myClock2.emit('tick');
},1500);