This is a test
This file contains hidden or 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 | |
# Please install jq, wget and curl for this to work | |
REDMINE_URL="http://www.redmine.org/" # Your redmine URL | |
REDMINE_USER="" # Redmine username | |
REDMINE_PASS="" # Redmine pass | |
offset=0 | |
limit=100 |
This file contains hidden or 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 | |
# Use this script from cron to check if newer version of a Chrome extension is available and send notification to Slack | |
# Requirements: curl, jq, unzip | |
# Author: rlanyi | |
if [ "$#" -ne 3 ]; then | |
echo "Usage: ./versioncheck.sh <extension_id> <version> <slack_webhook_url>" | |
echo | |
echo "<extension_id> Chrome Webstore extension id (32 chars)" |
This file contains hidden or 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 | |
for group in $(gitlab -o json group list | jq -r .[].id); do for project in $(gitlab -o json group-project list --group-id $group | jq -r .[].id); do path_with_namespace=$(gitlab -o json project get --id $project | jq -r .path_with_namespace) ; tempfile=$(echo $path_with_namespace | sed "s/\//_/g"); echo -e "\nProject: $path_with_namespace ($temppath)" | tee $tempfile; gitlab -o json project-label list --project-id $project | jq -r '.[] | [.name, .is_project_label|tostring] | join(" ")' | tee $tempfile ; done; done |
You don't need a Mac to do this :-)
For generating PKPass files, you'll need 4 things after this tutorial:
- Certificate Identifier (pass.com.example.www)
- Team Identified (Organizational Unit (OU) in the cert generated by Apple)
- The .p12 file
- The password for the .p12 file
This file contains hidden or 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
curl http://a1.v2.phobos.apple.com.edgesuite.net/us/r1000/000/Features/atv/AutumnResources/videos/entries.json | jq -r .[].assets[].url | wget -i - -c |