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
if(prop("Progress") == 0, "❌", if(prop("Progress") == 100, "✅", if(smallerEq(prop("Progress"), 10), "■ 10%", if(smallerEq(prop("Progress"), 20), "■■ 20%", if(smallerEq(prop("Progress"), 30), "■■■ 30%", if(smallerEq(prop("Progress"), 40), "■■■■ 40%", if(smallerEq(prop("Progress"), 50), "■■■■■ 50%", if(smallerEq(prop("Progress"), 60), "■■■■■■ 60%", if(smallerEq(prop("Progress"), 70), "■■■■■■■ 70%", if(smallerEq(prop("Progress"), 80), "■■■■■■■■ 80%", if(smallerEq(prop("Progress"), 90), "■■■■■■■■■ 90%", if(smallerEq(prop("Progress"), 99), "■■■■■■■■■ 99%", "")))))))))))) |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Ejercicios EOI</title> | |
</head> | |
<body> | |
<div class="container"> |
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
set nocompatible | |
filetype off | |
" initiate Vundle | |
let &runtimepath.=',$HOME/.vim/bundle/Vundle.vim' | |
call vundle#begin() | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' | |
" start plugin defintion |
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
force_cast: | |
severity: warning | |
trailing_newline: | |
severity: error | |
trailing_whitespace: | |
severity: error | |
trailing_comma: | |
severity: error | |
vertical_whitespace: | |
severity: error |
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
root = true | |
[*] | |
indent_style = space | |
end_of_line = lf | |
indent_size = 2 | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
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
{ | |
"singleQuote": true | |
} |
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import psycopg2 | |
import sys | |
con = psycopg2.connect(host="host",database="database", user="user", password="password") | |
cursor = con.cursor() | |
try: | |
cursor.execute("""SELECT table_name FROM information_schema.tables""") |
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
components: | |
schemas: | |
Category: | |
type: object | |
properties: | |
id: | |
type: integer | |
format: int64 | |
name: | |
type: string |
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
"components": { | |
"schemas": { | |
"Category": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int64" | |
}, | |
"name": { |
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
este#es#un#fichero#"csv"#aunque | |
no#lo#parezca#para,nada | |
123 | |
1+2=tres# | |
# |
NewerOlder