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
The pang, the lust | |
for the murky mist; | |
it shall be sorely missed. | |
A life without cigarettes | |
- eternal life attained. | |
Oh goody. | |
Without those minutes of smoky mirth, | |
activities seem devoid of punctuation. |
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
[ | |
["n", "Next unreviewed file", "nextUnreviewedFile()"], | |
["p", "Previous unreviewed file", "prevUnreviewedFile()"], | |
[null, "Next file", "nextFile()"], | |
[null, "Previous file", "prevFile()"], | |
["shift+n", "Next changed file", "nextChangedFile()"], | |
["shift+p", "Previous changed file", "prevChangedFile()"], | |
["x", "Mark file as reviewed / unreviewed", "toggleCurrentFileReviewed()"], | |
["j", "Next unreplied comment", "nextUnrepliedDiscussion()"], | |
["k", "Previous unreplied comment", "prevUnrepliedDiscussion()"], |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<databases> | |
<from> | |
<host>localhost</host> | |
<username>flexologist</username> | |
<password>flexologist</password> | |
<database>flexologist_migration_from</database> | |
</from> |
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
CREATE DATABASE `flexologist_migration_from` ; | |
CREATE TABLE `users` ( | |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, | |
`username` varchar(255) NOT NULL, | |
`firstName` varchar(255) NOT NULL, | |
`lastName` varchar(255) NOT NULL, | |
`age` int(3) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; |
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
CREATE USER 'flexologist'@'localhost' IDENTIFIED BY '***'; | |
GRANT ALL PRIVILEGES ON * . * TO 'flexologist'@'localhost' IDENTIFIED BY '***' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ; | |
GRANT ALL PRIVILEGES ON `flexologist\_%` . * TO 'flexologist'@'localhost'; |
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
$migration = new Migration(); | |
$migration->migrate(); | |
$migration->closeConnections(); |
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
var accessors:XMLList = describeType(Capabilities)..accessor.(@declaredBy == getQualifiedClassName(Capabilities)); | |
for each(var accessor:XML in accessors) | |
trace(accessor.@name.toString() + ": " + Capabilities[accessor.@name.toString()]); |
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
private function xmlToObject(xml:XML, chain:Object=null):Object | |
{ | |
if(!chain) | |
chain = {}; | |
for each(var child:XML in xml.children()) | |
{ | |
(child.children().length() > 1 || (child.children().length() == 1 && child.hasComplexContent())) | |
? chain[child.name().toString()] = xmlToObject(child, chain[child.name().toString()]) | |
: chain[child.name().toString()] = chain[child.name().toString()] = child.text().toString(); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<services-config> | |
<services> | |
<service id="amfphp-flashremoting-service" class="flex.messaging.services.RemotingService" | |
messageTypes="flex.messaging.messages.RemotingMessage"> | |
<destination id="amfphp"> | |
<channels> | |
<channel ref="amfphp"/> | |
</channels> | |
<properties> |
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
<mx:RemoteObject id="service" destination="amfphp" source="MyService" result="result(event)" fault="fault(event)"/> |
OlderNewer