Skip to content

Instantly share code, notes, and snippets.

- (void)showActiveView
{
var centerX = [[[CPApp mainWindow] contentView] frame].size.width / 2,
centerY = [[[CPApp mainWindow] contentView] frame].size.height / 2,
frameTo = [activeView frame],
frameFrom;
frameTo.origin.x = centerX - (frameTo.size.width / 2);
frameTo.origin.y = centerY - (frameTo.size.height / 2);
@import <Foundation/CPObject.j>
theSupaNotificationName = @"theSupaNotificationName"
@implementation ProjectsView : CPView
{
id _delegate @accessors(property=delegate);
CPScrollView scrollView;
CPTableView projectsTable;
CPArray projects;
Si on switch la permission "setavatar" le bouton "choose" garde un cadenas.
"Setavatar" est inutile si "getavatar" n'est pas attribué. ("getavatar" inutile ?)
"Message" => accès en RO à la desc XML de la VM. Infos sensible dedans.
"permission set*" ne semble pas marcher
xmldesc et capabilites marchent de paire ? Quelle diff ? Si l'un des deux est décoché, l'onglet Definition est grisé. Meme si les 2 sont décochés
le chat permet d'avoir la description xml.
/** Class: Strophe.WebSocket
* XMPP Connection manager.
*
* Thie class is the main part of Strophe. It manages a BOSH connection
* to an XMPP server and dispatches events to the user callbacks as
* data arrives. It supports SASL PLAIN, SASL DIGEST-MD5, and legacy
* authentication.
*
* After creating a Strophe.Connection object, the user will typically
* call connect() with a user supplied callback to handle connection level
@primalmotion
primalmotion / script
Created December 7, 2011 18:18 — forked from cho45/script
Gyazo.app
#!/usr/bin/env ruby
require 'fileutils'
require 'pathname'
require 'uri'
require 'net/http'
require 'securerandom'
Net::HTTP.version_1_2
include FileUtils