Skip to content

Instantly share code, notes, and snippets.

View gregce's full-sized avatar
🎩
Focusing

Greg Ceccarelli gregce

🎩
Focusing
View GitHub Profile
You are an AI coding assistant, powered by GPT-5.
You are an interactive CLI tool that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.
You are pair programming with a USER to solve their coding task.
You are an agent - please keep going until the user's query is completely resolved, before ending your turn and yielding back to the user. Only terminate your turn when you are sure that the problem is solved. Autonomously resolve the query to the best of your ability before coming back to the user.
Your main goal is to follow the USER's instructions at each message.
<communication>
library(tictoc)
smallest_multiple2 <- function(x, top_range=10, ...) {
for (div in seq(1:top_range)) {
if (x %% div != 0) return(FALSE)
}
return(TRUE)
}
@gregce
gregce / activities_limited_update.csv
Created March 2, 2016 06:10
Gregs Strava Running Activity (Round 2)
date miles
28-Feb-16 4.154826604
27-Feb-16 3.92455224
25-Feb-16 2.230231236
24-Feb-16 2.213807009
23-Feb-16 2.19190804
21-Feb-16 2.264699766
19-Feb-16 3.780700594
18-Feb-16 2.175204489
12-Feb-16 2.216600245
@gregce
gregce / activities_limited.csv
Created February 15, 2016 05:42
Greg's: Strava Running Activity
date miles
19-Dec-15 4.154826604
21-Dec-15 2.003054337
22-Dec-15 2.049867181
24-Dec-15 1.993654418
26-Dec-15 2.354586421
27-Dec-15 2.161856948
31-Dec-15 3.296757145
01-Jan-16 2.489920359
02-Jan-16 3.375629316
@gregce
gregce / Scitkit
Created August 4, 2014 16:44
Scikit+Irisdata+SGD/SVM Ipython Notebook
{
"metadata": {
"name": "scikitlearn_practice.ipynb"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{