A Homebrew formula for installing PulseAudio on OS X.
Tested on Lion, and at the moment requires the 10.7 SDK.
brew install https://raw.github.com/gist/1633642/pulseaudio.rb
A Homebrew formula for installing PulseAudio on OS X.
Tested on Lion, and at the moment requires the 10.7 SDK.
brew install https://raw.github.com/gist/1633642/pulseaudio.rb
When a Spring Boot app starts up with default (INFO) logging, there are some noticeable gaps (pauses). It's worth focusing on the gaps when looking for efficiency savings because of the amount of time they take, and because no-one bothered to log anything, so the chances are the app is doing something repetitive. We can tweak the logging levels to try and fill in the gaps and find out what is going on in there.
Basic empty web app with actuators has three such gaps:
0 1410ms
|------|---------------------------|-----|------|---------|--------|--------|
| 578 | |144(5)| | 133(6) |
This gist provides wrappers around java-dataloader's classes to make them compatible with coroutines, as well as a "dispatcher" that provides a mechanism for dispatching dataloaders enqueued during a GraphQL operation execution.
For context on why this is necessary, see [this issue on graphql-java][issue] and specifically [this comment][comment] with a solution that Apollo uses for their own GraphQL services.
The crux of the issue is that graphql-java's dataloader dispatching mechanism assumes one
| #!/bin/sh | |
| echo Disabling vpnagentd... | |
| sudo launchctl disable system/com.cisco.anyconnect.vpnagentd | |
| echo Tearing down vpnagentd... | |
| sudo launchctl bootout system /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist | |
| echo Deactivating Cisco AnyConnect Socket Filter Extension... | |
| /Applications/Cisco/Cisco\ AnyConnect\ Socket\ Filter.app/Contents/MacOS/Cisco\ AnyConnect\ Socket\ Filter -deactivateExt |
| substitutions: | |
| name: korvo-1 | |
| friendly_name: "Korvo 1" | |
| ip_address: 192.168.1.101 | |
| wifi_ssid: iot | |
| power_save: high | |
| esphome: | |
| name: ${name} | |
| platformio_options: |