Simple glob:
ffmpeg -r 24 -i '*.JPG' -s hd1080 -vcodec libx264 timelapse.mp4
Start from DSC_0079.JPG
ffmpeg -r 24 -f image2 -start_number 79 -i DSC_%04d.JPG -s hd1080 -vcodec libx264 timelapse2.mp4
<?xml version="1.0" encoding="UTF-8" ?> | |
<Resource xmlns="http://xml.metamug.net/resource/1.0" v="1.0"> | |
<Request method="GET"> | |
<Desc>Request to display a single page. | |
User needs to calculate offset = limit + offset | |
for each subsequent request. Offset is 900 i.e There are 1000 records. | |
Limit being 100, Page size cannot be more than 100. | |
</Desc> | |
<Param name="limit" type="number" min="0" max="100"/> | |
<Param name="offset" type="number" min="0" max="900"/> |
import java.util.concurrent.ThreadLocalRandom; | |
public class Probability { | |
public static void main(String[] args){ | |
if(args.length != 2){ | |
System.out.println("java Probability <Samples> <Probability percentage>") | |
System.exit(0); | |
} |
<Resource v="0.8" xmlns="http://xml.metamug.net/resource/1.0"> | |
<Request method="GET" > | |
<Update> | |
set @count := 0 | |
</Update> | |
<Query> | |
select @count := a from todo | |
</Query> | |
<Query> | |
select @count |
product | price | quantity | |
---|---|---|---|
widget1 | 19.95 | 10 | |
widget2 | 24.00 | 20 | |
widget1 | 12.00 | 40 |
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 | |
http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.example.android</groupId> | |
<artifactId>my-android-app</artifactId> | |
<version>0.1</version> | |
<packaging>apk</packaging> |
sudo add-apt-repository ppa:webupd8team/sublime-text-3; | |
sudo apt-get update; | |
sudo apt-get install sublime-text-installer; | |
sudo ln -s /usr/lib/sublime-text-3/sublime_text /usr/local/bin/sublime; |
import java.sql.*; | |
import java.util.logging.*; | |
import javafx.application.Application; | |
import javafx.collections.*; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.scene.Scene; | |
import javafx.scene.control.*; | |
import javafx.scene.layout.*; | |
import javafx.stage.Stage; |
Reference: RFC 2616 - HTTP Status Code Definitions
Imagine that you are versioning your sourcecode in git and building your code via maven. You need to make releases before deploying to production regularly. What should be the strategy we need to follow for releasing?
I've used maven-release-plugin for years to make releases. It worked perfectly with maven and svn, but we started to face problems when we migrated our code to git and to make releases on git.
After checking the literature, we decided to use JGit-Flow which is a maven plugin based on and is a replacement for the maven-release-plugin enabling support for git-flow style releases via maven.
I do not want to explain the details much because there are many great posts explaining all.