"Jangan memohon kepada selain Allah karena Dialah yang memenuhi hajatmu. Bagaimana sesuatu selain-Nya bisa mengubah sesuatu yang sudah ditetapkan-Nya? Dan bagaimana orang yang tak mampu membebaskan dirinya dari kebutuhan dapatmembebaskan kebutuhan orang lain?"

Linux

 ◊  Playing with Pulseaudio

Every PulseAudio “Sink” has a “Source” named “monitor”. This lets you attach to a given Sink and chain more stuff to it, for example, recording the audio that is playing through PulseAudio at any given moment. This is very handy for creating, for example, PubQuiz-style clips of songs, movies, etc.

 ◊  Native C Application @ Android

Pre:

Building native now is pretty easy, no need to build the android source like before, as google already provide the ndk that gives us a handy tool to go.

I'm using to do this android-ndk-r5-linux-x86.tar.bz2 in my case.

This is the path i use:

source code: /home/dd/android/dev/native
android ndk: /home/dd/android/android-ndk-r5
android sdk: /home/dd/android/android-sdk-linux_86

Do The Story:

Create the initial code named /home/dd/android/dev/native/test.c:

#include  <stdio.h>// printf

 ◊  Using crokscrew or socat to use git via proxy

Pre:

You're behind proxy and you want to do things behind it, you will have options like: proxychains, corkscrew, or socat.

This page is related to corkscrew and socat.

Do:

1. Corckscrew:

Create general wrapper (named: /tmp/corkscrew.wrapper):

#!/bin/bash

 ◊  Mirror android to local git server

Pre:

I'm assuming you already familiar with how gitosis & git working, read my page @ http://www.bekatul.info/content/git-gitosis if you're still out of it.

Setup Do:

1. (mirror-user) Create the android mirror:

$ cd /path/to/local/mirror
$ wget http://android.git.kernel.org/repo
$ chmod +x ./repo

Check out the master branch:

"Bekatul Port" Personal Enterprise Number (PEN) registered @ IANA OID

ASN.1 Notation: {iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 30347}

Dot Notation: 1.3.6.1.4.1.1.30347

IRI Notation: oid:/ISO/Identified-Organization/6/1/4/1/30347

Syndicate content


View Stat Counter