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/bash | |
# Installer for toxcore and qtox for ubuntu | |
sudo apt-get install \ | |
build-essential \ | |
cmake \ | |
libavcodec-dev \ | |
libavdevice-dev \ | |
libavfilter-dev \ |
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
def fib(n, f1, f2): | |
f3 = f1+f2 | |
print(n, f1,'+', f2, '=', f3) | |
if f3 < n: | |
n -= 1 | |
f3 = f2 + f1 | |
return fib(n, f2, f3) | |
else: |
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
# Function for nth Fibonacci number | |
def Fibonacci(n): | |
if n<0: | |
print("Incorrect input") | |
# First Fibonacci number is 0 | |
elif n==1: | |
return 0 | |
# Second Fibonacci number is 1 | |
elif n==2: | |
return 1 |
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
pt 1. tell you more about unizen, team project, motivating you for the role | |
- 20p company | |
- 6p engineering team | |
- downtown austin | |
- serves educational tech market | |
- digital transformation cuase / academic mission | |
- digital content (digital versions of textbooks) | |
- unizen provides solutions that helps universities profide OERs | |
- shopping experience for faculty, etc |
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
// trigger at: https://us-central1-imag-178020.cloudfunctions.net/gacloud | |
const request = require('request'); | |
const express = require('express'); | |
const cors = require('cors'); | |
const functions = require('firebase-functions'); | |
const app = express() | |
app.use(cors({ origin: true })) |
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
import pandas as pd | |
df1 = pd.DataFrame({ | |
'a': [1,2,3], | |
'b': [4,5,6] | |
}) | |
df2 = pd.DataFrame({ | |
'c': [7,8], | |
'd': [9,10], |
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
import pandas as pd | |
import io | |
from flask import Flask, make_response | |
app = Flask(__name__) | |
@app.route('/', methods=['GET', 'POST']) | |
def hello_world(request): | |
"""Responds to any HTTP request. | |
Args: |
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
const request = require('request'); | |
const express = require('express'); | |
const cors = require('cors'); | |
const functions = require('firebase-functions'); | |
const app = express() | |
app.use(cors({ origin: true })) | |
const payload = ` |
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
{ | |
"name": "mere", | |
"version": "0.0.0", | |
"dependencies": { | |
"cookie-parser": "~1.4.4", | |
"cors": "^2.8.5", | |
"debug": "~2.6.9", | |
"express": "~4.16.1", | |
"firebase-functions": "^3.3.0", | |
"firebase-admin": "^8.9.0", |
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
const express = require('express'); | |
const cors = require('cors'); | |
const functions = require('firebase-functions'); | |
const app = express() | |
const payload = ` | |
<!doctype html> | |
<html lang="en"> | |
<head> |
NewerOlder