Skip to content

Instantly share code, notes, and snippets.

%YAML 1.2
---
name: PHP
file_extensions:
- php
- php3
- php4
- php5
- php7
- phps
diff --git a/Cargo.toml b/Cargo.toml
index 9d7e34a..756333f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,7 +12,7 @@ repository = "https://github.com/dandavison/delta"
version = "0.1.1"
[[bin]]
-name = "delta"
+name = "deta"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Monokai</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
diff --git a/pifi/games/snake.py b/pifi/games/snake.py
index 43e4c4b..a38b7cb 100644
--- a/pifi/games/snake.py
+++ b/pifi/games/snake.py
@@ -7,6 +7,8 @@ import pprint
import sqlite3
import os
import collections
+import asyncio
+import websockets
import socket
import sys
import time
import string
import random
# https://stackoverflow.com/a/10260885/627663
# https://stackoverflow.com/questions/13953912/difference-between-unix-domain-stream-and-datagram-sockets
# Create a UDP socket
commit 65cc3a833d66210bbab62d9353f21d69cc922abe
Author: dleibovic <[email protected]>
Date: Mon May 18 17:48:01 2020 -0400
CORE-6233 update vitess upgrade guide to include steps for manually targetting an upgraded vtgate in the ETET
diff --git a/deploying-rpm/upgrade_dev.md b/deploying-rpm/upgrade_dev.md
index efa1962..0ff764d 100644
--- a/deploying-rpm/upgrade_dev.md
+++ b/deploying-rpm/upgrade_dev.md
commit 65cc3a833d66210bbab62d9353f21d69cc922abe
Author: dleibovic <[email protected]>
Date: Mon May 18 17:48:01 2020 -0400
CORE-6233 update vitess upgrade guide to include steps for manually targetting an upgraded vtgate in the ETET
diff --git a/deploying-rpm/upgrade_dev.md b/deploying-rpm/upgrade_dev.md
index efa1962..0ff764d 100644
--- a/deploying-rpm/upgrade_dev.md
+++ b/deploying-rpm/upgrade_dev.md
diff --git a/pifi/queue.py b/pifi/queue.py
index ffac647..bbaf241 100644
--- a/pifi/queue.py
+++ b/pifi/queue.py
@@ -85,7 +85,7 @@ class Queue:
# display_width = args.display_width, display_height = args.display_height,
# brightness = args.brightness, flip_x = args.flip_x, flip_y = args.flip_y, log_level = None,
# tick_sleep = args.tick_sleep, game_color_mode = args.game_color_mode,
- tick_sleep = 0.2, should_check_playlist = True,
+ tick_sleep = 0.2, should_check_playlist = True, flip_x = True,
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js'></script>
<link href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet">
<title>SNAKE</title>

Sat Jun 13 2020

  • pifi ssh and server stopped working on Sat Jun 13
  • managed to connect via monitor + usb keyboard
    • right option + backtick is necessary for typing |
    • right option + Q is necessary for typing @
  • network works. Can curl external sites
  • nothing in logs
  • seemed like a weekly logrotate had run in the past 24 hours.
  • able to ssh from self to self, using either IP address of pifi.club domain name
  • ssh service was running