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
gulp.task('less', function (cb) { | |
gulp.src([__dirname + '/app/less/bootstrap.less']) | |
.pipe(less({ | |
paths: [path.join(__dirname, '/app/less', 'includes')] | |
})) | |
.pipe(gulp.dest(__dirname + '/dist/css/')) | |
.on('end', cb) | |
.on('error', function (err) { | |
console.log(err.message); |
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
"pool_config": { | |
"register_fee":15.00, # fee de entrada | |
"only_garantize": false, #eso a tru cuando solo es premio garantizado i no tb el bote acumulado | |
"garantize_prize": 0.00, #cantidad de premio garantizado | |
"register_pot": true, # esto setea si se tiene en cuenta el bote acumulado por entradas o no , | |
"position_type": "m", #por ahora siempre a m = manual | |
"prizes_config": [ | |
{"from_position": 1, "to_position": 1, "type": {"amount": 90.00, "_cls": "PointPrize"}}, # Precio Puntos | |
{"from_position": 2, "to_position": 2, "type": {"amount": 10.00, "_cls": "CashPrize","only_play":false}} # ,Estructura para Dinero , el only_play se stea a true , si se marca la casilla de dinero torneo, esto significa que ese dinero se utiliza solo para registrarse en partidas | |
] |
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
{ | |
"name": "Tournament 4 Teams", | |
"register_mode": "OPEN", | |
"game": "5475f8843207a847e415557c", | |
"region": "577cbd9595369e10448465e1", | |
"config_id": "595e05c866bc5a5ca6b1e3ab", | |
"featured": false, | |
"featured_image": null, | |
"background_image": null, | |
"cover_image": null, |
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
{ | |
"name": "5vs5 Configuration 2017 Mike", | |
"game": "5475f8843207a847e415557c", | |
"mode": "cl", | |
"type": { | |
"num_teams": 2, | |
"num_players": 5, | |
"_cls": "SingleMatch" | |
}, | |
"rounds": [ |
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
{ | |
"name": "5vs5 Configuration 2017 Mike", | |
"game": "5475f8843207a847e415557c", | |
"mode": "cl", | |
"type": { | |
"num_teams": 2, | |
"num_players": 5, | |
"_cls": "SingleMatch" | |
}, | |
"rounds": [ |
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
TIPO MATCH COMPETITIVO | |
"type": { | |
"num_teams": 2, | |
"num_players": 5, | |
"_cls": "SingleMatch" | |
}, | |
TIPO DEATHMATCH |
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
server { listen 80; | |
server_name example.com; | |
access_log /var/log/example.com/nginx.access.log; | |
error_log /var/log/example.com/nginx.error.log; | |
root /var/www/apps/example.com/public; | |
charset utf-8; | |
location / { | |
rewrite ^ https://$host$request_uri? permanent; | |
} |
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
# | |
# Slightly tighter CORS config for nginx | |
# | |
# A modification of https://gist.github.com/1064640/ to include a white-list of URLs | |
# | |
# Despite the W3C guidance suggesting that a list of origins can be passed as part of | |
# Access-Control-Allow-Origin headers, several browsers (well, at least Firefox) | |
# don't seem to play nicely with this. | |
# |
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
server { | |
location / | |
{ | |
include uwsgi_params; | |
uwsgi_pass unix:/tmp/core.socket; | |
if ($request_method = 'OPTIONS') { | |
add_header Access-Control-Allow-Origin *; | |
# | |
# Om nom nom cookies |
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
/* (320x480) iPhone (Original, 3G, 3GS) */ | |
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) { | |
/* insert styles here */ | |
} | |
/* (320x480) Smartphone, Portrait */ | |
@media only screen and (device-width: 320px) and (orientation: portrait) { | |
/* insert styles here */ | |
} | |