Skip to content

Instantly share code, notes, and snippets.

(function() {
tinymce
.create(
"tinymce.plugins.wpGallery",
{
init : function(a, b) {
var c = this;
c.url = b;
c._createButtons();
a
package com.gaurish.helloandroid;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class helloandroid extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
@gaurish
gaurish / gist:824787
Created February 13, 2011 15:45
DDMS output
02-13 15:24:14.487: DEBUG/AndroidRuntime(375): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
02-13 15:24:14.487: DEBUG/AndroidRuntime(375): CheckJNI is ON
02-13 15:24:14.927: DEBUG/AndroidRuntime(375): --- registering native functions ---
02-13 15:24:14.937: INFO/jdwp(375): received file descriptor 20 from ADB
02-13 15:24:15.437: DEBUG/ddm-heap(375): Got feature list request
02-13 15:24:16.477: DEBUG/PackageParser(63): Scanning package: /data/app/vmdl18828.tmp
02-13 15:24:16.697: INFO/PackageManager(63): Removing non-system package:com.gaurish.challenge
02-13 15:24:16.697: DEBUG/PackageManager(63): Removing package com.gaurish.challenge
02-13 15:24:16.697: DEBUG/PackageManager(63): Activities: com.gaurish.challenge.defaultActivity
02-13 15:24:16.827: DEBUG/PackageManager(63): Scanning package com.gaurish.challenge
var http = require('http');
var options = {
host: 'api.twitter.com',
port: 80,
path: '/1/statuses/public_timeline.json'
};
http.get(options, function(res) {
console.log('Got response ' + res.statusCode);
2011-04-01 10:12:51.580 [4604:1660]: restore library built Feb 7 2011 at 06:28:58
2011-04-01 10:12:51.580 [4604:1660]: iTunes: iTunes 10.2.1.1
2011-04-01 10:12:52.012 [4604:1660]: iTunes: Current software version: 5G77
2011-04-01 10:12:52.012 [4604:1660]: iTunes: Software payload version: 8C148 (option key)
2011-04-01 10:13:15.145 [4604:15d0]: iTunes: Specifying UOI boot image
2011-04-01 10:13:15.195 [4604:15d0]: AMRAuthInstallAttemptSimpleHttpRequest: attempting to connect to http://gs.apple.com:80
2011-04-01 10:13:15.844 [4604:15d0]: _AMRAuthInstallIsHttpServerResponsive: server response status code: 200. status text: OK
2011-04-01 10:13:16.229 [4604:1660]: iTunes: Entering recovery mode, device 06A09460
2011-04-01 10:13:19.516 [4604:1660]: iTunes: received kAMDeviceDetached action, device 06A09460
2011-04-01 10:14:04.576 [4604:1504]: WinAMRestore::OnInterfaceArrival: \\?\USB#VID_05AC&PID_1281#{ED82A167-D61A-4AF6-9AB6-11E52236C576}\IB0000#63daf9d6
root@dev:~# chkconfig mysql ON
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'K02mysql' missing LSB tags and overrides
insserv: warning: script 'S10vzquota' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
$ git remote add joyent node@64.30.136.175:repo
fatal: remote joyent already exists.
$ git remote rm joyent
$ git remote add joyent node@64.30.136.175:repo
$ git push joyent master
To node@64.30.136.175:repo
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'node@64.30.136.175:repo'
To prevent you from losing history, non-fast-forward updates were rejected
$ sudo lspci -vv
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
Subsystem: Giga-byte Technology Device 5000
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Capabilities: [e0] Vendor Specific Information <?>
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp
<!-- Start Joomla Produced Markup-->
<div id="navigation">
<span class="lcap"></span>
<div class="moduletable_menu">
<h3>Main Menu</h3>
<ul class="menu"><li id="current" class="active item1"><a href="http://localhost/joomla15/"><span>Home</span></a></li><li class="item53"><a href="/joomla15/product-lines"><span>Product Lines</span></a></li><li class="item54"><a href="/joomla15/about-us"><span>About Us</span></a></li></ul> </div>
<div id="navigation">
<span class="lcap"></span>
<a href="http://localhost/joomla15/" class="active">Home</a><span class="vbar">|</span>
<a href="/joomla15/product-lines">Product Lines</a><span class="vbar">|</span>
<a href="/joomla15/about-us">About us</a><span class="vbar">|</span>
<span class="rcap"></span>
</div>