Demo.mp4
Inspired by Shiki Magic Move
This code uses Google's diff-match-patch library to animate code transformations in Manim.
Inspired by Shiki Magic Move
This code uses Google's diff-match-patch library to animate code transformations in Manim.
<img | |
alt="accessible text" | |
class="fill-color-red" | |
height="16" | |
src="some.svg" | |
width="16" | |
onload="fetchSvgInline(this)" | |
/> |
# coding: utf-8 | |
# py2 origin author lrdcq | |
# usage python3 unwxapkg.py filename | |
__author__ = 'Integ: https://github.com./integ' | |
import sys, os | |
import struct | |
class WxapkgFile(object): |
private static <T> int[] computeTemporaryArray(T pattern[]){ | |
int [] lps = new int[pattern.length]; | |
int index =0; | |
for(int i=1; i < pattern.length;){ | |
if(equals(pattern[i],pattern[index])){ | |
lps[i] = index + 1; | |
index++; | |
i++; | |
}else{ | |
if(index != 0){ |
#!/usr/bin/env bash | |
# https://gist.github.com/BobbyRyterski/7a511b96ece47655b17d | |
# based on http://stackoverflow.com/q/14471692 | |
readonly BASE62=($(echo {0..9} {a..z} {A..Z})) | |
base62_encode() { | |
local out= | |
for i in $(bc <<< "obase=62; $1"); do |
ffmpeg -i "Apache Sqoop Tutorial Part 1.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
ffmpeg -i "Apache Sqoop Tutorial Part 2.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts
ffmpeg -i "Apache Sqoop Tutorial Part 3.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate3.ts
ffmpeg -i "Apache Sqoop Tutorial Part 4.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate4.ts
ffmpeg -i "concat:intermediate1.ts|intermediate2.ts|intermediate3.ts|intermediate4.ts" -c copy -bsf:a aac_adtstoasc "Apache Sqoop Tutorial.mp4"
{% extends "base.html" %} | |
{% block title %}{{report.title}}{% endblock %} | |
{% block titledemo %}{{report.demo_string}}{% endblock %} | |
{% block content %} | |
<div class="table-responsive" id="report"> | |
<table class='table table-striped'> | |
<thead> | |
{% for item in report.columes %} | |
<th>{{item}}</th> | |
{% endfor %} |
#! /usr/bin/env python2 | |
# Requires: PIL, colormath | |
# | |
# Improved algorithm now automatically crops the image and uses much | |
# better color matching | |
from PIL import Image, ImageChops | |
from colormath.color_conversions import convert_color | |
from colormath.color_objects import LabColor | |
from colormath.color_objects import sRGBColor as RGBColor |
Press minus + shift + s
and return
to chop/fold long lines!
.js-loading-overlay { | |
position:absolute; | |
top:0; bottom:0; | |
left:0; right:0; | |
z-index:199; | |
background:#fff; | |
opacity:0.5; |