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
| :: Attention! | |
| :: Please, refer to the https://github.com/horta/zlib.install repository | |
| :: for an up-to-date version of this installer. |
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
| from flask import Response, jsonify | |
| import json | |
| from flask_restful import Resource | |
| class Api(Resource): | |
| def post(self): | |
| response = Response( | |
| response=json.dumps(dict(error='err')), |
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
| /* | |
| Evaluation Of postfix Expression in C++ | |
| Input Postfix expression must be in a desired format. | |
| Operands must be integers and there should be space in between two operands. | |
| Only '+' , '-' , '*' and '/' operators are expected. | |
| */ | |
| #include<iostream> | |
| #include<stack> | |
| #include<string> |
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
| - (void)viewDidLoad { | |
| [super viewDidLoad]; | |
| self.videoCamera = [[GPUImageVideoCamera alloc] initWithSessionPreset:AVCaptureSessionPreset640x480 cameraPosition:AVCaptureDevicePositionFront]; | |
| self.videoCamera.outputImageOrientation = UIInterfaceOrientationPortrait; | |
| // self.avatarView is a non full screen GPUImageView instance | |
| // created in Storyboard | |
| [self.videoCamera addTarget:self.avatarView]; | |
| [self.videoCamera startCameraCapture]; |
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
| a: AM/PM | |
| A: 0~86399999 (Millisecond of Day) | |
| c/cc: 1~7 (Day of Week) | |
| ccc: Sun/Mon/Tue/Wed/Thu/Fri/Sat | |
| cccc: Sunday/Monday/Tuesday/Wednesday/Thursday/Friday/Saturday | |
| d: 1~31 (0 padded Day of Month) | |
| D: 1~366 (0 padded Day of Year) | |
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
| function getJSON(aUrl,sheetname) { | |
| //var sheetname = "test"; | |
| //var aUrl = "http://pipes.yahoo.com/pipes/pipe.run?_id=286bbb1d8d30f65b54173b3b752fa4d9&_render=json"; | |
| var response = UrlFetchApp.fetch(aUrl); // get feed | |
| var dataAll = JSON.parse(response.getContentText()); // | |
| var data = dataAll.value.items; | |
| for (i in data){ | |
| data[i].pubDate = new Date(data[i].pubDate); | |
| data[i].start = data[i].pubDate; | |
| } |