~/project/mobacon-pre (master) tree -L 1
.
├── Gemfile
├── Gemfile.lock
├── Procfile
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
use strict; | |
use warnings; | |
use feature 'say'; | |
say join ':', split '', 'abc'; |
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
#!/usr/bin/env perl | |
use 5.10.0; | |
use strict; | |
use warnings; | |
use Test::More; | |
sub hoge { | |
my %ret; | |
for my $row (@_) { |
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
#!/usr/bin/env perl | |
use 5.10.0; | |
use strict; | |
use warnings; | |
use Test::More; | |
sub hoge { join ',', ('?') x @_ } | |
is hoge(qw/1 3 4 5/), '?,?,?,?'; |
どこかで見たことあったりするスキーマだったりしませんか?!
http://yapcasia.org/2014/talk/show/ce6e777e-fb91-11e3-b7e8-e4a96aeab6a4
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
use List::UtilsBy qw/weighted_shuffle_by/; | |
my @wlist = ( | |
{ value => 'a', weight => 0 }, | |
{ value => 'b', weight => 0 }, | |
); | |
weighted_shuffle_by { $_->{weight} } @wlist; |
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
use List::UtilsBy qw/weighted_shuffle_by/; | |
my @wlist = ( | |
{ value => 'a', weight => 0 }, | |
{ value => 'b', weight => 0 }, | |
); | |
weighted_shuffle_by { $_->{weight} } @wlist; |
- タイムスケジュール
- 諸注意
- 運営向けTODO
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
<!doctype html> | |
<html ng-app='sample'> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.min.js"></script> | |
<script> | |
angular.module('sample', []) | |
.controller('MainCtrl', ['$scope', function($scope) { | |
$scope.bulk_check = function() { | |
angular.forEach($scope.items, function(item) { |
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 TABLE user_event_ranking ( | |
event_id INTEGER, | |
user_id INTEGER, | |
score INTEGER, | |
PRIMARY KEY (event_id, user_id), | |
INDEX KEY (event_id, score) | |
); | |
CREATE TABLE user_event_ranking ( |
OlderNewer