Skip to content

Instantly share code, notes, and snippets.

View bronze's full-sized avatar
😎

Carlos Bronze bronze

😎
View GitHub Profile
@bronze
bronze / terminal-setup.md
Created February 19, 2024 18:01 — forked from onlurking/terminal-setup.md
Configs for zsh, oh-my-zsh, zsh-autosuggestions, zsh-syntax-highlighting and FZF

Setup

Terminal

Instal oh-my-zsh with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
@bronze
bronze / gulpfile.js
Last active December 17, 2016 22:00
Kirby CMS gulpfile
// dont really know if it makes such a difference but strict kept giving me warnings on Atom
/* jshint strict: false */
// 'use strict';
var gulp = require('gulp'),
fs = require('fs'),
hash = require('gulp-hash'),
critical = require('critical');
// load plugins
@bronze
bronze / br_geo_chart_google
Last active August 29, 2015 14:00 — forked from gerryster/us_geo_chart_google
updating to BR view
// GeoChart from https://google-developers.appspot.com/chart/interactive/docs/gallery/geochart
// Try out by pasting code into: https://code.google.com/apis/ajax/playground/?type=visualization#geo_chart
function drawVisualization() {
var data = google.visualization.arrayToDataTable([
['State', 'Foo Factor'],
['BR-RJ', 1.2],
['BR-SP', 1],
['BR-MG', 1],
@bronze
bronze / .htaccess
Created September 26, 2011 15:16 — forked from leebyron/.htaccess
Options +FollowSymlinks
RewriteEngine on
# No intersticial for direct reference and self-reference
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://box.leebyron.com/.*$ [NC]
# Add a line item for every website you don't need an intersticial for
# I've added my own website, gmail and facebook
RewriteCond %{HTTP_REFERER} !^http(s)?://([^\.]*.)?leebyron.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://mail.google.com/.*$ [NC]