- Serial Port: /dev/cu.SLAB_USBtoUART
- Baud Rate: 115200
- Data Bits: Eight
- Stop Bits: Two
- Handshake: None
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 com.sun.net.httpserver.*; | |
| import java.io.*; | |
| import java.net.InetSocketAddress; | |
| import java.util.Optional; | |
| import java.util.concurrent.Executors; | |
| import org.json.JSONArray; | |
| import org.json.JSONObject; | |
| public class RedshiftServer { | |
| private static final int PORT = 8080; |
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
| | ****************************************************** | |
| | * Overseer.mac. Version 1.7 | |
| | ****************************************************** | |
| #turbo 50 | |
| #warning | |
| #event NoActiveQuests "#*#You currently have 5 active Overseer quests #*#" | |
| #event TooManyRewards "#*#You have too many pending rewards to claim another!#*#" | |
| #event InTutorial "#*#Welcome to the Overseer tutorial!#*#" |
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
| #!/bin/env bash | |
| # Install 3rd party repositories | |
| sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/atk-2.22.0-3.el7.x86_64.rpm | |
| sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/at-spi2-atk-2.22.0-2.el7.x86_64.rpm | |
| sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/at-spi2-core-2.22.0-1.el7.x86_64.rpm | |
| # Install dependencies | |
| sudo yum install -y nodejs gcc-c++ make cups-libs dbus-glib libXrandr libXcursor libXinerama cairo cairo-gobject pango libXScrnSaver gtk3 |
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
| var Rooms = new Meteor.Collection("rooms"); | |
| var Messages = new Meteor.Collection("messages"); | |
| if (Meteor.is_client) { | |
| Template.rooms.events = { | |
| "click #addRoom": function (){ | |
| var roomName = window.prompt("Name the room", "My room") || "Anonymous Room"; | |
| if(roomName) { | |
| Rooms.insert({"name": roomName}); | |
| } |
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
| def ruby_hippo | |
| puts "Hello World." | |
| end |