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
#!/bin/bash | |
for (( i=1; i<=500; i++ )) | |
do | |
# Generate a random filename | |
filename="random_image_${i}.png" | |
# Use ImageMagick to create a random 100x100 pixel image | |
color1=$(shuf -e $(convert -list color | grep srgb | cut -d' ' -f1) | head -1 | tr [:upper:] [:lower:]) | |
color2=$(shuf -e $(convert -list color | grep srgb | cut -d' ' -f1) | head -1 | tr [:upper:] [:lower:]) |
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
*= $6000; | |
!cpu 65c02; | |
PLOT = $F800 | |
CLEARSCR= $F832 | |
SETCOLOR= $F864 | |
LORES = $C056 | |
GFX = $C050 | |
CURRENT = $0 | |
lda LORES |
This is a SCRIPT-8 cassette.
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
#include <string> | |
#include <WiFi.h> | |
#include <WiFiClient.h> | |
#include <WebServer.h> | |
#include <ESPmDNS.h> | |
#include "SSD1306.h" | |
#define SDA 4 | |
#define SCL 15 | |
#define RST 16 //RST must be set by software |
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
import java.util.zip.* | |
// Update these two lines to match the location of your playlists and what extensions to skip | |
playlistDir = "C:\\Users\\brobert\\AppData\\Roaming\\RetroArch\\playlists" as File | |
ignoreExtensions="cht|clt|sav|dtc|txt|html" | |
def appendPlaylist(playlistFile, path) { | |
println("Appending ${path}") | |
// Mac | Linux users change this to forward slash, I could have used the path separator property but I was lazy. | |
name = path.substring(path.lastIndexOf('\\')+1) |
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
BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB BB | |
BB BB 2 B2 B2 B2 B2 B2 2 BB BB B2 B2 2 B B 2 BB B BB 2 B2 B2 B2 B2 B2 2 BB BB | |
BB BB 2 BB 2 2 2 BB 2 BB B B2 2 2 B B B2 BB B BB 2 BB 2 2 2 BB 2 BB BB | |
BB BB 2 BB B2 B2 B2 BB 2 BB B2 B 2 BB 2 B2 B BB B2 BB 2 BB B2 B2 B2 BB 2 BB BB | |
BB BB B2 B2 B2 B2 B2 B2 B2 BB B2 B B2 BB B2 BB 2 B 2 BB B2 B2 B2 B2 B2 B2 B2 BB BB | |
BB BB B2 2 B BB BB B2 B2 B2 BB B2 2 BB BB 2 B B B B BB B 2 2 B B BB BB BB | |
BB BB B2 B B B2 BB B2 B2 BB 2 B2 B BB B B2 2 2 B B B2 B2 BB 2 BB B2 2 BB BB | |
BB BB 2 2 B2 B2 B 2 B2 B BB B2 2 B B 2 BB B 2 B B2 2 BB BB BB B B2 BB BB | |
BB BB 2 BB 2 B BB B B2 B 2 2 B2 BB B2 BB 2 B2 2 B2 2 BB B B2 B B2 2 BB BB | |
BB BB B2 BB B2 B2 BB BB B2 B2 2 BB 2 B B B2 B BB 2 B2 B2 B2 2 BB 2 BB BB BB BB |
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
; use with 8bitworkshop's VCS IDE | |
; http://8bitworkshop.com/?platform=vcs | |
processor 6502 | |
; Include files for Atari 2600 constants and handy macro routines | |
include "vcs.h" | |
include "macro.h" | |
org $f000 |
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
cd "\Program Files (x86)\Windows Kits\10\Tools\x64" | |
devcon disable IntelAudio*8086* | |
devcon enable IntelAudio*8086* |
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
<%@page session="false" contentType="text/html; charset=utf-8" | |
pageEncoding="UTF-8" import="java.lang.*,java.io.*"%><% | |
Process p = Runtime.getRuntime().exec("df",new String[]{"-h"}); | |
p.waitFor(); | |
%><h2>STDERR:</h2><pre><% | |
String line; | |
BufferedReader error = new BufferedReader(new InputStreamReader(p.getErrorStream())); | |
while((line = error.readLine()) != null){ | |
%><%=line%> | |
<% |
NewerOlder