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
-- Show the Bluetooth pane in System Preferences. | |
launch application "System Settings" | |
activate application "System Settings" | |
tell application "System Settings" | |
set current pane to pane id "com.apple.preferences.bluetooth" | |
end tell |
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
-- Open the Camera Settings app from Logitech. Update the camera settings. | |
-- This AppleScript was tested and used on the Logitech HD Pro Webcam C920. | |
launch application "Camera Settings" | |
activate application "Camera Settings" | |
tell application "Camera Settings" | |
tell application "System Events" | |
click button "Home" of window "Logitech Camera Settings" of application process "Camera Settings" | |
click button "Widescreen" of window "Logitech Camera Settings" of application process "Camera Settings" |
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
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
build-and-test: | |
runs-on: macOS-latest | |
steps: |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" version="2.0"> | |
<channel> | |
<title>My Cleveland Clinic - Appcast</title> | |
<item> | |
<title>Version 1.15.0</title> | |
<description>Cleveland Clinic Patient App</description> | |
<pubDate>Wed, 23 Oct 2019 12:00:00 +0000</pubDate> | |
<enclosure url="https://play.google.com/store/apps/details?id=org.ccf.patientapp" sparkle:version="1.15.0" sparkle:os="iOS" /> | |
</item> |
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
/* | |
Install: | |
$ go get github.com/graphql-go | |
$ go run server2.go | |
Examples: | |
http://localhost:8080/graphql?query={users{name}} | |
http://localhost:8080/graphql?query={user(id:"1"){name}} | |
*/ |
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
/* | |
Examples: | |
http://localhost:8080/graphql?query={person(id:1000){id firstName lastName}} | |
http://localhost:8080/graphql?query={person(id:"1000"){id}} | |
*/ | |
package main | |
import ( |
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
AmericanTypewriter | |
AmericanTypewriter-Bold | |
AmericanTypewriter-Condensed | |
AmericanTypewriter-CondensedBold | |
AmericanTypewriter-CondensedLight | |
AmericanTypewriter-Light | |
AmericanTypewriter-Semibold | |
AppleColorEmoji | |
AppleSDGothicNeo-Bold | |
AppleSDGothicNeo-Light |
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/sh | |
# generate_tvos_images.sh | |
# Generate the image files needed for a tvOS app. These images are a solid color and can be used | |
# for initial TestFlight builds before branding is applied. | |
# This script uses ImageMagick: https://www.imagemagick.org/script/download.php | |
# Apple Human Interface Guidelines for tvOS: https://developer.apple.com/tvos/human-interface-guidelines/icons-and-images/app-icon/ |
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
{ | |
"id": "6bc14eecc87637bcf249d2a9ff3c1846", | |
"backgroundColor": "", | |
"title": "The First Board", | |
"widgets": [{ | |
"webview": { | |
"title": "First Widget", | |
"html": "<body>Hello</body>" | |
} |
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
LayoutInflater inflater = (LayoutInflater)this.mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE); | |
View view = inflater.inflate(layoutId, null); | |
TextView text_weather = (TextView)view.findViewById(R.id.text_weather); | |
text_weather.setTextSize(android.util.TypedValue.COMPLEX_UNIT_PX, 132); |
NewerOlder