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
## This is a directory/file filter for WinMerge | |
## This filter lets through only files XML/HTML developer cares about | |
name: Dart | |
desc: Lets through only files XML/HTML developer cares about | |
## This is an exclusive filter | |
## (it lets through only matching files) | |
def: include | |
## Filters for filenames begin with f: |
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
*.dart.js | |
*.js.deps | |
*.js.map | |
.buildlog | |
pubspec.lock | |
.pub/ | |
.settings/ | |
build/ | |
packages |
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 | |
# Install Dartium content_shell | |
$DART_SDK/../chromium/download_contentshell.sh | |
unzip content_shell-linux-x64-release.zip | |
mkdir content_shell | |
mv drt*/* ./content_shell | |
# Define html_test alias to run tests as dart w/ content_shell | |
html_test(){ |
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
input { | |
# stdin { } | |
file { | |
path => "/path/to/catalina.out*" | |
start_position => beginning | |
} | |
} | |
# %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %marker - %msg%n |
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
. |
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 node | |
const fs = require('fs'); | |
const readline = require('readline'); | |
const commitFile = process.argv[2]; | |
const fromIDE = !process.stdout.isTTY; | |
if (fromIDE) { | |
process.exit(0); |
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 | |
# fswatch script.py | xargs -n1 ./run.sh | |
monkeyrunner < script.py |
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 python3 | |
import colorsys | |
import rainbowhat as rh | |
from rainbowhat import display, lights, weather, rainbow, buzzer, touch | |
import time | |
import signal | |
from subprocess import Popen, PIPE | |
import asyncio | |
import glob |
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
hciconfig | |
hciconfig hci0 up | |
hciconfig hci0 reset | |
# Scan for Bluetooth devices | |
hcitool scan |
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 rainbowhat as rh | |
rh.rainbow.set_pixel(0, 255, 0, 0) | |
rh.rainbow.show() | |
####################### | |
import rainbowhat as rh | |
import time |