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
Verifying that +gfelot is my blockchain ID. https://onename.com/gfelot |
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
upstream plex-upstream { | |
# change plex-server.example.com:32400 to the hostname:port of your plex server. | |
# this can be "localhost:32400", for instance, if Plex is running on the same server as nginx. | |
server plex-server.example.com:32400; | |
} | |
server { | |
listen 80; | |
# server names for this server. |
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
// | |
// Book.swift | |
// WIMB | |
// | |
// Created by Gil Felot on 10/01/16. | |
// Copyright © 2016 gfelot. All rights reserved. | |
// | |
import Foundation | |
import UIKit |
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
// | |
// LibraryViewController.swift | |
// WIMB | |
// | |
// Created by Gil Felot on 16/03/16. | |
// Copyright © 2016 gfelot. All rights reserved. | |
// | |
import UIKit | |
import Parse |
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
// | |
// LibraryViewController.swift | |
// WIMB | |
// | |
// Created by Gil Felot on 16/03/16. | |
// Copyright © 2016 gfelot. All rights reserved. | |
// | |
import UIKit | |
import Parse |
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
// | |
// LibraryTableViewController.swift | |
// WIMB | |
// | |
// Created by Gil Felot on 18/03/16. | |
// Copyright © 2016 gfelot. All rights reserved. | |
// | |
import UIKit | |
import Parse |
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
// | |
// BookTableViewCell.swift | |
// WIMB | |
// | |
// Created by Gil Felot on 27/03/16. | |
// Copyright © 2016 gfelot. All rights reserved. | |
// | |
import UIKit |
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
if let coverString = myBookFromJSON?.data["cover"] as! String! { | |
if let url = NSURL(string: coverString) { | |
print(url) | |
let imgView = UIImageView() | |
imgView.pin_setImageFromURL(url) | |
print(imgView.image) | |
headerView = ParallaxHeaderView.parallaxHeaderViewWithImage(imgView.image, forSize: CGSizeMake(self.tableview.frame.size.height, 300)) as! ParallaxHeaderView | |
self.tableview.tableHeaderView = headerView | |
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
override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { | |
let indexPath = tableView.indexPathForSelectedRow! | |
let currentCell = tableView.cellForRowAtIndexPath(indexPath) as! BookTableViewCell | |
titleToEdit = currentCell.titleLabel.text! | |
labelToEdit = currentCell.subtitleLabel.text! | |
funcNb = indexPath.row | |
deselectAllRows() | |
performSegueWithIdentifier("editRow", sender: nil) | |
} |
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
grunt> STORE top10 INTO 'output/pig/avg-volume' USING PigStorage(','); | |
2016-05-02 14:38:00,588 [main] INFO org.apache.pig.tools.pigstats.ScriptState - Pig features used in the script: GROUP_BY,ORDER_BY,FILTER,LIMIT | |
2016-05-02 14:38:00,623 [main] INFO org.apache.pig.newplan.logical.optimizer.LogicalPlanOptimizer - {RULES_ENABLED=[AddForEach, ColumnMapKeyPrune, DuplicateForEachColumnRewrite, GroupByConstParallelSetter, ImplicitSplitInserter, LimitOptimizer, LoadTypeCastInserter, MergeFilter, MergeForEach, NewPartitionFilterOptimizer, PartitionFilterOptimizer, PushDownForEachFlatten, PushUpFilter, SplitFilter, StreamTypeCastInserter], RULES_DISABLED=[FilterLogicExpressionSimplifier]} | |
2016-05-02 14:38:00,649 [main] INFO org.apache.hadoop.conf.Configuration.deprecation - mapred.textoutputformat.separator is deprecated. Instead, use mapreduce.output.textoutputformat.separator | |
2016-05-02 14:38:00,653 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 6000: | |
<line 7, column 0> Output Location Validation Failed f |
OlderNewer