Skip to content

Instantly share code, notes, and snippets.

View clopez's full-sized avatar

Carlos Alberto Lopez Perez clopez

View GitHub Profile
@clopez
clopez / DarkMonokai.qss
Last active October 12, 2017 22:47 — forked from sct/DarkMonokai.qss
Amazing stylesheet for Quassel IRC Client
/**
* ____ _ ___ ___ _ _
* | _ \ | | | \/ | | | (_)
* | | \ |__ _ _ __| | __ | . . | ___ _ __ ___ | | __ __ _ _
* | | | | _` | '__| |/ / | |\/| |/ _ \| '_ \ / _ \| |/ // _` | |
* | |_/ /(_| | | | < | | | | (_) | | | | (_) | <| (_| | |
* |____/\__,_|_| |_|\_\ \_| |_/\___/|_| |_|\___/|_|\_\\__,_|_|
*
* Quassel Theme
*
@clopez
clopez / test64bits.sh
Created April 2, 2013 19:58
Check if running kernel is 32 bits or 64 bits
#!/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
#! /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 / alexa_check_content_encoding.py
Last active October 11, 2017 14:00
Check Alexa top N sites to see how many support a specific Content-Encoding
#!/usr/bin/env python3
# Author: Carlos Alberto Lopez Perez <[email protected]>
# 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:
@clopez
clopez / YEPO_737A.md
Last active June 25, 2020 05:29 — forked from anonymous/YEPO_737A.md
Linux On Yepo 737A

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