Skip to content

Instantly share code, notes, and snippets.

View ken-morel's full-sized avatar
🚃
working on gama

Engon Ken Morel ken-morel

🚃
working on gama
View GitHub Profile
@RobinJadoul
RobinJadoul / README.md
Created January 20, 2023 13:08
HEPL - a simple repl integration for the helix editor

HEPL

This is a simple repl integration for the helix editor. It relies on on tmux to show the repl in a separate pane and on jupyter (jupyter-console and whatever jupyter kernels you might like) to run the actual repl.

Features

  • Works with any jupyter kernel
  • Code is dedented to the highest common level, so you can send python code from the middle of a function to the repl too
  • No issues with multiline pieces of code or blank lines inside of a function body, it works as you'd expect it to
@hkulekci
hkulekci / cube.c
Created April 4, 2012 10:41
OpenGL Cube Example
#include<stdio.h>
#include <gl/glut.h>
#define KEY_ESC 27 /* GLUT doesn't supply this */
int fullscreen = 0;
int mouseDown = 0;
float xrot = 100.0f;
float yrot = -100.0f;