This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Todo Projects | |
Projects to develop | |
- Get crossfit schedules and training from their twitter account and add it in my google calendar | |
- VPN in raspberry | |
Optional: | |
- Earthquakes bot using telegram |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DISCORD_BOT_TOKEN= # include the bot token https://github.com/denverquane/automuteus#self-hosting | |
POSTGRES_ADDR=postgres:5432 | |
POSTGRES_USER=postgres | |
POSTGRES_PASS=My_p4Ssw0rd! | |
AUTOMUTEUS_TAG=6 | |
BROKER_PORT=8123 | |
AUTOMUTEUS_REDIS_ADDR=redis:6379 | |
GALACTUS_REDIS_ADDR=redis:6379 | |
GALACTUS_TAG=2.4.1 | |
GALACTUS_HOST= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"bytes" | |
"io" | |
"io/ioutil" | |
"log" | |
"os" | |
"strconv" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app.java.kafka.poc; | |
import org.apache.kafka.common.KafkaException; | |
import org.apache.kafka.common.errors.UnknownProducerIdException; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.cloud.stream.annotation.EnableBinding; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.10 | |
ARG MECAB_VERSION="0.996" | |
ARG IPADIC_VERSION="2.7.0-20070801" | |
ARG USERNAME="nroot" | |
ENV CGO_LDFLAGS -L/usr/lib/x86_64-linux-gnu -lmecab -lstdc++ | |
ENV CGO_CFLAGS -I/usr/include | |
RUN apk add --no-cache alpine-sdk --virtual .builddeps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0.0 TEL | Telepresence 0.95 launched at Mon Dec 17 15:56:32 2018 | |
0.0 TEL | /usr/bin/telepresence | |
0.0 TEL | Platform: linux | |
0.0 TEL | Python 3.6.7 (default, Oct 22 2018, 11:32:17) | |
0.0 TEL | [GCC 8.2.0] | |
0.0 TEL | [1] Running: uname -a | |
0.0 1 | Linux azurite 4.18.0-12-generic #13-Ubuntu SMP Wed Nov 14 15:17:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | |
0.0 TEL | BEGIN SPAN main.py:47(main) | |
0.0 TEL | BEGIN SPAN startup.py:55(__init__) | |
0.0 TEL | [2] Capturing: kubectl version --short |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"github.com/aws/aws-sdk-go/aws" | |
"github.com/aws/aws-sdk-go/aws/session" | |
"github.com/aws/aws-sdk-go/service/s3" | |
"log" | |
"time" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
from argparse import ArgumentParser | |
LAPTOP_POSITIONS = dict(LAPTOP_SCREEN_HOME_POSITION='1920x0', LAPTOP_SCREEN_WORK_POSITION='0x1080') | |
SCREENS_OPTIONS = dict( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import subprocess | |
import re | |
COMMAND_XINPUT = 'xinput' | |
ARG_COMMAND_XINPUT_DISABLE = 'disable' | |
PATTERN_TOUCHSCREEN = 'Touchscreen\s+id=\d+' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015/11/01 15:07:39 [INFO] Packer version: 0.8.6 f8f7b7a34c1be06058f5aca23a51247db12cdbc5+CHANGES | |
2015/11/01 15:07:39 Packer Target OS/Arch: linux amd64 | |
2015/11/01 15:07:39 Built with Go Version: go1.5 | |
2015/11/01 15:07:39 [DEBUG] Discovered plugin: amazon-chroot = /opt/packer/packer-builder-amazon-chroot | |
2015/11/01 15:07:39 [DEBUG] Discovered plugin: amazon-ebs = /opt/packer/packer-builder-amazon-ebs | |
2015/11/01 15:07:39 [DEBUG] Discovered plugin: amazon-instance = /opt/packer/packer-builder-amazon-instance | |
2015/11/01 15:07:39 [DEBUG] Discovered plugin: digitalocean = /opt/packer/packer-builder-digitalocean | |
2015/11/01 15:07:39 [DEBUG] Discovered plugin: docker = /opt/packer/packer-builder-docker | |
2015/11/01 15:07:39 [DEBUG] Discovered plugin: file = /opt/packer/packer-builder-file | |
2015/11/01 15:07:39 [DEBUG] Discovered plugin: googlecompute = /opt/packer/packer-builder-googlecompute |