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
// usage: | |
// 1) npm install | |
// 2) node ./app.js <YOUR_SUBMISSION_ID> | |
// or add something like this in your crontab/anacron | |
// 1 0 mid.pass.check node <FULL_PATH>/app.js <YOUR_SUBMISSION_ID> | |
// app will create YOUR_SUBMISSION_ID.txt on the first run, and than will write you an email after any changes in status | |
const process = require('node:process'); |
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
#!/usr/bin/perl | |
# Trying to fix cygwin symlink issue, which is described here: | |
# https://www.cygwin.com/faq.html#faq.using.symlinkstoppedworking | |
use warnings; | |
use strict; | |
use feature ":5.12"; | |
use English; |
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 | |
# script is intended to get everything new from local dir and prepare commit to git repo | |
# i.e all untracked files or changed but not updated | |
# bash 0 is true | |
# 1 is false (yeah, feel the pain!) | |
ask_user() | |
{ | |
echo $1; | |
select yn in "Yes" "No"; do |
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 | |
# Cisco Anyconnect CSD wrapper for OpenConnect | |
# Enter your vpn host here | |
CSD_HOSTNAME= | |
if [[ -z ${CSD_HOSTNAME} ]] | |
then | |
echo "Define CSD_HOSTNAME with vpn-host in script text. Exiting." | |
exit 1 | |
fi |