This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- code by Iwan 'qubodup' Gabovitch | |
-- licesnse/terms: public domain (cc0) | |
-- meaning do what you want, no credit needed, you can delete this text too | |
-- video tutorial: https://youtu.be/sArl6wypDfY | |
-- you can make a bee.png from https://openclipart.org/detail/215877/cartoon-bee | |
function love.load() | |
gw = love.graphics.getWidth() -- game width | |
gwp = gw/10 -- game widht "part" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Because ctrl+f | |
q Detach MOC from the server | |
ENTER Start playing at this file or go to this directory | |
DOWN Move down in the menu | |
UP Move up in the menu | |
PAGE_DOWN Move one page down | |
PAGE_UP Move one page up | |
HOME Move to the first item in the menu | |
END Move to the last item in the menu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For this video: http://youtu.be/mxce5nKIe5k | |
[youtube]{SIMPLETEXT}[/youtube] | |
<iframe width="560" height="410" src="http://www.youtube.com/embed/{SIMPLETEXT}"></iframe><br /> | |
<a href="http://youtu.be/{SIMPLETEXT}">youtu.be/{SIMPLETEXT}</a> | |
[youtube]VideoID[/youtube] example: [youtube]mxce5nKIe5k[/youtube] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://stackoverflow.com/questions/21146211/ | |
for i in $* | |
do | |
echo $i | |
sed \ | |
-e 's/get_progress(P_\([_A-Za-z0-9]*\))/progress\.\L\1/g' \ | |
-e 's/set_progress(P_\([_A-Za-z0-9]*\), \([0-9_a-zA-Z+ -\.]*\))/progress\.\L\1 = \2/g' \ | |
-e 's/P_\([_A-Z0-9]*\)/progress\.\L\1/g' \ | |
$i > $i-low | |
mv $i-low $i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# This requires python3 | |
# Add Freesound API key below | |
# Needs "ids.txt" containing two columns, separated by " " and the second one = Sound ID | |
# credits.txt will be overwritten (I think) | |
# some of these might be useless |
NewerOlder