An introduction to curl using GitHub's API
Makes a basic GET request to the specifed URI
| #!/usr/bin/env perl | |
| ## ----------------------------------------------------------------------- | |
| ## | |
| ## Copyright 2002-2008 H. Peter Anvin - All Rights Reserved | |
| ## Copyright 2009 Intel Corporation; author: H. Peter Anvin | |
| ## | |
| ## This program is free software; you can redistribute it and/or modify | |
| ## it under the terms of the GNU General Public License as published by | |
| ## the Free Software Foundation, Inc., 53 Temple Place Ste 330, | |
| ## Boston MA 02111-1307, USA; either version 2 of the License, or |
| # Article --> https://sldn.softlayer.com/blog/ashaw/object-storage-uploader | |
| # ================================================================================ | |
| # ObjectStorageUploader.py | |
| # © Copyright IBM Corporation 2014. | |
| # LICENSE: MIT (http://opensource.org/licenses/MIT) | |
| # ================================================================================ | |
| import argparse | |
| import os |
| #!/bin/env bash | |
| ssh-keygen -t rsa -N "" -C travis -f ./travis_key | |
| # tested on Linux only (according the author) | |
| # on macOS you'll need gsplit instead of split | |
| # decryption should work on both Linux and macOS travis-workers | |
| # official doc/help page https://docs.travis-ci.com/user/encryption-keys | |
| # see also http://stackoverflow.com/questions/18027115/committing-via-travis-ci-failing |
An introduction to curl using GitHub's API
Makes a basic GET request to the specifed URI
| ############################################# | |
| ## | |
| ## PostgreSQL base backup automation | |
| ## Author: Stefan Prodan | |
| ## Date : 20 Oct 2014 | |
| ## Company: VeriTech.io | |
| ############################################# | |
| # path settings | |
| $BackupRoot = 'C:\Database\Backup'; |
| #!usr/bin/env bash | |
| # For this to work, you need to have ffmpeg | |
| # installed with libvorbis, theora and libvpx ENABLED | |
| # to do that in Homebrew: | |
| # brew reinstall ffmpeg --with-libvpx --with-libvorbis --with-theora | |
| # | |
| # encoding reference: | |
| # https://blog.mediacru.sh/2013/12/23/The-right-way-to-encode-HTML5-video.html |