Skip to content

Instantly share code, notes, and snippets.

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
sshCommand = ssh -i ~/.ssh/id_rsa_jatapiarogithub
[user]
email = test@gmail.com
@Jatapiaro
Jatapiaro / iTerm2.md
Last active February 23, 2021 22:35
iTerm2 configuration
  1. Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  1. Copy the next code and save it as md.itermcolors
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<html>
<head>
<title>¡Super!</title>
</head>
<body>
<h1>Your example domain is ready</h1>
</body>
</html>
<VirtualHost *:80>
@Jatapiaro
Jatapiaro / qemu_ubuntu.md
Last active April 23, 2024 10:38
How to install QEMU on OSX and install an Ubuntu VM

Install QEMU on OSX

QEMU requires brew in OSX, so we need to install brew first.

Installing Brew

To install brew we need to have the developer tools enabled in our system. In order to install those tools, we have two options.

  1. Download Xcode form the AppStore
  2. In your terminal run the following command: xcode-select --install
export default class HttpService {
makeGet(route) {
const endpoint = this.getEnpoint(route);
return window.axios.get(endpoint).then(res => {
return res.data.data
})
.catch(err => {
return Promise.reject(err.response.data);
});
@Jatapiaro
Jatapiaro / bookstore_script.sql
Created June 25, 2019 22:23
Creación de una base de datos con SQL
CREATE TABLE salas
(
id INT unsigned NOT NULL auto_increment,
nombre VARCHAR(240) NOT NULL,
metros FLOAT(6, 2) NOT NULL,
PRIMARY KEY (id)
);
INSERT INTO salas
(nombre, metros)
@Jatapiaro
Jatapiaro / concerts_query.sql
Last active April 22, 2019 23:19
Procedure to retrieve concerts that has a name
/*
* This will select all the concerts where at least
* a position matches some value
*/
SELECT concert_id AS id
FROM positions p
WHERE p.content LIKE '%co%'
GROUP BY concert_id
export default class HttpService {
makeGet(route) {
const endpoint = this.getEnpoint(route);
return window.axios.get(endpoint).then(res => {
return res.data.data
})
.catch(err => {
return Promise.reject(err.response.data);
});
@Jatapiaro
Jatapiaro / HojasEstilo.md
Last active March 11, 2019 23:09
Evidenciando la calificación de la tarea Hojas de Estilo

Actividad Hojas de Estilo

Debido al comentario:

Jacobo, en tu código fuente o incluyes más que una pantalla con un encebezado, no aparece la información que se ve en el video. Hace referencia a documentos de java script,que no son el tema que se está

@Jatapiaro
Jatapiaro / Wallet.md
Last active February 24, 2019 08:13
Cómo utilizar LOST-Wallet

Cómo usar Lost-Wallet

Administrador de monedas

Simplemente hay que acceder como administrador a https://app.goalproject.co/admin y seleccionar la opción de Monedas. Desde ahí se pueden crear o actualizar las monedas existentes.

Consulta de Monedas Disponibles

Basta con hacer una petición GET a https://kernel.goalproject.co/api/coins. Por ejemplo: