Skip to content

Instantly share code, notes, and snippets.

@fenderstic
fenderstic / How_to_setup_NFS_on_Ubuntu_14.04.md
Created November 13, 2016 01:31
How to setup NFS on Ubuntu 14.04

Due to my foolish memory, writing a gist for setting a NFS is much better once much better.

Installing related packages, at first.

sudo apt-get install nfs-kernel-server nfs-common

/etc/exports is a key file to set up.

$ sudo vi /etc/exports
@fenderstic
fenderstic / WhoStoresMyDocument.md
Created January 1, 2016 01:33
Who owns(stores ?) my document in chromium ?

I was getting interest in looking for 'WHERE document() comes from?'.

'Chromium' is quite big and complicated open-source project, so even traversing source code for looking 'where it comes from' also hard. However, it was statred from HTMLMediaElement class(chromium/src/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp). And, finally real implementaion of document() belongs to a class TreeScope(third_party/WebKit/Source/core/dom/TreeScope.h).

The inheritance seems like below, shortly. HTMLMediaElement - HTMLElement - Element - ContainerNode - Node and, Node has TreeScope and it has 'Document& document() const'.

I hope, someone (including me) needs this quick information.

@fenderstic
fenderstic / FromHTMLMediaElementToWebMediaPlayerGStreamer.md
Created December 16, 2015 09:53
FromHTMLMediaElementToWebMediaPlayerGStreamer

Understanding this project 'ChromiumGStreamerBackend' (https://github.com/Samsung/ChromiumGStreamerBackend), this article would be helpful someone who doesn't know structure of HTML5Video.

HTMLMediaElement derives WebMediaPlayerClient and implements pure-virtual function of parent's. Regarding to intefaces of WebMediaPlayerClient, HTMLMediaElement calls functions of WebMediaPlayer in order to connect REAL system-specific implementation. WebMediaPlayer has a lot of pure-virtual functions to abstract most valuable function of MediaPlayer's. WebMediaPlayerGStreamer derives WebMediaPlayer for specifying gstreamer-implementation.

@fenderstic
fenderstic / GrepAndFind.md
Last active December 10, 2015 14:49
development companions

#grep #find ##using -not (osx) for an exclusion If I want to

  • find all header files,

And, I want to

  • hesitate to check under third-party directory

, at the same time

@fenderstic
fenderstic / DevelopmentEnvironmentForOsx.md
Last active December 6, 2015 02:10
DevelopmentEnvironmentForOsx

Preface

My all time has been spent on MICROSOFT WINDOWS. However, at home, apple-farm is waiting for me. Before going inside, I need to annouce my preference lean to hit keyboards than mouse : )

Better Touch Tool (1.44 is up-to date, for me)

Most people talk it, it's must-have item for track-pad-control. But for me, it's the best utility for making SHORT-KEYs.

A control of window for dual monitors

You might see 'Keyboard' menu on the main window of BTT(Better Touch Tool). Please click it. You found 'Add new short cut' which make your SHORT-KEYs.

@fenderstic
fenderstic / BuildingGstreamerOnOSX(ElCapitan).md
Last active September 25, 2019 04:47
A walkthrough 'Building GStreamer On OSX (El Capitan)'

The document for building gstreamer from source is not found. So, I decided to upload this document for beginners of gstreamer. Please DO NOT take this document SERIOUSLY : ) It might have some mistakes, cause I'm a newbie as you.

Get started with XCODE and BREW

I had tried to install all kind of build tools with source build and installation. And I realized it was stupid things that waste my priceless time.

  • XCODE install on terminal
    • xcode-select --install
  • Brew install on terminal