Skip to content

Instantly share code, notes, and snippets.

View stratosgear's full-sized avatar
💭
🌴

Stratos Gerakakis stratosgear

💭
🌴
View GitHub Profile
@stratosgear
stratosgear / pacaur_install.sh
Last active January 19, 2017 13:23 — forked from tadly/pacaur_install.sh
A simple shell script to quickly / easily install "pacaur" on archlinux
#!/bin/sh
# If you are new to arch, I encourage you to at least read and understand what
# this script does befor blindley running it.
# That's why I didn't make a one-liner out of it so you have an easier time
# reading and understanding it :)
#
# This scripts purpose is purly to save you a few seconds on your new installation.
#
# Enjoy your time on an awesome system. Arch FTW!

Keybase proof

I hereby claim:

  • I am stratosgear on github.
  • I am stratos (https://keybase.io/stratos) on keybase.
  • I have a public key ASC1YwttjT2zx5AkBxgXveFn9AEOlliC1QHnEyCbAsUYyQo

To claim this, I am signing this object:

@stratosgear
stratosgear / Stylefile.yml
Created August 2, 2018 08:19
Customizations for github.com via StyleURL.
---
version: 1.0
domains:
- github.com
url_patterns:
- github.com/*
timestamp: '2018-08-02T08:18:47Z'
id: Wm7V
redirect_url: https://github.com/
shared_via: StyleURL - (https://styleurl.app) import and export CSS changes from Chrome
@stratosgear
stratosgear / rpi3_iot_server.md
Created January 20, 2019 20:07 — forked from xoseperez/rpi3_iot_server.md
Raspberry Pi 3 with Mosquitto, Node-RED, InfluxDB, Grafana and Nginx (as a reverse proxy)
planet diameter
Mercury 4878
Venus 12104
Earth 12760
Mars 6787
Jupiter 139822
Saturn 120500
Uranus 51120
Neptune 49530
Pluto 2301
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] Linux serenity 5.0.2-arch1-1-ARCH #1 SMP PREEMPT Thu Mar 14 18:47:49 UTC 2019 x86_64 GNU/Linux
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:169] Contents of /etc/os-release:
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] NAME="Arch Linux"
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] PRETTY_NAME="Arch Linux"
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] ID=arch
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] BUILD_ID=rolling
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] ANSI_COLOR="0;36"
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] HOME_URL="https://www.archlinux.org/"
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] DOCUMENTATION_URL="https://wiki.archlinux.org/"
2019-03-22 09:47:58 - [sway-1.0/sway/main.c:153] SUPPORT_URL="https://bbs.archlinux.org/"
@stratosgear
stratosgear / paypal_experience.md
Last active July 29, 2019 15:26
Ask HN: Is this Paypal experience customary?

Here is a succinct timeline of the events.

  • I received a Paypal notification that 600 USD were deposited on my account.
  • I was not expecting any money, so I logged in to see what this is about.
  • Apparently someone paid me for an item they bought on Ebay.
  • The information contained on my Paypal account about the transaction, did NOT contain any information on what this is about.
  • I am NOT an Ebay seller, so I have nothing else to follow this up.
  • My first thought (apart from quickly spending the money) was that some poor soul after thinking that they have paid for an item they would wait for ever for an item they thought they purchased, only to never receive it.
  • So I spent some considerable amount of time trying to locate the seller from their name only (did not have an email) by googling around, to clarify the issue
  • As it was getting late, I left the issue to continue the next day.
[tool.poetry]
name = "XXXXX"
version = "1.2.3"
description = "Project description"
authors = ["me <me@internet.com>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.7"
fastapi= "^0.39.0"
@stratosgear
stratosgear / gist:964228
Last active February 18, 2020 19:32
Sample javascript snippet
We couldn’t find that file to show.
{
"openapi": "3.0.2",
"info": {
"title": "rapidxmm",
"version": "0.2.45",
"description": "API server for upper limits requests, currently supporting XMM only"
},
"paths": {
"/api/v1/version": {
"get": {