Skip to content

Instantly share code, notes, and snippets.

Avatar

Kirill Kulakov kirill578

View GitHub Profile
View throttle-quadrant-setup.md
View time lapse from multiple files
ffmpeg -i 1.MP4 -i 2.MP4 -filter_complex "[0:v]setpts=0.25*PTS[v0];[0:a]atempo=2.0,atempo=2.0[a0];[1:v]setpts=0.25*PTS[v1];[1:a]atempo=2.0,atempo=2.0[a1];[v0] [a0] [v1] [a1] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp4
View recompose_lifecycle_withstate.js
import React from 'react';
import { Component } from 'react';
import { render } from 'react-dom';
import { withState, compose, lifecycle } from 'recompose'
const Enhanced = compose(
withState('text', 'setText', 'first'),
lifecycle({
componentDidMount() {
var that = this;
View zzz.html
<!DOCTYPE html>
<html>
<body>
<p>Click the button to display an alert box.</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction() {
View FULL log
[arm64-v8a] Clean : emojicodec [arm64-v8a]
[arm64-v8a] Clean : stdc++ [arm64-v8a]
[x86_64] Clean : emojicodec [x86_64]
[x86_64] Clean : stdc++ [x86_64]
[mips64] Clean : emojicodec [mips64]
[mips64] Clean : stdc++ [mips64]
[armeabi-v7a] Clean : emojicodec [armeabi-v7a]
[armeabi-v7a] Clean : stdc++ [armeabi-v7a]
[armeabi] Clean : emojicodec [armeabi]
[armeabi] Clean : stdc++ [armeabi]
View ListUtils.java
public class ListUtils {
/**
* Partitions lists into batches of minimum and maximum size.
* examples when min=2, max=4:
* [1, 2, 3, 4 ,5] -> [[1, 2, 3], [4, 5]]
* [1, 2, 3, 4] -> [[1, 2, 3, 4]]
* [1, 2, 3, 4, 5 ,6] -> [[1, 2, 3, 4] [5, 6]]
* @param originalList - list to parition
You can’t perform that action at this time.