This file contains hidden or 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 FormatSegmentedControlLeftCapColors = nil, | |
| FormatSegmentedControlCenterColors = nil, | |
| FormatSegmentedControlRightCapColors = nil; | |
| @implementation FormatSegmentedControl : CPSegmentedControl | |
| { | |
| CPArray _backgroundViews; | |
| } | |
| + (void)initialize |
This file contains hidden or 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
| if (imageCache[filename]) | |
| { | |
| self.beginBitmapFill(imageCache[filename]); | |
| self.moveTo(x, y); | |
| self.lineTo(x+width, y); | |
| self.lineTo(x+width, y+height); | |
| self.lineTo(x, y+height); | |
| self.lineTo(x, y); | |
| self.endFill(); | |
| } |
This file contains hidden or 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
| WebInspector.XProfileDataGridNode = function(aProfileView, aProfileNode, aHeadDataGridNode, hasChildren) | |
| { | |
| WebInspector.DataGridNode.call(this, null, hasChildren); | |
| } | |
| WebInspector.XProfileDataGridNode.prototype = { | |
| get totalPercent() | |
| { | |
| return this.totalTime / this.head.totalTime * 100.0; |
This file contains hidden or 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
| [{"user": { "userid": "deisy", "password": "C269FB1DD462330070C315F0612030D4", "logedin": false, "profiles": [ { "permissionsList": [ "LOUHICLIENT" ] } ], "workLoad": [ ]}}{"user": { "userid": "erick84", "password": "58FB053DAFE354ED55668C225F0C86AE", "logedin": false, "profiles": [ { "permissionsList": [ "LOUHICLIENT" ] } ], "workLoad": [ ]}}{"user": { "userid": "oswa", "password": "CAF1A3DFB505FFED0D024130F58C5CFA", "logedin": false, "profiles": [ { "permissionsList": [ "LOUHICLIENT", "LOUHIWEB", "ADD_USERS", "REMOVE_USERS", "ADD_WORK", "REMOVE_WORK" ] } ]}}{"user": { "userid": "bob", "password": "9F9D51BC70EF21CA5C14F307980A29D8", "logedin": false, "profiles": [ { "permissionsList": [ "LOUHICLIENT" ] } ], "workLoad": [ ]}}{"user": { "userid": "carmina", "password": "3BF77959261381C466503D78E538F4F5", "logedin": false, "profiles": [ { "permissionsList": [ "LOUHICLIENT" ] } ], "workLoad": [ ]}}{"user": { "userid": "armando", "password": "61938381C1F6408F9B6DEFB9A047D2C8", "logedin": false, "profiles": [ { "p |
This file contains hidden or 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
| currentMouseOverView = [theWindow hitTest:thePoint]; | |
| //same view as last time, bail. | |
| if (currentMosueOverView === stack.top()) | |
| return; | |
| view = currentMouseOverView | |
| while (view) |
This file contains hidden or 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
| if (!_acceptsMouseMovedEvents) | |
| return; | |
| var hitTestView = [_windowView hitTest:point]; | |
| if ([_mouseEnteredStack lastObject] === hitTestView) | |
| return; | |
| var view = hitTestView, | |
| mouseEnteredStack = []; |
This file contains hidden or 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 versionStart = USER_AGENT.indexOf("AppleWebKit/") + "AppleWebKit/".length, | |
| versionEnd = USER_AGENT.indexOf(" ", versionStart), | |
| versionString = USER_AGENT.substring(versionStart, versionEnd), | |
| versionDivision = versionString.indexOf('.'), | |
| majorVersion = parseInt(versionString.substring(0, versionDivision)), | |
| minorVersion = parseInt(versionString.substr(versionDivision + 1)); | |
| if((USER_AGENT.indexOf("Safari") !== CPNotFound && (majorVersion >= 525 && minorVersion > 14)) || USER_AGENT.indexOf("Chrome") !== CPNotFound) | |
| PLATFORM_FEATURES |= CPJavascriptRemedialKeySupport; |
This file contains hidden or 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
| 280NPLIST;1.0;D;K;4;$topD;K;18;CPCibObjectDataKeyD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;16;_CPCibObjectDataK;8;$classesA;S;16;_CPCibObjectDataS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;28;_CPCibObjectDataNamesKeysKeyD;K;6;CP$UIDd;1;4E;K;30;_CPCibObjectDataNamesValuesKeyD;K;6;CP$UIDd;1;5E;K;30;_CPCibObjectDataClassesKeysKeyD;K;6;CP$UIDd;1;6E;K;32;_CPCibObjectDataClassesValuesKeyD;K;6;CP$UIDd;1;7E;K;30;_CPCibObjectDataConnectionsKeyD;K;6;CP$UIDd;1;8E;K;28;_CPCibObjectDataFrameworkKeyD;K;6;CP$UIDd;1;9E;K;26;_CPCibObjectDataNextOidKeyD;K;6;CP$UIDd;2;10E;K;30;_CPCibObjectDataObjectsKeysKeyD;K;6;CP$UIDd;2;11E;K;32;_CPCibObjectDataObjectsValuesKeyD;K;6;CP$UIDd;2;12E;K;26;_CPCibObjectDataOidKeysKeyD;K;6;CP$UIDd;2;13E;K;28;_CPCibObjectDataOidValuesKeyD;K;6;CP$UIDd;2;14E;K;28;_CPCibObjectDataFileOwnerKeyD;K;6;CP$UIDd;2;16E;K;33;_CPCibObjectDataVisibleWindowsKeyD;K;6;CP$UIDd;2;18E;E;D;K;10;$classnameS;7;CPArrayK;8;$classesA;S;7;CPArrayS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.o |
This file contains hidden or 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
| // change withObject: and waitUntilDone: accordingly. | |
| #define ENSURE_ON_MAIN_THREAD()\ | |
| if (![NSThread isMainThread])\ | |
| return [self performSelectorOnMainThread:_cmd withObject:nil waitUntilDone:NO]; | |
| //... | |
| - (void)something | |
| { |
This file contains hidden or 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
| public static void main(String[] args) { | |
| Scanner scanner = new Scanner(new BufferedInputStream(System.in), "UTF-8"); | |
| String string = ""; | |
| while (true) | |
| { | |
| Scanner lineScanner = new Scanner(scanner.nextLine()); | |
| ArrayList options = new ArrayList(); | |