Skip to content

Instantly share code, notes, and snippets.

[oneman@blacktower::/mnt/disk3/Download3/rawdodtest1]$ jruby ../jruby-1.5.2/bin/rake --trace
(in /mnt/disk3/Download3/rawdodtest1)
Android SDK Tools Revision 6
Project Target: Android 2.2
API level: 8
WARNING: No minSdkVersion value set. Application will install on all Android versions.
Importing rules file: platforms/android-8/ant/ant_rules_r2.xml
** Invoke default (first_time)
** Invoke debug (first_time)
** Invoke generate_libs (first_time)
[oneman@blacktower::/mnt/disk3/Download3]$ ruboto gen app --package com.yourdomain.whatever --path /mnt/disk3/Download3/test2 --name NameOfApp --target android-8 --activity MainActivityName
[oneman@blacktower::/mnt/disk3/Download3]$ cd test2/
[oneman@blacktower::/mnt/disk3/Download3/test2]$ JAVA_HOME=/mnt/disk3/Download3/jdk1.6.0_21 CLASSPATH=$JAVA_HOME/lib/tools.jar ../jruby-1.5.2/bin/rake --trace
(in /mnt/disk3/Download3/test2)
Android SDK Tools Revision 6
Project Target: Android 2.2
API level: 8
WARNING: No minSdkVersion value set. Application will install on all Android versions.
Importing rules file: platforms/android-8/ant/ant_rules_r2.xml
** Invoke default (first_time)
#!/bin/sh
# this program is liscnesed to swapnil for 1 time use only
# any time after that he better use a different codec than mpeg2 to edit like dnxhd
# also u can chew on RMS beard as desired
case $1 in
*.MTS)
input="$1"
h2. Household Goods Moving
p(introtext). This your Household Goods Moving Folder. Below is a list of contents, in alphabetical order. It is simple to peruse and use.Click on the content item that is of interest to you. You will go directly into information about that item or have further options to choose from.
p. "(pdflink)Ready to Move":/files/pdf/ready_move.pdf
p. "(pdflink)Non-Allowables":/files/pdf/non_allow.pdf
p. "(pdflink)Packing Tips":/files/pdf/packing_tips.pdf
@oneman
oneman / stabilize-jack-output-on-trackskip-ver2.patch
Created October 28, 2010 09:04
Patch for xmms2 Dr. No to stabilize Jack Output and prevent xruns on track skipping.
diff --git a/src/include/xmms/xmms_outputplugin.h b/src/include/xmms/xmms_outputplugin.h
index 11016d0..768844d 100644
--- a/src/include/xmms/xmms_outputplugin.h
+++ b/src/include/xmms/xmms_outputplugin.h
@@ -311,6 +311,16 @@ void xmms_output_stream_type_add (xmms_output_t *output, ...);
gint xmms_output_read (xmms_output_t *output, char *buffer, gint len);
/**
+ * determine there is enough data in the ringbuffer to fill out a peroid
+ *
--- /home/oneman/Desktop/temp2/asterisk-1.8.0/apps/app_jack.c 2010-01-15 13:21:50.000000000 -0500
+++ /home/oneman/kode/asterisk-1.8.0/apps/app_jack.c 2010-11-21 07:36:58.000000000 -0500
@@ -60,7 +60,7 @@
#define RESAMPLE_QUALITY 1
-#define RINGBUFFER_SIZE 16384
+#define RINGBUFFER_SIZE 65536
/*! \brief Common options between the Jack() app and JACK_HOOK() function */
aspect->samples_since_last_flush += samples;
printf("Samples at the moment: %d\n", samples);
printf("Samples since last flush: %d\n", aspect->samples_since_last_flush);
if (aspect->samples_since_last_flush >= (4096 * 4)) {
printf("Flushing since we got %d samples\n", aspect->samples_since_last_flush);
while(ogg_stream_flush(&aspect->stream_state, &aspect->page) != 0) {
printf("did a flush - ");
if(write_callback(encoder, aspect->page.header, aspect->page.header_len, 0, current_frame, client_data) != FLAC__STREAM_ENCODER_WRITE_STATUS_OK)
return FLAC__STREAM_ENCODER_WRITE_STATUS_FATAL_ERROR;
if(write_callback(encoder, aspect->page.body, aspect->page.body_len, 0, current_frame, client_data) != FLAC__STREAM_ENCODER_WRITE_STATUS_OK)
Samples at the moment: 1152
Samples since last flush: 1152
Samples at the moment: 1152
Samples since last flush: 2304
Samples at the moment: 1152
Samples since last flush: 3456
Samples at the moment: 1152
Samples since last flush: 4608
Samples at the moment: 1152
Samples since last flush: 5760
10:09:05 DEBUG: ../src/plugins/curl/curl_http.c:403: curl read was called and len was 4136
10:09:05 DEBUG: ../src/plugins/curl/curl_http.c:403: curl read was called and len was 3536
10:09:05 DEBUG: ../src/plugins/curl/curl_http.c:403: curl read was called and len was 2936
10:09:05 DEBUG: ../src/plugins/curl/curl_http.c:403: curl read was called and len was 2336
10:09:05 DEBUG: ../src/plugins/curl/curl_http.c:403: curl read was called and len was 1736
10:09:05 DEBUG: ../src/plugins/curl/curl_http.c:403: curl read was called and len was 1136
10:09:05 DEBUG: ../src/plugins/curl/curl_http.c:403: curl read was called and len was 536
10:09:05 DEBUG: ../src/plugins/curl/curl_http.c:403: curl read was called and len was 8192
10:09:05 DEBUG: ../src/plugins/curl/curl_http.c:403: curl read was called and len was 8128
10:09:05 DEBUG: ../src/plugins/curl/curl_http.c:403: curl read was called and len was 7528
[oneman@blacktower::~]$ xl
This program is deprecated and will be replaced by nyxmms2.
Consider setting runnycli to 'true' in config file to get future behaviour
(or set iknowoldcliisdeprecatedandwillgoaway to 'true' to hide this warning)
The config file is located at:
/home/oneman/.config/xmms2/clients/cli.conf
Total playtime: 0:00:00
[oneman@blacktower::~]$ xmms2 add http://u15c.di.fm:80/di_chiptunes_aacplus