Para editar un comando: Window → Preferences → General → Keys
Ctrl+D | elimina la línea actual (en la que se encuentra el cursor) |
Ctrl+Shift+F | formatear código (tabulaciones, saltos de línea,…) |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
// | |
// PrintLocalesController.m | |
// NSFormatterTest | |
// | |
// Created by Maciek Grzybowski on 02.04.2014. | |
// | |
#import "PrintLocalesController.h" | |
@interface PrintLocalesController () |
import React from 'react'; | |
import Card from '@material-ui/core/Card'; | |
import CardContent from '@material-ui/core/CardContent'; | |
import CardMedia from '@material-ui/core/CardMedia'; | |
import Typography from '@material-ui/core/Typography'; | |
import { withStyles } from '@material-ui/core/styles'; | |
function AlbumCard(props){ | |
return( |
## docker-compose para correr wordpress con una base de datos en mysql | |
## by PeladoNerd https://youtu.be/eoFxMaeB9H4 | |
version: '3.1' | |
services: | |
wordpress: | |
image: wordpress:php7.1-apache | |
ports: |
{ | |
"env": { | |
"browser": true, | |
"es6": true, | |
"node": true | |
}, | |
"extends": ["airbnb"], | |
"globals": { | |
"document": false, | |
"escape": false, |
require('dotenv/config') | |
const express = require('express') | |
const multer = require('multer') | |
const AWS = require('aws-sdk') | |
const uuid = require('uuid/v4') | |
const app = express() | |
const port = 3000 |
function PalindromeCreator(str) { | |
const isStringPalindrome = isPalindrome(str); | |
if (isStringPalindrome) return 'palindrome'; | |
const palindrome = findPalindrome([{ | |
str, | |
chars: [], | |
}], 2, 0); | |
return palindrome && palindrome.str.length > 2 ? getRemovedCharsForPalindrome(palindrome) : 'not possible'; | |
} |