Skip to content

Instantly share code, notes, and snippets.

View borjadotai's full-sized avatar
🏗️
building

Borja Leiva borjadotai

🏗️
building
View GitHub Profile
@borjadotai
borjadotai / css_reset.css
Created June 5, 2022 11:07
Josh's Custom CSS Reset
/*
Josh's Custom CSS Reset
https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
box-sizing: border-box;
}
* {

Keybase proof

I hereby claim:

  • I am borjadotai on github.
  • I am borjadotai (https://keybase.io/borjadotai) on keybase.
  • I have a public key ASCBeciCRTIhqZXQ4Zlvam6YB7QglFgdbn6FTRyfP8ZOIwo

To claim this, I am signing this object:

@borjadotai
borjadotai / .zimrc
Last active March 21, 2018 15:29
zimrc - medium article
###################
# MODULE SETTINGS #
###################
#
# Prompt
#
# Set your desired prompt here
zprompt_theme='pure'
@borjadotai
borjadotai / ZIM config
Last active March 21, 2018 15:30
ZIM config - medium article
setopt EXTENDED_GLOB
for template_file ( ${ZDOTDIR:-${HOME}}/.zim/templates/* ); do
user_file="${ZDOTDIR:-${HOME}}/.${template_file:t}"
touch ${user_file}
( print -rn "$(<${template_file})$(<${user_file})" >! ${user_file} ) 2>/dev/null
done
@borjadotai
borjadotai / gist:2967bce8f035abbf9d8e1fd97792e0a2
Created February 4, 2017 14:01 — forked from gwenshap/gist:11390102
Generate fake apache access logs
#!/usr/bin/python
import time
import datetime
import random
timestr = time.strftime("%Y%m%d-%H%M%S")
f = open('access_log_'+timestr+'.log','w')
ips=["123.221.14.56","16.180.70.237","10.182.189.79","218.193.16.244","198.122.118.164","114.214.178.92","233.192.62.103","244.157.45.12","81.73.150.239","237.43.24.118"]
referers=["-","http://www.casualcyclist.com","http://bestcyclingreviews.com/top_online_shops","http://bleater.com","http://searchengine.com"]