- Copy
portfolio.html
into_includes
folder. - Go to your portfolio page and add
{% include portfolio.html %}
where you want to show it. - Edit
projectList
intoportfolio.html
to show your projects.
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 python3 | |
# -*- coding: utf-8 -*- | |
import random | |
words = [] | |
passw = [] | |
with open("words.txt", "r") as f: | |
for l in f: |
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
# Place the content of this script at the bottom of your ~/.bashrc file (or ~/.zshrc if you are using ZSH). | |
# Please be ensure that your shell doesn't have any alias or plugin with the following names: ai, ar, au, af | |
# Replace 'apt' with 'aptitude' if you want to use it instead, | |
$PMG="apt" | |
update() { | |
sudo $PMG update | |
} |
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 python3 | |
# -*- coding: utf-8 -*- | |
import random | |
line = round(random.random() * 100 - 2) | |
facts = [] | |
with open("quotes.txt", "r") as f: |
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
#!/bin/bash | |
############################################ | |
# Author: Juanjo Salvador Piedra | |
# Website: http://juanjosalvador.es | |
# GitHub: https://github.com/JuanjoSalvador | |
# Twitter: @Linuxneitor | |
# Telegram: @JuanjoSalvador | |
############################################ |
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: Juanjo Salvador | |
# Website: http://juanjosalvador.es | |
# How to execute: | |
# $ floodogram.sh <@user> <message> | |
#!/bin/bash | |
while [ 1 = 1 ]; | |
do | |
bin/telegram-cli -W -e "msg $1 $2" >> /dev/null |
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
# Utils conky config | |
# By Juanjo Salvador (http://juanjosalvador.es) | |
background no | |
use_xft yes | |
xftfont Sans:size=8 | |
xftalpha 1 | |
update_interval 1 | |
total_run_times 0 | |
own_window yes |
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 ruby | |
resultados = ["1", "x", "2"]; | |
30.times do |i| | |
i = i + 1 | |
if (i < 10) | |
i = "0" + i.to_s | |
end | |
puts "Resultado " + i.to_s + ": " + resultados[rand(3)].to_s | |
end |
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
//var csv is the CSV file with headers | |
function csvJSON(csv){ | |
var lines=csv.split("\n"); | |
var result = []; | |
var headers=lines[0].split(","); | |
for(var i = 1; i < lines.length; i++) { | |
var obj = {}; | |
var currentline = lines[i].split(","); | |
Tested on 3.18.1
- Copy
trackma.desktop
into~/.local/share/applications/
folder. For all users, put it into/usr/share/applicacions/
. - Download icon (available here) and copy it into
~/.local/share/icons/hicolor/128x128/apps/
folder. For all users, change~/.local/
by/usr/
. - Reload
gnome-shell
by restarting your system.