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
export default [{ | |
num: 1, | |
family_id: 1, | |
evolve_to: 2, | |
candy: 25, | |
}, { | |
num: 2, | |
family_id: 1, | |
evolve_to: 3, | |
candy: 100, |
This file has been truncated, but you can view the full file.
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
$ sudo dtruss -p 79001 | |
SYSCALL(args) = return | |
psynch_mutexdrop(0x1015A0850, 0x8D51903, 0x8D51800) = 0 0 | |
psynch_mutexdrop(0x1015A0850, 0x8D51A03, 0x8D51900) = 0 0 | |
psynch_mutexwait(0x1015A0850, 0x8D51A03, 0x8D51800) = 148183555 0 | |
stat64("/Users/maxnowack/code/teamgrid/packages/teamgrid-base\0", 0x7000092D8E80, 0x0) = 0 0 | |
psynch_mutexwait(0x1015A0850, 0x8D51B03, 0x8D51900) = 148183811 0 | |
psynch_cvsignal(0x1015A0890, 0x51A3F50051A3F800, 0x51A3F500) = 256 0 | |
psynch_mutexdrop(0x1015A0850, 0x8D51D03, 0x8D51B00) = 0 0 | |
psynch_mutexwait(0x1015A0850, 0x8D51C03, 0x8D51A00) = 148184323 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
import { Meteor } from 'meteor/meteor' | |
import { check, Match } from 'meteor/check' | |
// Monkeypatch publication function to add missing check. | |
// should be removed if RocketChat/meteor-streamer#28 gets merged | |
Meteor.Streamer.prototype.iniPublication = function iniPublication() { | |
const stream = this | |
Meteor.publish(this.subscriptionName, function publishStream(eventName, options) { | |
check(eventName, String) | |
check(options, Match.OneOf(Boolean, { |
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
version: 2 | |
jobs: | |
unit-tests: | |
working_directory: ~/app | |
docker: | |
- image: circleci/node:latest | |
environment: | |
# lang settings required for Meteor's Mongo | |
LANG: C.UTF-8 | |
LANGUAGE: C.UTF-8 |
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
{ | |
"meta": { "theme": "paper" }, | |
"basics": { | |
"name": "Max Nowack", | |
"label": "Software Developer", | |
"picture": "", | |
"email": "[email protected]", | |
"phone": "+49 171 4470 181", | |
"website": "", | |
"summary": "", |
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 | |
homebridge_name=$1 | |
set -euo pipefail | |
IFS=$'\n\t' | |
function create_service_file { | |
local name=$1 | |
local accessory_category=$2 | |
local mac_address=$3 |
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
--- | |
kind: ConfigMap | |
apiVersion: v1 | |
metadata: | |
labels: | |
role: mongo-backup | |
name: mgob-config | |
data: | |
database-backups.yml: | | |
scheduler: |
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 fetch from 'node-fetch' | |
interface ShortGUID { | |
value: string; | |
shouldFetchRootRecord: boolean; | |
} | |
interface ZoneID { | |
zoneName: string; | |
ownerRecordName: string; |
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
airpods="LuftSchoten" | |
toggle=$1 | |
osascript <<END | |
use framework "IOBluetooth" | |
use scripting additions | |
set AirPodsName to "$airpods" | |
set toggle to "$toggle" | |
on getFirstMatchingDevice(deviceName) |