Skip to content

Instantly share code, notes, and snippets.

Carlos Alberto Lopez Perez clopez

Block or report user

Report or block clopez

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@clopez
clopez / YEPO_737A.md
Last active Feb 27, 2019 — forked from anonymous/YEPO_737A.md
Linux On Yepo 737A
View YEPO_737A.md

Yepo 737A + Linux

  • Boot Menu F2 or Del

  • Boot Device Menu F7

  • WARNING: Dont change the OS from Windows to "Intel Linux" on the BIOS. Doing that causes the screen to not startup at BIOS time making impossible to enter into it again (requires to drain the battery and press power button several times to reset the settings)

Observation of functional distributions:

  • Debian 10
@clopez
clopez / alexa_check_content_encoding.py
Last active Oct 11, 2017
Check Alexa top N sites to see how many support a specific Content-Encoding
View alexa_check_content_encoding.py
#!/usr/bin/env python3
# Author: Carlos Alberto Lopez Perez <clopez@igalia.com>
# License: MIT
#
# Check Alexa top N sites to see how many support a specific Content-Encoding
#
# Examples of use:
# * Check top 100 alexa for encoding gzip:
# $ ./alexa_check_content_encoding.py gzip 100
# * Check top 500 alexa for encoding brotli:
View enumerate-gresource-entries.py
#! /usr/bin/env python3
# Prints the entries on a GResource file (*.gresource)
import os, sys
from gi.repository import Gio
def is_leaf(name):
if type(name) == type(""):
return not name.endswith("/")
return False
@clopez
clopez / test64bits.sh
Created Apr 2, 2013
Check if running kernel is 32 bits or 64 bits
View test64bits.sh
#!/bin/sh
# Return codes:
# 10 => The kernel is unknow
# 32 => The kernel is 32-bits
# 64 => The kernel is 64-bits
_testkernelbits() {
# Test method 1. Check the lenght of the kernel addresses
@clopez
clopez / DarkMonokai.qss
Last active Oct 12, 2017 — forked from sct/DarkMonokai.qss
Amazing stylesheet for Quassel IRC Client
View DarkMonokai.qss
/**
* ____ _ ___ ___ _ _
* | _ \ | | | \/ | | | (_)
* | | \ |__ _ _ __| | __ | . . | ___ _ __ ___ | | __ __ _ _
* | | | | _` | '__| |/ / | |\/| |/ _ \| '_ \ / _ \| |/ // _` | |
* | |_/ /(_| | | | < | | | | (_) | | | | (_) | <| (_| | |
* |____/\__,_|_| |_|\_\ \_| |_/\___/|_| |_|\___/|_|\_\\__,_|_|
*
* Quassel Theme
*
You can’t perform that action at this time.