Skip to content

Instantly share code, notes, and snippets.

View jamiechapman's full-sized avatar
:shipit:

Jamie Chapman jamiechapman

:shipit:
View GitHub Profile
@jamiechapman
jamiechapman / windsurf-auto-continue.js
Created July 5, 2025 23:24 — forked from steipete/windsurf-auto-continue.js
Windsurf Auto Continue press button JS. Windsurf Menu Help -> Toggle Developer Tools -> Paste into Console.
// Windsurf Auto Press Continue v13.2 (with added logging)
(() => {
const SCRIPT_NAME = 'Windsurf Auto Press Continue v13.2 (logged)'; // Updated name for clarity
let intervalId = null, lastClick = 0;
// --- Config ---
const BTN_SELECTORS = 'span[class*="bg-ide-button-secondary-background"]';
const BTN_TEXT_STARTS_WITH = 'continue';
const SIDEBAR_SELECTOR = null;
const COOLDOWN_MS = 3000;
Parse.Cloud.afterSave("Upload", function(req) {
if(req.user) {
if(req.object.has('type') && req.object.has('file')) {
var type = req.object.get('type');
if(type === 'avatar') {
console.log("Saving file..." + req.user.id);
@jamiechapman
jamiechapman / ParseProxyObject.java
Last active March 14, 2019 07:37
A Parse.com Serializable ParseObject Proxy
// By Jamie Chapman, @chappers57
// License: open, do as you wish, just don't blame me if stuff breaks ;-)
public class ParseProxyObject implements Serializable {
private static final long serialVersionUID = 1L;
private HashMap<String, Object> values = new HashMap<String, Object>();
public HashMap<String, Object> getValues() {
return values;