This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'fileutils' | |
require 'pathname' | |
require 'uri' | |
require 'net/http' | |
require 'securerandom' | |
Net::HTTP.version_1_2 | |
include FileUtils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import <Foundation/CPObject.j> | |
theSupaNotificationName = @"theSupaNotificationName" | |
@implementation ProjectsView : CPView | |
{ | |
id _delegate @accessors(property=delegate); | |
CPScrollView scrollView; | |
CPTableView projectsTable; | |
CPArray projects; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (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); | |