Skip to content

Instantly share code, notes, and snippets.

View juananpe's full-sized avatar
🎯
Focusing

Juanan Pereira juananpe

🎯
Focusing
View GitHub Profile
@juananpe
juananpe / claude_agent_sdk_colab.ipynb
Last active November 9, 2026 20:41
Claude Agent SDK (Claude Code SDK) en Google Colab: ejemplos portados desde Copilot SDK
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@juananpe
juananpe / issue_summary.md
Created March 14, 2026 21:25
BUM2 Issue Creation Summary
@juananpe
juananpe / evals_final.md
Last active March 18, 2026 11:58
BUM2 Evaluation Results

Evaluation Results for BUM2 Spec

Based on the specifications in bum2.txt, the following repositories were evaluated.

Summary

Student Repo URL tests_pass mainwin drivers_fxml bl_interface businesslogic dbaccess pilot overloaded_constructor fxml_buttons controller_methods module_name delegation overall
alexordazz alexordazz-BUM2 Link ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Xavi670 Xavi670-BUM2 Link ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ❌ ❌ ✅ ✅ ✅
@juananpe
juananpe / lambdaAPI.md
Created August 28, 2024 08:02
Using the Lambda Chat Completions API

Using the Lambda Chat Completions API

Lambda Docs
https://docs.lambdalabs.com/

The Lambda Chat Completions API enables you to use the Llama 3.1 405B Instruct large language model (LLM) and fine-tuned versions such as Nous Research's Hermes 3, without the need to set up your own vLLM API server on an on-demand instance or 1-Click Cluster (1CC).

Try Lambda Chat!

Since the Lambda Chat Completions API is compatible with the OpenAI API, you can use it as a drop-in replacement for applications currently using the OpenAI API.

@juananpe
juananpe / readFile.java
Created March 8, 2023 10:24
read text file from resources folder
public String readFile(String filename) {
String content = "";
try {
// read filename from resources folder
URL fileURL = getClass().getResource(filename);
content = new String ( Files.readAllBytes( Paths.get( fileURL.getFile() ) ) );
}
catch (IOException e) {
e.printStackTrace();
}
@juananpe
juananpe / HackTheBox University CTF 2022
Last active December 7, 2022 21:41
HackTheBox University CTF 2022 WriteUps
Writeup online! HTB University CTF 2022 - Fake News http://exto.lo.gs/htb-university-ctf-2022-fake-news-a213495533
@K1nd4SUS_ctf
https://twitter.com/_eexto/status/1599481956638461952
Walkthrough: HTB University CTF 2022 “The Magic Informer” Challenge http://dlvr.it/SdrL9h #ctf #cybersecurity #ssrf
https://twitter.com/iSecurity/status/1599584233752006656
W0rty / HTP-Univ-Spell-Orsterra
github.com/W0rty/HTB-Univ-Spell-Orsterra
@juananpe
juananpe / easyhacks.txt
Created June 22, 2020 20:50
alternative issue names for easyhacks
beginner
beginner friendly
beginners-only
contribution-starter
difficulty/low
difficulty/newcomer
Easy
easyfix
easyhack
easy hack
@juananpe
juananpe / wb_admin_export_options.py
Created May 3, 2020 16:03
Patched wb_admin_export_options.py to avoid the "Unknown table 'COLUMN_STATISTICS' in information_schema (1109)" dreaded error
# Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2.0,
# as published by the Free Software Foundation.
#
# This program is also distributed with certain software (including
# but not limited to OpenSSL) that is licensed under separate terms, as
# designated in a particular file or component or in included license
# documentation. The authors of MySQL hereby grant you an additional
@juananpe
juananpe / lastcommitdatebybranch.js
Created October 31, 2019 11:54
show last commit date of each branch
{
search(query: "org:bardsoftware", type: REPOSITORY, last: 100) {
nodes {
... on Repository {
nameWithOwner
refs(first: 100, refPrefix: "refs/heads/") {
nodes {
name
target {
... on Commit {
@juananpe
juananpe / uninstall_vmware.sh
Last active June 21, 2019 10:19
Completely uninstall VMWare on macOS
#!/usr/bin/env bash
# Usage: bash uninstall_vmware.bash
remove() {
entry="$1"
echo -ne "Removing $entry ["
sudo rm -rf "$entry"
if [[ ! -e "$entry" ]]; then
echo -ne "OK"