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
#!/bin/python3 | |
import math | |
import os | |
import random | |
import re | |
import sys | |
# Complete the compareTriplets function below. | |
def compareTriplets(a, b): |
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 | |
from passlib.hash import sha512_crypt | |
from subprocess import call | |
import csv | |
import sys | |
def load_users(csv_file): |
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
--- | |
da Boss: | |
- Humberto Ortiz-Zuazaga: | |
phone: '' | |
De Novo Sequencing Project: | |
- Ivan Jimenez Ruiz: | |
phone: '' | |
- Israel Dilan Pantojas: | |
phone: '7872414148' | |
SalHUD Project: |
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/python | |
# int to word. codetrotters | |
# Alejandro Salvador Vega Nogales | |
def intToWord(n): | |
if (n == 0): | |
return "zero" | |
else: | |
# commence string building and component declaration | |
ones = {1: "one", 2: "two", 3: "three", 4: "four", 5: "five", 6: "six", 7: "seven", 8: "eight", 9: "nine" } | |
teens = {11: "eleven", 12: "twelve", 13: "thirteen", 14:"fourteen", 15: "fifteen", 16: "sixteen", 17: "seventeen", 18: "eighteen", 19: "nineteen"} |
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/bash | |
#script to turn off wifi if ethernet cable is connected | |
#and turn wifi back on if the wifi interfaces are down and ethernet is not connected | |
#variables that | |
eth_state =$(< /sys/class/net/enp0s25/carrier) | |
wifi =$(< /sys/class/net/wlp3s0/operstate) | |
usb_wifi = $(< /sys/class/net/wlp0s29u1u1/operstate) |