pkgin up
pkgin in py27-graphite-web ap22-py27-wsgi
If pkgin
says the package cannot be found, do this:
#import <Foundation/Foundation.h> | |
@interface NSData (MD5) | |
- (NSString *)MD5String; | |
@end | |
#import <CommonCrypto/CommonDigest.h> | |
@implementation NSData (MD5) | |
- (NSString *)MD5String { | |
unsigned char result[16]; | |
CC_MD5(self.bytes, self.length, result); |
<?xml version='1.0'?> | |
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> | |
<service_bundle type='manifest' name='export'> | |
<service name='network/djbdns' type='service' version='0'> | |
<create_default_instance enabled='true'/> | |
<dependency name='dep0' grouping='require_all' restart_on='error' type='service'> | |
<service_fmri value='svc:/milestone/multi-user:default'/> | |
</dependency> | |
<exec_method name='start' type='method' exec='tinydns &' timeout_seconds='10'> | |
<method_context working_directory='/opt/local/etc/tinydns'> |
zipstream = require "zipstream" | |
fs = require "fs" | |
async = require "async" | |
class StreamingResponse | |
filename: "" | |
files: [] | |
streaming: true | |
### |
[root@headnode (coal) ~]# sdc-cnapi /servers/564dee43-ee2c-5303-717a-cdea366b81a7 | |
HTTP/1.1 200 OK | |
Content-Type: application/json | |
Content-Length: 3223 | |
Date: Thu, 15 Jan 2015 16:10:38 GMT | |
Server: Compute Node API | |
x-request-id: 0b667740-9cd1-11e4-8ae3-7f32772472eb | |
x-response-time: 5 | |
x-server-name: 6a9c0500-2d71-4827-a1a7-64756792726a | |
Connection: keep-alive |
{ | |
"brand": "joyent", | |
"image_uuid": "c02a2044-c1bd-11e4-bd8c-dfc1db8b0182", | |
"autoboot": true, | |
"alias": "testvm", | |
"hostname": "testvm", | |
"max_physical_memory": 256, | |
"max_swap": 256, | |
"nics": [ | |
{ |
root@plexlx:~# wget https://downloads.plex.tv/plex-media-server/0.9.11.16.958-80f1748/plexmediaserver_0.9.11.16.958-80f1748_amd64.deb | |
--2015-04-05 04:52:29-- https://downloads.plex.tv/plex-media-server/0.9.11.16.958-80f1748/plexmediaserver_0.9.11.16.958-80f1748_amd64.deb | |
Resolving downloads.plex.tv (downloads.plex.tv)... 2400:cb00:2048:1::6814:709, 2400:cb00:2048:1::6814:609, 104.20.7.9, ... | |
Connecting to downloads.plex.tv (downloads.plex.tv)|2400:cb00:2048:1::6814:709|:443... failed: Network is unreachable. | |
Connecting to downloads.plex.tv (downloads.plex.tv)|2400:cb00:2048:1::6814:609|:443... failed: Network is unreachable. | |
Connecting to downloads.plex.tv (downloads.plex.tv)|104.20.7.9|:443... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 119172228 (114M) [application/octet-stream] | |
Saving to: ‘plexmediaserver_0.9.11.16.958-80f1748_amd64.deb’ |
{ | |
"owner_uuid": "930896af-bf8c-48d4-885c-6573a94b1853", | |
"image_uuid": "818cc79e-ceb3-11e4-99ee-7bc8c674e754", | |
"brand": "lx", | |
"alias": "demo", | |
"networks": [ | |
{ | |
"ipv4_uuid": "fc0f4390-5a0d-4911-a36b-5039e3a848ec", | |
"ipv4_ips": ["10.88.88.17"], | |
"primary": "true" |
MDB is unlike most debuggers you've experienced.
It is not a source level debugger like gdb or lldb or even Node's builtin debugger
Generally used for postmortem analysis.
Postmortem is for Production and Development
We operate mostly on core files, though you can attach to running processes as well.
ue4_on_lx : pargs -ae 29784 | |
29784: ./ShooterGameServer TheIsland?listen?SessionName=dtrace?ServerAdminPassword=wha | |
argv[0]: ./ShooterGameServer | |
argv[1]: TheIsland?listen?SessionName=dtrace?ServerAdminPassword=whateveradminpass | |
argv[2]: -server | |
argv[3]: -log | |
envp[0]: SHELL=/bin/bash | |
envp[1]: TERM=xterm-256color | |
envp[2]: OLDPWD=/home/steam |