jenkins_url + /api/json?tree=jobs[name,color]
jenkins_url + /job/${job_name}/api/json?tree=builds[number,status,timestamp,id,result]
| FFmpeg: | |
| Requirement: | |
| yasm faad2-devel faac-devel lame-devel opencore-amr-devel openjpeg-devel libtheora-devel libvpx-devel libvorbis-devel xvidcore-devel | |
| Configure: | |
| Medium configuration: | |
| $ ./configure --prefix=/usr --disable-static --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid | |
| With debug: | |
| $ --enable-debug=gdb3 --disable-stripping |
| package com.mmg.mlive.media; | |
| import java.io.IOException; | |
| import com.mmg.mlive.activity.R; | |
| import android.app.Activity; | |
| import android.os.Bundle; | |
| import android.os.Environment; | |
| import android.util.Log; |
| package com.mmg.mlive.media; | |
| import android.hardware.Camera; | |
| import android.view.SurfaceHolder; | |
| public class CameraUtil { | |
| public CameraUtil getInstance() { | |
| return null; | |
| } |
| package com.mmg.mlive.media; | |
| import android.view.SurfaceHolder; | |
| public class StreamerDemo { | |
| public void setVideoFormat(int width, int height, int frameRate) { | |
| } | |
| /** |
| require 'rubygems' | |
| require 'zip/zip' | |
| puts "hello from ruby "*20 |
| /*global module:false,process:false*/ | |
| /** | |
| * helper script for Grunt bower task | |
| * this script is used to compare javascript libraries versions | |
| * installed by bower, and run `bower install` only when necessary | |
| */ | |
| var fs = require('fs'); | |
| var bower = require('bower'); | |
| var components = require('./bower.json'); |
| SELECT | |
| cols.table_name, | |
| cols.column_name, | |
| cols.position, | |
| cons.status, | |
| cons.owner | |
| FROM all_constraints cons, | |
| all_cons_columns cols | |
| WHERE cols.table_name = 'TABLE_NAME' | |
| AND cons.constraint_type = 'P' |
| #!/bin/bash | |
| # | |
| # Prepends a date string in front of the Maven output. | |
| # A workaround for http://jira.codehaus.org/browse/MNG-519 "Timestamps on messages" | |
| [ -z "${AWK}" ] && AWK="$(which gawk 2>/dev/null)" || AWK="$(which awk 2>/dev/null)" || { echo "Error: Could not find AWK tool."; exit 1; } | |
| "${AWK}" 'BEGIN { print strftime("%Y-%m-%d %H:%M:%S"); }' 2>&1 > /dev/null || { echo "Error: your AWK version does not support strftime() function." && exit 1; } | |
| mvn "${@}" 2>&1 |"${AWK}" '{ print strftime("%Y-%m-%d %H:%M:%S"), $0; fflush(); }' | |
| # see comp.unix.shell FAQ: (http://cfajohnson.com/shell/cus-faq-2.html) |
| #!/bin/bash | |
| HOST_IP=`ip -4 addr show eno1 | grep inet | awk -F'[ /]' '{print $6}'` | |
| docker run -d \ | |
| -p 2181:2181 \ | |
| -p 2888:2888 \ | |
| -p 3888:3888 \ | |
| garland/zookeeper |