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 you change this file, run 'update-grub' afterwards to update | |
# /boot/grub/grub.cfg. | |
# For full documentation of the options in this file, see: | |
# info -f grub -n 'Simple configuration' | |
GRUB_DEFAULT=0 | |
GRUB_TIMEOUT_STYLE=hidden | |
GRUB_TIMEOUT=0 | |
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` | |
GRUB_CMDLINE_LINUX_DEFAULT="default text amdgpu.noretry=0 amdgpu.dc=1 amdgpu.cik_support=1 amdgpu.si_support=1 amdgpu.dpm=-1 amdgpu.aspm=0 amdgpu.gpu_recovery=1 amdgpu.gfx9_support=1" |
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
import variableModulo, {MiClase} from "./modulo.js"; | |
const texto = document.createElement("p"); | |
texto.textContent = variableModulo; | |
contenedor.appendChild(texto); | |
const obj = {propx: 'holax', propy: 'holay'} | |
const usar = new MiClase(obj, 'otro valor'); | |
usar.miFuncion(); |
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
version: '2' | |
services: | |
mariadb: | |
image: 'bitnami/mariadb:10.1' | |
environment: | |
- ALLOW_EMPTY_PASSWORD=yes | |
- MARIADB_USER=my_user | |
- MARIADB_DATABASE=my_database | |
- MARIADB_PASSWORD=my_password |
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
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
// Con tipos primitivos definidos | |
a := ternaryInt64(5 > 88, 13, 0) | |
b := ternaryString(3 > 1, "correcto", "incorrecto") |
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
__author__ = "lggomez" | |
__copyright__ = "Copyright 2017" | |
__credits__ = ["Luis Gomez"] | |
__license__ = "MIT" | |
__version__ = "0.3" | |
__maintainer__ = "lggomez" | |
__status__ = "Production" | |
import argparse | |
import os |
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
package main | |
import ( | |
"crypto/tls" | |
"errors" | |
"log" | |
"net" | |
"net/smtp" | |
"strings" | |
) |
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/env bash | |
# pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY chmod 777 /dev/kvm - stackoverflow.com/questions/37300811/android-studio-dev-kvm-device-permission-denied | |
export ANDROID_EMULATOR_LAUNCHER_DIR=/home/zeroidentidad/Android/Sdk/emulator | |
export LD_LIBRARY_PATH=/home/zeroidentidad/Android/Sdk/emulator/lib64/qt/lib:/home/zeroidentidad/Android/Sdk/emulator/lib64/libstdc++:/home/chucho/Android/Sdk/emulator/lib64/gles_angle11:/home/zeroidentidad/Android/Sdk/emulator/lib64/gles_angle9:/home/zeroidentidad/Android/Sdk/emulator/lib64/gles_angle:/home/zeroidentidad/Android/Sdk/emulator/lib64/gles_swiftshader:/home/zeroidentidad/Android/Sdk/emulator/lib64 | |
EMULATOR86="/home/zeroidentidad/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64" | |
EMULATOR="/home/zeroidentidad/Android/Sdk/emulator/emulator" | |
DEVICE=`$EMULATOR -list-avds tail -1` | |
RUN="$EMULATOR86 -netdelay none -netspeed full -avd $DEVICE" |
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
/* | |
* ----------------------- | |
* Classic Ember.js Cheatsheet | |
* ----------------------- | |
* | |
* Docs: https://guides.emberjs.com/ | |
* Quick start: https://guides.emberjs.com/current/getting-started/quick-start/ | |
* | |
* Table of contents | |
* ------------------- |
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
) | |
type GaiaTruncatedData struct { |
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
CREATE TABLE books ( | |
isbn char(14) NOT NULL, | |
title varchar(255), | |
author varchar(255), | |
price decimal(5,2) | |
); | |
INSERT INTO books (isbn, title, author, price) VALUES | |
('978-1503261969', 'Emma', 'Jayne Austen', 9.44), | |
('978-1514274873', 'Journal of a Soldier', NULL, 5.49), |
OlderNewer