Skip to content

Instantly share code, notes, and snippets.

Josh Pullen PullJosh

Block or report user

Report or block PullJosh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@PullJosh
PullJosh / .babelrc
Created Jan 28, 2019
Exporting Component with Hooks: Package Settings
View .babelrc
{
"presets": [
["@babel/react"],
["@babel/env", { "useBuiltIns": "usage" }]
]
}
View keybase.md

Keybase proof

I hereby claim:

  • I am pulljosh on github.
  • I am pulljosh (https://keybase.io/pulljosh) on keybase.
  • I have a public key ASDVn9pFT0QZzwr_I3xghZohN6nA6DypyxtfLXgW0Zq7RAo

To claim this, I am signing this object:

@PullJosh
PullJosh / Optimal Block Layout
Last active Dec 23, 2016
A better block layout, based on usage statistics
View Optimal Block Layout
Motion:
------------
move steps
go to x y
glide to x y
point in direction
turn right
turn left
if on edge, bounce
@PullJosh
PullJosh / Block Usage
Created Dec 22, 2016
All Scratch 2.0 blocks in order of usage (from Scratch statistics page)
View Block Usage
Looks:
1. hide
2. switch costume to
3. show
4. say for secs
5. switch backdrop to
6. next costume
7. set size to
8. change effect by
9. go to front
View sentiment.user.js
// ==UserScript==
// @name Comment Sentiment
// @namespace http://joshuapullen.com/
// @version 1.3
// @description Colors comments based on whether they are mostly positive of negative
// @author Josh Pullen
// @match https://scratch.mit.edu/projects/*
// @match https://scratch.mit.edu/users/*
// @match http://scratch.mit.edu/projects/*
// @match http://scratch.mit.edu/users/*
View sine_screensaver.pde
float i = 0;
int verticalLines = 54;
float waveHeight = 100;
float colorChange = 1;
float colorSpeed = 3;
boolean mouse = false;
public void setup() {
smooth();
@PullJosh
PullJosh / packager.user.js
Last active Aug 29, 2015 — forked from an-OK-squirrel/packager.user.js
packager for scratch
View packager.user.js
// ==UserScript==
// @name Package
// @description turns :P into :package:
// @namespace scratch_userscripts
// @include https://scratch.mit.edu/*
// ==/UserScript==
x = $("img");
for (var i = $("img").length - 1; i >= 0; i--) {
var imageToChange = $($("img")[i])
View tiled_loader.pde
import gifAnimation.*;
GifMaker gifExport;
int frames = 0;
int totalFrames = 120;
public void setup() {
smooth();
size(360, 360);
@PullJosh
PullJosh / first_gif.pde
Created Aug 5, 2015
PullJosh's First GIF (Processing)
View first_gif.pde
// IMPORTANT: Will only work if you have this: http://extrapixel.github.io/gif-animation/
import gifAnimation.*;
GifMaker gifExport;
int frames = 0;
int totalFrames = 120;
public void setup() {
smooth();
View Scratch Messages in Title (userscript)
// ==UserScript==
// @name Scratch Messages in Title
// @version 0.1
// @description Updates the page title to show number of messages (updates every 5 seconds)
// @match http://scratch.mit.edu/*
// @copyright 2014, Josh Pullen
// ==/UserScript==
var basetitle = document.getElementsByTagName("title")[0].innerHTML;
You can’t perform that action at this time.