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
sudo su | |
curl -O https://wordpress.org/latest.tar.gz | |
tar xzvf latest.tar.gz | |
rm latest.tar.gz | |
cd wordpress | |
mv * ../ | |
cd .. | |
rmdir wordpress | |
cd .. |
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
defmodule Todo.Application do | |
# See http://elixir-lang.org/docs/stable/elixir/Application.html | |
# for more information on OTP Applications | |
@moduledoc false | |
use Application | |
def start(_type, _args) do | |
import Supervisor.Spec, warn: false |
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
defmodule Read do | |
def read do | |
case File.read("sample.txt") do | |
{ :ok, body } -> | |
String.split(body, "\n") | |
|> Stream.filter(&String.starts_with?(&1, "d")) | |
|> Enum.sort(&(byte_size(&1) >= byte_size(&2) )) | |
|> Stream.each(&IO.puts(String.capitalize(&1))) | |
|> Stream.run | |
{ :error, reason } -> |
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
var argv = require('minimist')(process.argv); | |
var gulpif = require('gulp-if'); | |
var prompt = require('gulp-prompt'); | |
var rsync = require('gulp-rsync'); | |
var chmod = require('gulp-chmod'); | |
var sequence = require('run-sequence'); | |
gulp.task('create_dist', function(){ | |
// Add your paths here. | |
var paths = [ |
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
es: | |
buttons: | |
share: "Compartir en %{social_media}" | |
errors: | |
not_found_header: Oh no! | |
not_found_description: Nos parece que no puede encontrar la página que está buscando. | |
not_found_home_link: "Por favor, llévame a la página principa" | |
header: | |
ad: Ad | |
by: Por |
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
$ -> | |
$(document).on 'page:change', -> | |
console.log 'page:change' | |
insertBugherd(); | |
window.insertBugherd = -> | |
window._bugHerd = null | |
$script = $("<script>").attr | |
'type' : 'text/javascript' | |
'src' : '//www.bugherd.com/sidebarv2.js?apikey=[YOUR API KEY HERE]' |