Skip to content

Instantly share code, notes, and snippets.

Avatar

HyowonHwang HyowonHwang

  • Seoul, South Korea
View GitHub Profile
@eladkarako
eladkarako / common_h264_codec_strings_used_in_youtube__no_parsing.js
Created Aug 6, 2017
H.264 Codec String Parser (video, profile, level) - August 2017
View common_h264_codec_strings_used_in_youtube__no_parsing.js
//"avcoti" hexadecimal representation of the following three bytes in the (subset) sequence parameter set Network Abstraction Layer (NAL) unit specified in AVC: 1.profile_idc, 2.the byte containing the constraint_set flags (currently constraint_set0_flag through constraint_set5_flag, and the reserved_zero_2bits), 3.level_idc.
AVC1_CODEC_MAP = {
,"avc1.66.30": {profile:"Baseline", level:3.0, max_bit_rate:10000} //iOS friendly variation (iOS 3.0-3.1.2)
"avc1.42001e": {profile:"Baseline", level:3.0, max_bit_rate:10000}
,"avc1.42001f": {profile:"Baseline", level:3.1, max_bit_rate:14000}
//other variations
,"avc1.77.30": {profile:"Main", level:3.0, max_bit_rate:10000} //iOS friendly variation (iOS 3.0-3.1.2)
,"avc1.4d001e": {profile:"Main", level:3.0, max_bit_rate:10000}
,"avc1.4d001f": {profile:"Main", level:3.1, max_bit_rate:14000}
@wall72
wall72 / install_Tensorflow_n_OpenAI_Gym_on_WSL.md
Last active May 16, 2017
install Tensorflow, OpenAI Gym on WSL
View install_Tensorflow_n_OpenAI_Gym_on_WSL.md

install Tensorflow, OpenAI Gym on WSL

1. uninstall lxrun

> lxrun /uninstall /full

2. run bash

3. update

View Effective_Engineer.md

FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

View MergeSort_C.C
/* Merge sort in C */
#include<stdio.h>
#include<stdlib.h>
// Function to Merge Arrays L and R into A.
// lefCount = number of elements in L
// rightCount = number of elements in R.
void Merge(int *A,int *L,int leftCount,int *R,int rightCount) {
int i,j,k;
@jloutsenhizer
jloutsenhizer / ChromecastAppList.json
Created Feb 7, 2014
List of Chromecast Receiver Apps as of 2/6/2014 7:00PM GMT-5:00
View ChromecastAppList.json
[
{
"use_channel":true,
"allow_empty_post_data":true,
"app_id":"edaded98-5119-4c8a-afc1-de722da03562",
"url":"http://chromecast.redbull.tv/receiver.php",
"dial_enabled":true
},
{
"use_channel":true,
@benelog
benelog / Volley.md
Last active Jun 22, 2020
Volley 설명
View Volley.md

안드로이드 개발에서 많은 비중을 차지하는 UI패턴은 ListView에서 여러 이미지를 보여주는 Activity입니다. 전형적인 흐름을 정리하면 아래와 같습니다.

​1. 목록조회 API호출

​2. API를 파싱하고 ListView에 데이터를 보여 줌.

​3. 각 아이템마다의 이미지 주소로 다시 서버를 호출

​4. 이미지를 디코딩하고 ImageView에서 보여줌.