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
function WarningBanner(props) { | |
if (!props.warn) { | |
return null; | |
} | |
return ( | |
<Section> | |
<Text>Hai.</Text> | |
</Section> | |
); |
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
Apr 13 14:31:46 MacBook-Pro opendirectoryd[165]: 548.10 - Client: ReportCrash, UID: 0, EUID: 0, GID: 0, EGID: 0 | |
Apr 13 14:31:46 MacBook-Pro opendirectoryd[165]: 548.10 - ODNodeRelease request, NodeID: 00CF0753-691F-40BE-B169-FD79F94FF20F | |
Apr 13 14:31:46 MacBook-Pro opendirectoryd[165]: 548.10, Node: /Local/Default - ODNodeRelease completed | |
Apr 13 14:31:46 MacBook-Pro ReportCrash[548]: Process: macOS Post Install [533] | |
Apr 13 14:31:46 MacBook-Pro ReportCrash[548]: Path: /Applications/Utilities/macOS Post Install.app/Contents/MacOS/macOS Post Install | |
Apr 13 14:31:46 MacBook-Pro ReportCrash[548]: Identifier: dd1.macOS-Post-Install | |
Apr 13 14:31:46 MacBook-Pro ReportCrash[548]: Version: 4.3.1 (???) | |
Apr 13 14:31:46 MacBook-Pro ReportCrash[548]: Code Type: X86-64 (Native) | |
Apr 13 14:31:46 MacBook-Pro ReportCrash[548]: Parent Process: UtilitiesLauncher [175] | |
Apr 13 14:31:46 MacBook-Pro ReportCrash[548]: Responsible: macOS Post Install |
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
from telegram.ext import (Updater, CommandHandler, MessageHandler, Filters) | |
from functools import wraps | |
def admin_required(func): | |
@wraps(func) | |
def getAdmins(bot, chat_id): | |
return [admin.user.id for admin in bot.getChatAdministrators(chat_id)] | |
def check_admin(*args, **kwargs): | |
if args[1].message.chat.type == "private": |
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
# Hey Emacs, this is a -*- makefile -*- | |
############################################################################## | |
# Compiler settings | |
# | |
CC = avr-gcc | |
OBJCOPY = avr-objcopy | |
OBJDUMP = avr-objdump | |
SIZE = avr-size | |
AR = avr-ar rcs | |
NM = avr-nm |
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 os | |
try: | |
from sh import CommandNotFound, jshint, cat, uglifyjs, ErrorReturnCode_2 | |
hint = True | |
except (ImportError, CommandNotFound): | |
hint = None | |
top = '.' | |
out = 'build' |
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
{ | |
"appKeys": {}, | |
"capabilities": [ | |
"" | |
], | |
"companyName": "rapoport@shermans.net", | |
"longName": "DCPexper", | |
"projectType": "native", | |
"resources": { | |
"media": [ |
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 <pebble.h> | |
static Window *window; | |
//Setup Layers. | |
static Layer *year_layer; | |
static Layer *time_layer; | |
static Layer *date_layer; | |
static Layer *top_random; | |
static Layer *bottom_random; |
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
==> Upgrading pebble/pebble-sdk/pebble-sdk | |
==> Downloading https://github.com/pebble/pebble-tool/archive/v4.0-rc4.zip | |
==> Downloading from https://codeload.github.com/pebble/pebble-tool/zip/v4.0-rc4 | |
######################################################################## 100.0% | |
==> Cloning https://github.com/pebble/pypkjs.git | |
Updating /Library/Caches/Homebrew/pebble-sdk--pypkjs--git | |
==> Checking out branch stable | |
==> Downloading https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-3.4.0.2.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--backports.ssl-match-hostname-3.4.0.2.tar.gz | |
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/pebble-sdk/4.0-rc4/libexec/vendor --single-version-externally-managed --record=installed.txt |
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
travis at Travis-MacBook-Pro in ~/Projects/voiceTweets on master [+!?] | |
$ pebble build | |
Setting top to : /Users/travis/Projects/voiceTweets | |
Setting out to : /Users/travis/Projects/voiceTweets/build | |
Found Pebble SDK for chalk in: : /Users/travis/Library/Application Support/Pebble SDK/SDKs/current/sdk-core/pebble/chalk | |
Checking for program gcc,cc : arm-none-eabi-gcc | |
Checking for program ar : arm-none-eabi-gcc-ar | |
Found Pebble SDK for basalt in: : /Users/travis/Library/Application Support/Pebble SDK/SDKs/current/sdk-core/pebble/basalt | |
Checking for program gcc,cc : arm-none-eabi-gcc | |
Checking for program ar : arm-none-eabi-gcc-ar |
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 os | |
try: | |
from sh import CommandNotFound, jshint, cat, uglifyjs, ErrorReturnCode_2 | |
hint = True | |
except (ImportError, CommandNotFound): | |
hint = None | |
top = '.' | |
out = 'build' |
NewerOlder