- GUI file managers are built on top of coreutils (GNU/BSD)
- you can just run the coreutils directly in a shell
- reads command and spits out the result
- matrix of monospaced text
- syntax: binary space arg1 space arg2 space ...
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
var MARGIN = 28; | |
// Fullscreen | |
slate.bind('f:cmd,alt', function(win) { | |
// ±4 to account for hidden Dock on left of screen. | |
win.doOperation(S.op('move', { | |
'x': 'screenOriginX - 4 + ' + MARGIN, | |
'y': 'screenOriginY + ' + MARGIN, |
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
# -*- coding: utf-8 -*- | |
# | |
# Copyright (C) 2016 Jasper v. Blanckenburg <jasper@mezzo.de> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
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
CARGO = cargo | |
all: build doc | |
build: | |
@$(CARGO) build | |
doc: | |
@$(CARGO) doc |
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
#!/usr/bin/env python | |
""" | |
Loggly CLI interface - standalone (Just Python). Deals with paging results automatically so you can easily grab >2000 rows. | |
Run `loggly.py --help` to see usage information. | |
TODO: | |
* Support XML format results (ie. combining multiple pages of results together) | |
* Facet support |
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 <stdint.h> | |
#include <Arduino.h> | |
#include <FastLED.h> | |
#define DATA_PIN_LED 27 | |
static CRGB leds[25]; | |
void setup(void) |
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
// Compile for ESP32 Pico Kit, upload rate 115200 baud | |
#include <Arduino.h> | |
#include <WiFi.h> | |
#include <PubSubClient.h> | |
#include <IRremoteESP8266.h> | |
#include <IRsend.h> | |
#define MQTT_SERVER "10.0.1.3" | |
#define MQTT_TOPIC_DEBUG "niek/debug/" | |
#define MQTT_TOPIC_BASE "niek/speakers/" |
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 <stdint.h> | |
#include <Arduino.h> | |
#include <FastLED.h> | |
#define DATA_PIN_LED 27 | |
const int pushButton = 39; | |
static CRGB leds[25]; |
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
#!/usr/bin/python3 | |
import paho.mqtt.client as mqtt | |
from sty import fg, bg, rs | |
width = height = 5 | |
mqtt_server = "test.mosquitto.org" | |
mqtt_topic = "matrixflut" | |
def on_connect(client, userdata, flags, rc): | |
print("Connected (rc={})".format(rc)) |
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
#!/usr/bin/ruby | |
# JSONfs - the JSON file system | |
# (c) 2014 nilsding | |
# License: GPLv2 | |
# | |
# Requires RFuse, install it via `gem install rfuse` | |
# | |
# Based on the RFuse sample file system: | |
# https://github.com/lwoggardner/rfuse/blob/master/sample/test-ruby.rb | |
# (c) 2014 lwoggardner |
OlderNewer