Skip to content

Instantly share code, notes, and snippets.

View x0y-gt's full-sized avatar
🌎
Working remotely

x0y x0y-gt

🌎
Working remotely
View GitHub Profile
#!/usr/bin/env bash
GFX=$(supergfxctl -g)
STATE=$(supergfxctl -S)
PROF=$(asusctl profile -a)
BATT=$(cat /etc/asusd/asusd.conf | tr -dc '0-9')
echo "| iconName=profile-performance"
echo "---"
echo "GPU:\t\t ${GFX^} ($STATE) | iconName=nvidia"
function palabraToLower(palabra) {
var arr = palabra.split('');
for(var i=0; i<arr.length; i++){
var ascii = arr[i].charCodeAt(0)
if (ascii >= 65 && ascii <= 90) {
arr[i] = ascii+32
arr[i] = String.fromCharCode(arr[i])
}
class Vehicle {
constructor(model, color) {
this.model = model
this.color = color
}
drive() {
console.log('Soy un vehiculo ' + this.model + ' de color ' + this.color)
}
}
class Cafetera {
constructor(peso) {
this.peso = peso;
}
makeCoffee() {
console.log('Estoy haciendo cafe');
}
};

List to don't forget things when traveling

Documents

  • Passport(visa?)
  • ID's
  • Hotel contact info
  • Health insurance