# crear carpeta en hadoop
hdfs dfs -mkdir /movielens-20m
# descarga de archivos de s3 a carpeta loca
aws s3 cp s3://bigdata-desafio/challenges/u3act1/ movies/ --recursive
# copiar archivos descargados a la carpeta movielens-20m de hadoop
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
local cmp = require("cmp") | |
return { | |
"hrsh7th/nvim-cmp", | |
enabled = false, | |
opts = function(_, opts) | |
local has_words_before = function() | |
unpack = unpack or table.unpack | |
local line, col = unpack(vim.api.nvim_win_get_cursor(0)) | |
return col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match("%s") == nil | |
end |
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
# For more information on configuration, see: | |
# * Official English Documentation: http://nginx.org/en/docs/ | |
# * Official Russian Documentation: http://nginx.org/ru/docs/ | |
user nginx; | |
worker_processes auto; | |
error_log /var/log/nginx/error.log; | |
pid /run/nginx.pid; | |
# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic. |
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
// Requires: | |
// Leaflet: http://leafletjs.com/ | |
// Leaflet.curve: https://github.com/elfalem/Leaflet.curve | |
// | |
// Assumes: | |
// var map is a Leaflet map and already set up. | |
var latlngs = []; | |
var latlng1 = [LATITUDE, LONGTITUDE], |
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
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
In your command-line run the following commands:
brew doctor
brew update
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
<?php | |
namespace App\Providers; | |
use Illuminate\Support\ServiceProvider; | |
use Storage; | |
class SwapDriverServiceProvider extends ServiceProvider | |
{ | |
/** |
These are the instructions for using Terminal to install the Windows version of the game onto your machine. You can then easily copy the game multiple times for different mods you might want to play.
In this guide you'll end up with:
- A version of the unadulterated game
- A single-player install w/ PlugY + EnjoySP
- A multi-player install w/ Path of Diablo.
vim /etc/php5/fpm/php.ini max_execution_time = 300000
sudo vim /etc/php5/fpm/pool.d/www.conf request_terminate_timeout = 0
NewerOlder