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
implementation 'androidx.core:core-ktx:1.8.0' | |
implementation 'androidx.appcompat:appcompat:1.4.2' | |
implementation 'com.google.android.material:material:1.6.1' | |
implementation 'androidx.constraintlayout:constraintlayout:2.1.4' | |
implementation 'io.ktor:ktor-client-android:2.0.3' | |
implementation 'io.ktor:ktor-client-core:2.0.3' | |
implementation 'io.ktor:ktor-client-okhttp:2.0.3' | |
implementation 'io.ktor:ktor-client-content-negotiation:2.0.3' | |
implementation 'io.ktor:ktor-serialization-kotlinx-json:2.0.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
{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"INPUT_OBJECT","name":"AddAwardEmojiInput","description":"Autogenerated input type of AddAwardEmoji","fields":null,"inputFields":[{"name":"awardableId","description":"The global id of the awardable resource","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"name","description":"The emoji name","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"clientMutationId","description":"A unique identifier for the client performing the mutation.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AddAwardEmojiPayload","description":"Autogenerated return type of AddAwardEmoji","fields":[{"name":"awardEmoji","description":"The award emoji after mu |
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 | |
mint run -s https://github.com/Shopify/syrup.git@master syrup $@ |
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 | |
PUSHOVER_API_URL="https://api.pushover.net/1/messages.json" | |
PUSHOVER_APPTOKEN="<YOUR_APP_TOKEN>" | |
PUSHOVER_USERKEY="<YOUR_USER_KEY>" | |
if [ "$PAM_TYPE" != "close_session" ]; then | |
MESSAGE="User '$PAM_USER' logged into '`hostname`' from IP address '$PAM_RHOST'" | |
curl -s -F "user=$PUSHOVER_USERKEY" -F "token=$PUSHOVER_APPTOKEN" -F "message=$MESSAGE" $PUSHOVER_API_URL |