Skip to content

Instantly share code, notes, and snippets.

View SebastianCastilloDev's full-sized avatar
🎯
Focusing

Sebastian Castillo SebastianCastilloDev

🎯
Focusing
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Diseñador freelancer</title>
<style>
@SebastianCastilloDev
SebastianCastilloDev / 100pelis.sql
Created October 17, 2023 18:32
Archivos necesarios para la ejecución del trabajo de bases de datos pro 202 aiep
INSERT INTO tabla VALUES(27205, 'Inception', 8.364, 34495, 'Released', '2010-07-15', 825532764, 148, 0, '/8ZTVqvKDQ8emSGUEMjsS4yHAwrp.jpg', 160000000, 'https://www.warnerbros.com/movies/inception', 'tt1375666', 'en', 'Inception', '\"Cobb, a skilled thief who commits corporate espionage by infiltrating the subconscious of his targets is offered a chance to regain his old life as payment for a task considered to be impossible: \"\"inception\"\", the implantation of another person''s idea into a target''s subconscious.\"', 83.952, '/oYuLEt3zVCKq57qu2F8dT7NIa6f.jpg', 'Your mind is the scene of the crime.', '\"Action, Science Fiction, Adventure\"', '\"Legendary Pictures, Syncopy, Warner Bros. Pictures\"', '\"United Kingdom, United States of America\"', '\"English, French, Japanese, Swahili\"')
INSERT INTO tabla VALUES(157336, 'Interstellar', 8.417, 32571, 'Released', '2014-11-05', 701729206, 169, 0, '/pbrkL804c8yAv3zBZR4QPEafpAR.jpg', 165000000, 'http://www.interstellarmovie.net/', 'tt0816692', 'en', 'Interstel
create database ParkingSystemsSA
go
use ParkingSystemsSA
go
create table Cliente(
idCliente int primary key identity,
rut varchar(9) unique null,
nombre varchar(50),
@SebastianCastilloDev
SebastianCastilloDev / .gitignore
Created September 27, 2023 18:58
Git Ignore para c# .net
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
--Para completar la prueba debe escribir las consultar correctamente para las siguientes solicitudes:
Consultas simples
1. lista el nombre de todas las flotas que ha en la tabla flotas.
select nombre from flota
2. lista el nombre de todas las flotas que hay en la tabla flotas, convirtiendo el nombre a
mayúsculas.
select UPPER(nombre) from flota
3. lista el nombre de todos los imperios que hay en la tabla imperios, convirtiendo el nombre a
minúsculas.
select Lower(nombre) from imperio
Console.Clear();
string nombre = "Este es mi nombre";
int saldo = 10000;
string contraseña = "0000";
string contraseñaIngresada = "";
use aiep_inicio
--Devuelve una lista con el nombre del producto, precio y nombre de fabricante de todos los productos de la base de datos.
select producto.nombre, producto.precio, fabricante.nombre from producto, fabricante where fabricante.id_fabricante = producto.fabricante
select producto.nombre, producto.precio, fabricante.nombre from producto join fabricante on producto.fabricante = fabricante.id_fabricante
--Devuelve una lista con el nombre del producto, precio y nombre de fabricante de todos los productos de la base de datos. Ordene el resultado por el nombre del fabricante, por orden alfabético.
@SebastianCastilloDev
SebastianCastilloDev / animaciones.cs
Created September 12, 2023 20:43
algunas animaciones en consola c#
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Runtime.Serialization.Formatters;
using System.Security.Claims;
using System.Security.Cryptography.X509Certificates;
using System.Text;
@SebastianCastilloDev
SebastianCastilloDev / figuras.cs
Created September 12, 2023 20:41
figuras en consola c#
using System.Globalization;
Console.Clear();
Console.CursorVisible = false;
Lineas();
PintarRecuadro(ConsoleColor.White,3,1,18,5);
PintarRecuadro(ConsoleColor.Magenta,3,7,19,7);
PintarRecuadro(ConsoleColor.DarkBlue,25,1,31,5);
Console.WriteLine("Bienvenido a Javi Coins");
Console.Write("Ingrese su nombre: ");
string nombre = Console.ReadLine();
Console.Write("Ingrese su apellido: ");
string apellido = Console.ReadLine();
Console.Write("Ingrese su direccion: ");
string direccion = Console.ReadLine();
Console.Write("Ingrese su rut: ");
string rut = Console.ReadLine();