In Debian, etc download a release and follow install instructions.
Or in Void Linux, install from package manager
sudo xbps-install lua-language-serverIn Debian, etc download a release and follow install instructions.
Or in Void Linux, install from package manager
sudo xbps-install lua-language-server| Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
| function love.load() | |
| love.audio.setVolume(0.5) -- Set the global volume | |
| soundData = love.sound.newSoundData(44100, 44100, 16, 1) -- Create a new sound data object | |
| for i = 0, soundData:getSampleCount() - 1 do | |
| local time = i / 44100 | |
| local frequency = 440 -- A4 note | |
| local value = math.sin(2 * math.pi * frequency * time) -- Generate sine wave | |
| soundData:setSample(i, value) | |
| end | |
| sound = love.audio.newSource(soundData) -- Create a new audio source |
| #!/usr/bin/env fish | |
| # Check input arguments | |
| if test (count $argv) -lt 2 | |
| echo "Usage: $argv[0] input.pdf output.txt" | |
| exit 1 | |
| end | |
| set input $argv[1] | |
| set output $argv[2] |
| Do a very loose still life of your desk. Any pen or pencil, etc on scrap paper. Pin to wall. | |
| Meditate for 5 minutes easy. | |
| Take a walk. Collect something. Bring it back to the studio. | |
| Take a photo walk, at least 5 photos, then arrange on a page/screen. | |
| Take one black and white photo. | |
| Go visit a tree. Hug or talk to it. Take notes. | |
| Sing or hum a wordless song that you make up. Enjoy it. | |
| Listen to a recording of a string instrument like a Cello or Viola for several minutes. | |
| Close your eyes and think of a past rainstorm - sound, taste. Name it. | |
| What color is the season? Take a short walk and look for items of that color. |
| ################################################################################ | |
| # sox cheat sheet | |
| ################################################################################ | |
| # Example commands for the sox command-line audio processing tool, | |
| # for manipulating or batch processing audio files. | |
| ################################################################################ | |
| # Daniel Jones <dan-web@erase.net> | |
| ################################################################################ | |
| ################################################################################ |
| #!/usr/bin/env fish | |
| function blog-serve | |
| set current_dir (basename (pwd)) | |
| # Directory-specific detection | |
| switch $current_dir | |
| case nosebook | |
| echo "🌸 Detected Jekyll blog (nosebook)" | |
| bundle exec jekyll serve --baseurl '' |
| #!/bin/bash | |
| # p5.js to L5 Converter | |
| # Usage: ./convert.sh input.js [output.lua] | |
| if [ $# -eq 0 ]; then | |
| echo "Usage: $0 input.js [output.lua]" | |
| echo "Converts p5.js JavaScript files to L5 Lua syntax" | |
| exit 1 | |
| fi |
Here are some simple ways to make your PICO-8 code fit in 140 280 characters (as in the #tweetjam #tweetcart craze). I did not invent these, I merely observed and collected them from the tweetjam thread.
x=.1 and x=.023, not x=0.1 or x=0.023x=1/3 is shorter than x=.3333circ(x,y,1)pset(z,q,7) works just as well| {"gameLink":"www.flickgame.org","activeIndex":12,"canvasses":[[67,"0",2,"f",4,"0",1,"e",4,"f",4,"0",1,"6",1,"f",4,"e",2,"0",1,"2",4,"0",4,"e",3,"0",1,"e",111,"0",1,"f",11,"0",1,"e",2,"f",4,"0",2,"f",2,"e",1,"0",4,"6",6,"e",2,"1",1,"2",5,"1",3,"e",2,"1",3,"e",2,"0",1,"6",106,"0",2,"f",3,"0",1,"f",4,"0",3,"f",1,"e",1,"f",5,"0",5,"e",3,"6",7,"e",3,"1",1,"e",4,"1",3,"e",2,"1",3,"e",1,"1",3,"6",104,"0",3,"f",1,"0",3,"f",2,"0",7,"f",3,"0",2,"6",5,"e",2,"6",9,"e",1,"1",3,"e",4,"1",1,"e",3,"1",3,"e",3,"2",2,"6",103,"0",4,"f",1,"0",2,"f",1,"0",5,"f",3,"e",5,"6",6,"e",1,"1",4,"e",1,"1",4,"e",1,"1",3,"e",6,"1",1,"2",4,"e",1,"1",1,"6",1,"1",3,"6",99,"0",14,"f",5,"e",5,"6",6,"e",1,"1",8,"e",1,"1",4,"e",1,"2",3,"1",2,"2",1,"1",4,"e",4,"1",3,"6",99,"0",6,"f",1,"0",3,"1",8,"e",3,"6",2,"1",20,"e",4,"2",3,"1",4,"e",5,"1",3,"6",98,"0",3,"f",1,"e",2,"f",1,"1",3,"6",8,"e",4,"1",21,"e",2,"2",4,"1",5,"e",6,"1",3,"6",96,"0",1,"e",2,"f",4,"e",4,"6",8,"e",4,"1",14,"e",1,"1",6,"e",1,"1",1,"2",4,"1",5,"e",6,"1",4,"6",85,"0",6,"f",4,"0", |