Skip to content

Instantly share code, notes, and snippets.

View joaomcarlos's full-sized avatar

João Carlos joaomcarlos

View GitHub Profile
import logging
import subprocess
from pathlib import Path
# Get the python venv
out = subprocess.run(
["pip show pip | grep Location"],
shell=True,
capture_output=True,
text=True,
import os
import sys
from abc import ABC
from urllib.parse import urlsplit
from weakref import WeakKeyDictionary
import sentry_sdk
from nameko.extensions import DependencyProvider
from nameko.web.handlers import HttpRequestHandler
from sentry_sdk import Hub
@joaomcarlos
joaomcarlos / Creality CR-20 Pro.fff
Created March 9, 2020 23:43 — forked from jrlucier/Creality CR-20 Pro.fff
Creality CR-20 PRO Simplify3d Configuration
<?xml version="1.0"?>
<profile name="Creality CR-20 Pro" version="2018-01-19 08:00:00" app="S3D-Software 4.0.0">
<baseProfile></baseProfile>
<printMaterial>PLA</printMaterial>
<printQuality>Medium</printQuality>
<printExtruders></printExtruders>
<extruder name="Primary Extruder">
<toolheadNumber>0</toolheadNumber>
<diameter>0.4</diameter>
<autoWidth>0</autoWidth>
@joaomcarlos
joaomcarlos / designer.html
Last active August 29, 2015 14:13
designer
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<link rel="import" href="../topeka-elements/topeka-profile.html">
<link rel="import" href="../paper-ripple/paper-ripple.html">
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<polymer-element name="my-element">

#Meteor and Self-hosted Infrastructure

Meteor is an eye-opening JavaScript framework that runs on both the client and the server, giving developers a revolutionary take on software engineering. If you are not familiar with Meteor, I urge you to visit their website.

##An overview

In this brief gist, I am going to discuss the process of setting up a server (in my case, a VPS) to host Meteor applications.

My experience with Meteor has been brief, however it has not taken much demonstration for me to realise the significance of this stellar framework. Let's jump right in!