Skip to content

Instantly share code, notes, and snippets.

Avatar
🎩
We R

William Wyatt Tsangares

🎩
We R
View GitHub Profile
@Tsangares
Tsangares / IOTA_Workshop.md
Last active Nov 26, 2020
IOTA Workshop Whitepaper
View IOTA_Workshop.md

IOTA Workshop

Description

The IOTA Workshop is a craft-production factorty run by a decentralized autonomous organization, for primarily humans to use. While reading futher, please think of this as a thought experiment rather than a business proposal. Inside the workshop, are the tools and instruments that people need to produce goods or commodities. Users of the workshop pay an amount dependent on the wear and tear of the tools they use, along with upkeep costs. For security, users also need to put down a form of refundable collateral. The goal of the IOTA Workshop is to offer specialized industrial tools at higly commpetative and reasonable prices. It is the equivalent of a rental tool business but is distinctive because it operates autonomously at lower costs and is fully transparent. This workshop would be self-sustaining, cheap to use, and highly accessible.

The Problem Being Solved

Normally, a business or a capitalist would come in possessi

@Tsangares
Tsangares / intro.md
Last active Feb 15, 2019
Phys 9a LGAD: Parsing XML
View intro.md

Here is the input xml file we will be manipulating:

You can do all the anlysis in your jupyter notebook as long as it has the pip packages pandas,matplotlib,scipi,xlrd.

Take the excel file and put it in your jupyter notebook, or in your working directory.

Import panda using import pandas as pd, then use the following example to import the excel file:

@Tsangares
Tsangares / Asgn1.md
Last active Feb 5, 2019
Programming Assignent For Phys 9A
View Asgn1.md

Hi all,

The first thing I would like to do is use the library matplotlib to plot the normal distrubution with μ = 0 and σ = 1.

To import matplotlib you use the statement:

import matplotlib.pyplot as plt

Now you can plot make plots using plt.plot() like plt.plot([0,1,2,3],[0,1,2,3]), and to show them use plt.show() (it might be different on juipiter).

View installing_root.md

Windows 10

Step 1: X-Window manager

Download and install XMing: XMing

Step 2: Enabling Ubuntu on Windows

Open powershell with admin priveldges:

  • Hit windows button and search for power shell
  • Right click icon and hit run as admin
@Tsangares
Tsangares / instructions.md
Created Jan 31, 2019
Summary on how to manage a pip repo
View instructions.md

pip repos are located online at https://pypi.org/

You need a setup.py that looks like this:

import setuptools                                                                                                                                                                                                                                                                                                                                 
setuptools.setup(                                                                                                                                                        
 name="contraption",                                                                                                                                                  
 version="0.0.1",                                                                                                                                                     
 author="Joe Je",                                                  
View gist:d28cf787214913d74ebee75149e8ab02
server {
listen 80;
server_name lucashenry.xyz;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;