Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
$ uname -r
<?php | |
namespace AppBundle\Entity; | |
/** | |
* @package AppBundle\Entity | |
* @ORM\Entity() | |
* @ORM\Table() | |
* @ORM\Cache(usage="NONSTRICT_READ_WRITE") | |
*/ |
Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
/** | |
* This file provides common stuff to be used in the pipelines. | |
* It is important to load it after repo checkout is done: see https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md#triggering-manual-loading | |
* | |
*/ | |
/** | |
* Dumps some info about the environment. | |
* @return | |
*/ |
Finding Packer-generated AMIs automatically after builds
The basic technique is to have Packer add a tag with a unique value during the build, and use AWS' built-in filtering capabilities to find that specific AMI after the build finishes.
I moved this to its own repository: https://github.com/borfast/new_linux |
node { | |
def currentVersion = getCurrentVersion() | |
def newVersion = getNextVersion(currentVersion) | |
def frontendIp = kubectl("get svc l5d -o jsonpath=\"{.status.loadBalancer.ingress[0].ip}\"").trim() | |
def originalDst = getDst(getDtab()) | |
stage("clone") { | |
git url: gitRepo + '.git', branch: gitBranch | |
} |