Skip to content

Instantly share code, notes, and snippets.

View Urdzik's full-sized avatar
🏠
Working from home

Viacheslav Urdzik Urdzik

🏠
Working from home
View GitHub Profile
[
{
"Title": "They Shall Not Grow Old",
"Year": 2018,
"Rated": "R",
"Released": "01 Feb 2019",
"Runtime": "99 min",
"Genre": "Documentary, History, War",
"Director": "Peter Jackson",
"Writer": "Peter Jackson",
@JockDaRock
JockDaRock / docx2md.md
Last active June 17, 2024 19:39 — forked from geekbleek/docx2md.md
Convert a Word Document into MD

Converting a Word Document to Markdown in One Move

The Problem

A lot of important government documents are created and saved in Microsoft Word (*.docx). But Microsoft Word is a proprietary format, and it's not really useful for presenting documents on the web. So, I wanted to find a way to convert a .docx file into markdown.

Installing Pandoc

On a mac you can use homebrew by running the command brew install pandoc.

The Solution

@wasabeef
wasabeef / GLTextureView.java
Last active January 22, 2024 12:19
GLTextureView
package jp.wasabeef.sample;
import android.content.Context;
import android.graphics.SurfaceTexture;
import android.opengl.GLDebugHelper;
import android.util.AttributeSet;
import android.util.Log;
import android.view.TextureView;
import android.view.View;
import java.io.Writer;