This file contains hidden or 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
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/master/schema.json", | |
"basics": { | |
"name": "Carlos González Recio", | |
"email": "[email protected]", | |
"image": "https://gravatar.com/avatar/db0cf308368f7455c169c28eaedaa30c?s=512", | |
"label": "CS Engineer", | |
"location": { | |
"countryCode": "ES", | |
"city": "Madrid", |
This file contains hidden or 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
#!/bin/bash | |
function is_present () { | |
command -v "$1" &>/dev/null | |
} | |
if ! is_present curl; then | |
echo "curl not found" | |
exit 1 | |
fi |
This file contains hidden or 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 | |
WORKDIR=${1:-`pwd`} | |
SINCE=${2:-"1970/01/01"} | |
UNTIL=${3:-`date +%Y/%m/%d`} | |
echo "Commits from ${SINCE} to ${UNTIL}" | |
for dir in ${WORKDIR}*/; do | |
pushd $dir &> /dev/null | |
if [ -d .git ]; then | |
repo=$(basename ${dir}) |
This file contains hidden or 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
FROM alpine:armhf | |
RUN apk update && apk add --no-cache mariadb mariadb-client | |
ADD setup.sh /setup.sh | |
RUN chmod a+x /setup.sh && ./setup.sh && rm -f /setup.sh | |
ENTRYPOINT ["mysqld_safe"] | |
EXPOSE 3306 |
This file contains hidden or 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 | |
# Random wallpaper from Unsplash Source | |
function setWallpaper { | |
local file=$1 | |
if test -z $file; then | |
echo "Error: no file specified" | |
return 1 | |
elif test -e $file; then | |
local uri=$(perl -MURI::file -e "print URI::file->new('${file}')") |
This file contains hidden or 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
CC = gcc | |
CFLAGS = -O2 | |
SOURCES := $(shell find -name '*.c') | |
BINARIES := $(patsubst %.c,%,$(SOURCES)) | |
default: | |
@echo "make what?" | |
.PHONY: clean |