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
slicePalamValue = function(url, key){ | |
return url.split(key+"=")[1].split("&")[0]; | |
} | |
var url = http://aaaaaaaaa.com/code=ABCDEFG | |
console.log(slicePalamValue(url,"code")); //ABCDEFG |
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
tableView.estimatedRowHeight = 464//だいたいの高さの見積もり? | |
tableView.rowHeight = UITableViewAutomaticDimension |
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
Post.find({}).sort('-created').execFind( function(err, items){ | |
console.log( err ); | |
res.render('index.jade', { title: title, posts: items }); | |
}); |
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 UIKit | |
import CollectionViewWaterfallLayout | |
class WaterfallCollectionViewController: UIViewController, UICollectionViewDataSource, CollectionViewWaterfallLayoutDelegate { | |
var collectionView: UICollectionView! | |
init () { |
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
iex> [a: a] = [a: 1] | |
[a: 1] | |
iex> a | |
1 | |
iex> [a: a] = [a: 1, b: 2] | |
** (MatchError) no match of right hand side value: [a: 1, b: 2] | |
iex> [b: b, a: a] = [a: 1, b: 2] | |
** (MatchError) no match of right hand side value: [a: 1, b: 2] |
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
dyld: Symbol not found: __TWPCSo7NSError13BrightFutures9ErrorTypeS0_ | |
Referenced from: /private/var/mobile/Containers/Bundle/Application/E5242F00-6D45-4101-964C-6D42B2CDDA87/APlayerViewController.app/APlayerViewController | |
Expected in: /private/var/mobile/Containers/Bundle/Application/E5242F00-6D45-4101-964C-6D42B2CDDA87/APlayerViewController.app/Frameworks/BrightFutures.framework/BrightFutures | |
in /private/var/mobile/Containers/Bundle/Application/E5242F00-6D45-4101-964C-6D42B2CDDA87/APlayerViewController.app/APlayerViewController | |
(lldb) | |
NewerOlder