español | farsi | nepali | hindi | breton | welsh | pashto | albanian gheg | scottish gaelic | czech 1 | romani | armenian | mirandese |
---|---|---|---|---|---|---|---|---|---|---|---|---|
dos | du | din | dio | daou | dau | dwa | dy | da | dva | duj | yerku | dous |
cinco | panch | panch | pak | pamp | pump | pindze | pês | cóig | pet | panzh | hing | cinco |
ocho | hast | at | ath | eizh | wyth | até | tet | ochd | osm | oxto | uth | uito |
nueve | noh | nau | nau | nav | naw | ne | nan | naoi | devet | inja | inn | nuobe |
diez | dah | das | das | dek | deg | les | det | deich | deset | desh | tas |
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
command: | |
name: test:example | |
description: 'Update code' | |
commands: | |
- command: exec | |
options: | |
working-directory: "/Users/leandro/git/DrupalConsole" | |
arguments: | |
file: "./my_cool_commands.sh" | |
commands: |
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
command: | |
name: develop:update:code | |
description: 'Update code' | |
commands: | |
- command: exec | |
options: | |
working-directory: "/Users/leandro/git/DrupalConsole" | |
arguments: | |
bin: "git checkout master" | |
- command: exec |
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
require 'open-uri' | |
require 'ruby-cheerio' | |
require "terminal-table" | |
require "colored" | |
source = open("https://radiocarcoma.com/programacion").read | |
html = RubyCheerio.new(source) | |
time = Time.new | |
table = Terminal::Table.new |
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 | |
require "vendor/autoload.php"; | |
use Pimple\Container; | |
$container = new Container(); | |
$container['hello'] = function() { | |
return function($name) { |
españ | batua | ibérico | labortano | suletino | turco | húngaro | estonio | danés | nenets | ket |
---|---|---|---|---|---|---|---|---|---|---|
uno | bat | ban | bat | bat | bir | egy | üks | en | nob | qok/qus |
dos | bi | bin | biga | bi | iki | kettö | kaks | to | syidya | in |
tres | hiru | irur/(k)ilu(n) | hirur | iru | üç | három | kolm | tre | nyaxr | don |
cuatro | lau | lau(r) | laur | lau | dört | négy | neli | fire | tyet | sik |
cinco | bost | bors(te) | bortz | bost | bes | öt | viis | fem | samplyank | qak |
seis | sei | śei | sei | sei | alti | hat | kuus | seks | matq | a |
siete | zazpi | sisbi | zazpi | zazpi |
UNFINISHED ~~ WORK IN PROGRESS this list comes from hechoendrupal/drupal-console#1522
Drush Command | Description | Equivalent | Will not Implement | Notes |
---|---|---|---|---|
archive-dump |
Backup your code, files, and database into a single file. | PR that is been work on - #766 | ||
archive-restore |
Expand a site archive into a Drupal web site | #1524 | ||
browse |
Display a link to a given path or open link in a browser | |||
cache-clear |
Clear a specific cache, or all drupal caches | cache:rebuild |
||
cache-get |
Fetch a cached object and display it |
#Little Big URL Shortener Instalation#
- Clone the repo
- Set up your
/etc/hosts
and yourhttpd.conf
Mine looks like:
<VirtualHost *:80>
DocumentRoot "/home/leandro/public_html/leash"
ServerName leash.dev
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 Drupal\Console\Utils; | |
use Drupal\Console\Utils\Site; | |
use Symfony\Component\Filesystem\Filesystem; | |
/** | |
* Class Settings | |
* @package Drupal\Console\Utils | |
*/ |
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 | |
// we should wrap all this in a method or something .... | |
$yaml = new Yaml(); | |
$settings = $this->get('settings'); | |
$services_file = $settings->getServicesFile(); | |
// Copy default.services.yml in sites/default/ into sites/default/services.yml | |
//@TODO: handle it if services.yml exists | |
if (!$settings->exists($services_file)) { | |
$settings->rename( |