This file contains hidden or 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
from cs50 import get_float | |
# Get positive float from user | |
while True: | |
change = get_float("Change owed: ") | |
if change > 0: | |
break | |
# declare variables | |
total, count = change * 100, 0 | |
# calculate count of coins | |
for x in [25, 10, 5, 1]: |
This file contains hidden or 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
from cs50 import get_string | |
# Get text from user | |
text = get_string("Text: ") | |
# define variables | |
letters, words, sentences = 0, 1, 0 | |
# Count letters, words and sentences in text | |
for i in range(len(text)): |
This file contains hidden or 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
#include <stdio.h> | |
#include <stdlib.h> | |
//TODO | |
// Figure out how to detect the end of the file an stop | |
// Figure out what the nth piece of buffer contains when it reads into it from the final chunk | |
// ie when it runs out of infile, and tries to read that into buffer, what does buffer[i] then contain? | |
// use that as condition either | |
// a) in an if () branch on line 77 OR | |
// b) as an extra criteria in the while loop beginning line 80 |
This file contains hidden or 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
// Copies a BMP file | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include "bmp.h" | |
// Use debug50 if confused |
This file contains hidden or 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
// Resizes a BMP file | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include "bmp.h" | |
// Use debug50 if confused |
This file contains hidden or 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
{ | |
"status": 200, | |
"data": [ | |
{ | |
"id": "9kvcFFT2hWadxxTThwKtiw_0000", | |
"full_name": "dave cole", | |
"first_name": "dave", | |
"middle_initial": "h", | |
"middle_name": "hagerty", | |
"last_initial": "c", |
This file contains hidden or 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
{ | |
"status": 200, | |
"data": [ | |
{ | |
"id": "MP7cde2QWZ2FEZfz00RLNw_0000", | |
"full_name": "geoffrey lee", | |
"first_name": "geoffrey", | |
"middle_initial": "j", | |
"middle_name": null, | |
"last_initial": "l", |
This file contains hidden or 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
SELECT * FROM person WHERE (location_metro = 'san francisco, california' and (job_title = 'software engineer' or job_title = 'staff engineer' or job_title = 'staff software engineer' or job_title = 'senior engineer' or job_title = 'senior software engineer' or job_title = 'founding engineer' or job_title = 'founding software engineer' or job_title = 'fullstack engineer' or job_title = 'fullstack software engineer' or job_title = 'full-stack engineer' or job_title = 'full-stack software engineer' or job_title = 'backend engineer' or job_title = 'back end engineer' or job_title = 'backend software engineer' or job_title = 'back end software engineer' or job_title = 'product engineer' or job_title = 'senior product engineer' or job_title = 'software developer' or job_title = 'staff developer' or job_title = 'staff software developer' or job_title = 'senior developer' or job_title = 'senior software developer' or job_title = 'founding developer' or job_title = 'founding software developer' or job_title = 'fullsta |
This file contains hidden or 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
We are hiring a Founding AI Product Engineer / Full Stack AI engineer. | |
Fully remote (ideally based in Montreal, or Toronto). | |
Generous stock option plan. | |
The Stack: DSPy, FastAPI, ColPali, Vespa, Next.JS (Ts), Iceberg, Ray.io, K8s | |
Trampoline is a pre-seed-stage Al sales tool founded by Gabriel Lespérance (CS @ McGill, prev CTO @ Wavo.me, X @glesperance, 4x Deloitte Fast 50) and Ed Reinach (X @ereinach, prev Head of Growth @Urbania, 20+ International Awards) . | |
This is an invite-only opportunity. We will not post a public job description - because this is more than a job. |
This file contains hidden or 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
server: 'cloudflare', | |
'set-cookie': '_cfuvid=sl_9UlHm_wkcldUGN6EAJGAdXrbmG.mJVAzGayQB4_4-1744220218472-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None', | |
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', | |
vary: 'Origin', | |
'x-content-type-options': 'nosniff', | |
'x-ratelimit-limit-requests': '200', | |
'x-ratelimit-limit-tokens': '100000', | |
'x-ratelimit-remaining-requests': '0', | |
'x-ratelimit-remaining-tokens': '433', | |
'x-ratelimit-reset-requests': '23h56m21.327s', |
OlderNewer