Skip to content

Instantly share code, notes, and snippets.

gabrielcrowe

Block or report user

Report or block gabrielcrowe

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
View more.lua
actorData = {
tank = {1,2,3,4,5,6,7,8}
}
--a is angle
for i=1,8 do
if (actorData.tank[i]) then
spra(a,actorData.tank[i],x,y-i)
end
end
@gabrielcrowe
gabrielcrowe / command.js
Last active May 13, 2019 — forked from JamieBuckell/command.js
Login with speed
View command.js
Cypress.Commands.add('login', (email, password) => {
cy.request({
method: 'POST',
url: 'http://localhost:5000/api/1.0/user/auth?tenant=greatrun&cb=1557776611205',
body: {
emailAddress: email,
password: password,
}
})
.then((resp) => {
View README.md
View mario.lua
function _init()
hexchar="0123456789abcdef"
function hex(x)
x=flr(x)+1
return sub(hexchar,x,x)
end
charhex={}
for i=1,16 do
View pico8_vector_test.lua
function _init()
hexchar="0123456789abcdef"
function hex(x)
x=flr(x)+1
return sub(hexchar,x,x)
end
charhex={}
for i=1,16 do
@gabrielcrowe
gabrielcrowe / proc.lua
Created Apr 18, 2017
Pico8 perlin noise example with infinite scrolling
View proc.lua
pico-8 cartridge // http://www.pico-8.com
version 8
__lua__
-- @gabrielcrowe
-- some perlin noise and a scrolly desert
function _init()
local f={}
local p={}
local permutation={151,160,137,91,90,15,
131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,
View BLT.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
BLT - Bacon Lettuce and Tomato, buttered on white bread, red sauce.
Though there are various styles of BTL, I have chosen to place
the tomato sauce so that it is in direct contact with the bacon
and before the lettuce and tomato. Please note that tomato
is a *fruit*.
https://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/BLT_sandwich_%281%29.jpg/800px-BLT_sandwich_%281%29.jpg
-->
<sandwich>
@gabrielcrowe
gabrielcrowe / big_mac.xml
Created Mar 4, 2016
Sandwich XML First Draft
View big_mac.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
The Big Mac consists of two 1.6 oz (45.4 g)
100 per cent beef patties, American cheese,
"special sauce" (a variant of Thousand Island
dressing), iceberg lettuce, pickles, and
onions, served in a three-part sesame
seed bun.
https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Big_Mac_hamburger.jpg/230px-Big_Mac_hamburger.jpg
-->
@gabrielcrowe
gabrielcrowe / gist:03687a1a28e76d97ad41
Created Jun 14, 2014
Android MX box Linux SSH login
View gist:03687a1a28e76d97ad41
Gabriels-MacBook-Pro:~ gabrielcrowe$ ssh 192.168.2.8 -l root
The authenticity of host '192.168.2.8 (192.168.2.8)' can't be established.
RSA key fingerprint is zzzzzzzzzzzzzzzzzzzzzzzzzz.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.2.8' (RSA) to the list of known hosts.
root@192.168.2.8's password:
[root@MX /root]# ls
lost+found/
[root@MX /root]# cd /
[root@MX /]# ls
You can’t perform that action at this time.