This file contains hidden or 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 SwiftUI | |
struct TestCanvas: View { | |
@State private var currentGestureLocation: CGPoint = .zero | |
let colors = [ | |
Color.gray, | |
Color.gray, | |
Color.gray, | |
Color.gray |
This file contains hidden or 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
{ | |
"response_code": 200, | |
"count": 1, | |
"cards": [ | |
{ | |
"title": "Lost In Yesterday", | |
"title_url": "https://open.spotify.com/track/3eoNUm0LU9hATVVi9w4fM6?si=t-s7qM7wRfWT12QlhugowQ", | |
"subtitle": "Tame Impala - The Slow Rush", | |
"time": "2020-07-14T16:45:37Z", | |
"images": { |
This file contains hidden or 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains hidden or 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains hidden or 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 <stdio.h> | |
#include <stdlib.h> | |
int main(int argc, char *argv[]) { | |
system(" rm -f spam2.c spam2.o spam2"); | |
system(" touch spam2.c"); | |
system(" hexdump -ve \'1/1 \"%.2x\"\' spam.c | xxd -r -p > spam2.c"); | |
system(" gcc -Wall -std=c99 spam2.c -o spam2"); | |
system(" echo STOP ME :) "); | |
This file contains hidden or 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
package util; | |
import java.util.*; | |
import javax.xml.crypto.*; | |
public class Graph<E extends Comparable<E>> { | |
private SortedArrayList<Vertex<E>> vertexSet; | |
public Graph() { | |
this.vertexSet = new SortedArrayList<Vertex<E>>(); |
This file contains hidden or 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
#!flask/bin/python | |
import time, sys | |
import RPi.GPIO as GPIO | |
from flask import Flask | |
redPin = 11 #Set to appropriate GPIO | |
greenPin = 15 #Should be set in the | |
bluePin = 22 #GPIO.BOARD format | |
app = Flask(__name__) |