Skip to content

Instantly share code, notes, and snippets.

View reitowo's full-sized avatar
😽
adventure

reito reitowo

😽
adventure
View GitHub Profile
@cutiko
cutiko / activity_main.xml
Last active April 27, 2021 15:27
Ripple Effect Android
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
@lionel-rowe
lionel-rowe / insaneOptions.js
Last active March 23, 2023 12:45
insane options for use with marked and highlightjs
const insaneOptions = {
allowedAttributes: {
a: ['href', 'name', 'target', 'rel', 'title'],
img: ['src', 'alt', 'title'],
input: ['type', 'checked', 'disabled'],
code: ['class'],
span: ['class'],
th: ['align'],
tr: ['align']
},
@tqk2811
tqk2811 / 0_using.cpp
Last active April 26, 2023 13:13
NV12ToRgbShader
NV12ToRgbShader* shader = new NV12ToRgbShader();
if(shader->Init())
{
AVFrame* src = ...;
AVFrame* dst = ...;
if(shader->Convert(src,dst))
{
}
}