Skip to content

Instantly share code, notes, and snippets.

View ConorOBrien-Foxx's full-sized avatar

Conor O'Brien ConorOBrien-Foxx

View GitHub Profile
@fnky
fnky / ANSI.md
Last active November 16, 2024 21:14
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
abandoned
able
absolute
adorable
adventurous
academic
acceptable
acclaimed
accomplished
accurate
['MultivariateHypergeometricDistribution',
'GaussianSymplecticMatrixDistribution',
'GaussianOrthogonalMatrixDistribution',
'CircularSymplecticMatrixDistribution',
'CircularQuaternionMatrixDistribution',
'CircularOrthogonalMatrixDistribution',
'WalleniusHypergeometricDistribution',
'NormalizedSquaredEuclideanDistance',
'LongestCommonSubsequencePositions',
'InverseContinuousWaveletTransform',
@harrypujols
harrypujols / execute.js
Created May 9, 2017 19:48
Execute shell command in javascript
#!/usr/bin/env node
function execute(command) {
const exec = require('child_process').exec
exec(command, (err, stdout, stderr) => {
process.stdout.write(stdout)
})
}
@m-ender
m-ender / simple-challenges.md
Last active February 24, 2022 23:07
Simple challenges on CodeGolf.SE to take new programming languages for a spin.
Neoscript https://github.com/tuxcrafting/neoscript
Cheddar https://github.com/cheddar-lang/Cheddar
Stack Cats https://github.com/m-ender/stackcats
desc https://github.com/ConorOBrien-Foxx/tc17
recticular https://github.com/ConorOBrien-Foxx/reticular
eacal https://github.com/ConorOBrien-Foxx/eacal
vectil https://github.com/ConorOBrien-Foxx/vectil
yup https://github.com/ConorOBrien-Foxx/yup
ITML https://github.com/ConorOBrien-Foxx/ITML
GoLScript https://github.com/ConorOBrien-Foxx/GoLScript
@turbo
turbo / c.md
Last active September 17, 2020 23:30

The Comic

This is an irregularly updated comic about things. It might contain inside jokes. The strips all have alt text.

#2 Job Golfing

#1 Adventures of Uberman

@vihanb
vihanb / smallcaps.user.js
Created March 9, 2016 03:01
Make everything small caps
// ==UserScript==
// @name Small Caps
// @namespace asdfjeiwofsndalcxzafsd
// @version 1
// @description Make everything small caps
// @author Downgoat
// @match *://*/*
// @grant GM_addStyle
// ==/UserScript==
#include <GDIPlus.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <Array.au3>
;~ inpaint("gothic_in.png", "gothic_out.png")
;~ inpaint("starry_in.png", "starry_out.png")
;~ inpaint("scream_in.png", "scream_out.png")
;~ inpaint("mona_in.png", "mona_out.png")
;~ inpaint("maze_in.png", "maze_out.png")
@vihanb
vihanb / testcases
Last active January 23, 2016 18:04
Header Parsing Challenge Test Cases
Pyth - <h2>Pyth, <s>40</s> <s>36</s> <s>34</s> 32 bytes</h2>
Ruby - <h2>Ruby (2.2.2p95), 124 bytes</h2>
TeaScript - <h1><a href="https://esolangs.org/wiki/TeaScript" rel="nofollow">TeaScript</a>, 16 bytes</h1>
Bash - <h1>Bash</h1>
Jelly - <h1>Jelly, 29 bytes</h1>
Pyth - <h2>Pyth, 17 bytes</h2>
JavaScript - <h1>JavaScript, 131238 - 10 = 131228 bytes</h1>
Vitsy - <h1>Vitsy, 40 bytes</h1>
Java - <h2>Java, 81 bytes</h2>
Brainf*ck - <h1>Brainf*ck, <s>489</s> 466 characters</h1>