Skip to content

Instantly share code, notes, and snippets.

View kikitux's full-sized avatar

Alvaro Miranda Aguilera kikitux

View GitHub Profile
@kikitux
kikitux / a.log
Last active August 2, 2024 06:53
test1
test
@kikitux
kikitux / atik-indi-phd2-raspbian-instructions.md
Created January 3, 2021 23:05 — forked from jkutner/atik-indi-phd2-raspbian-instructions.md
Turn a Raspberry Pi into an Astrophotography Autoguider

Turn a Raspberry Pi into an Astrophotography Autoguider

@codefinger

I hate when my images turn out like this:

Drift

You can barely see the Crab Nebula drifting through the frame because I didn't align my mount well. To keep my telescope fixed on an object during long exposures, I needed an autoguider. But I also hate having a laptop in the field, which is required for most autoguiding solutions. To avoid this burdensome piece of equipment, I turned a Raspberry Pi with a touchscreen case into an on-board autoguiding system for my astrophotography rig. 

# variables
variable "environment" {
default = "eastus"
}
variable "location" {
default = "eastus"
}
@kikitux
kikitux / a.md
Last active March 19, 2019 11:06

name of the doc

text

title title
line1 line1
continent country capital
europe italia no_idea
@kikitux
kikitux / template.json
Last active January 3, 2019 20:51
packer all the things
{
"builders": [{
"boot_command": [
"<tab> append initrd=initrd.img inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos7.ks<enter><wait>"
],
"boot_wait": "20s",
"guest_additions_path": "VBoxGuestAdditions.iso",
"guest_os_type": "RedHat_64",
"headless": false,
"http_directory": "kickstart",
@kikitux
kikitux / Save space
Last active September 16, 2018 09:03
Find space to save
0 $ tmutil listlocalsnapshots /
0 $ sudo tmutil deletelocalsnapshots <snapshot>
du -sk /Applications/*/ | sort -n
du -sk ~/.[A-z]*/ ~/*/ 2>/dev/null | sort -un
du -sk /Users/alvaro/Library/*/ | sort -n
@kikitux
kikitux / docker.sh
Last active September 12, 2024 14:07
Install docker-ce in odroid xu4/xu4q linux-arm arm
#!/usr/bin/env bash
set -e
apt-get update
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository \
"deb [arch=armhf] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \

Keybase proof

I hereby claim:

  • I am kikitux on github.
  • I am kikitux (https://keybase.io/kikitux) on keybase.
  • I have a public key ASCsJyuzKsfjG0Uy2iu2YNYI36gpc4xH_fOR0q8SGl7irgo

To claim this, I am signing this object:

@kikitux
kikitux / Vagrantfile
Last active June 25, 2023 10:23
Vagrantfile, multi machine with ssh password less and hostname over private network.
numnodes=2
baseip="192.168.10"
#global script
$global = <<SCRIPT
#check for private key for vm-vm comm
[ -f /vagrant/id_rsa ] || {
ssh-keygen -t rsa -f /vagrant/id_rsa -q -N ''
}