Skip to content

Instantly share code, notes, and snippets.

View biojazzard's full-sized avatar
😇
I´m a Saint

Alfredo Llanos biojazzard

😇
I´m a Saint
View GitHub Profile

Keybase proof

I hereby claim:

  • I am biojazzard on github.
  • I am biojazzard (https://keybase.io/biojazzard) on keybase.
  • I have a public key ASCThVK3COVKLw-N2AgYMfFXpGe6rOer17S85Ypp1n3azgo

To claim this, I am signing this object:

// create a bookmark and use this code as the URL, you can now toggle the css on/off
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3
javascript: (function() {
var styleEl = document.getElementById('css-layout-hack');
if (styleEl) {
styleEl.remove();
return;
}
styleEl = document.createElement('style');
styleEl.id = 'css-layout-hack';
@biojazzard
biojazzard / goprofisheye.command
Created March 8, 2016 21:44
GoPro FishEye Undistort /w CLI | OSX
cd "$(dirname "$0")"
echo "GoPro Fisheye, undistort GoPro images by @biojazzard"
printf "\n"
sleep 3
echo "mogrify must be installed: ex: brew install mogrify"
sleep 3
printf "\n"
echo "Undistort all the images in the current folder or just one? (type all for all pictures or filename for undistorting a custom photo)"
read fisheye
if [[ $fisheye == "all" ]]
(() => {
'use strict';
/**************** Gulp.js 4 configuration ****************/
const
// development or production
devBuild = ((process.env.NODE_ENV || 'development').trim().toLowerCase() === 'development'),
(() => {
'use strict';
/**************** Gulp.js 3 configuration ****************/
const
// development or production
devBuild = ((process.env.NODE_ENV || 'development').trim().toLowerCase() === 'development'),
@biojazzard
biojazzard / ga-autotrack.html
Last active April 5, 2019 23:25
autotrack.js | Google Analytics
<!-- by 1un.es: with love -->
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', '<!-- your google_analytics_tracking_id -->', 'auto');
// Autotrack plugins available
ga('require', 'urlChangeTracker');
ga('require', 'cleanUrlTracker');
ga('require', 'eventTracker');
ga('require', 'maxScrollTracker');
ga('require', 'outboundLinkTracker');
### BREW UPGRADE MYSQL
DocumentRoot is /usr/local/var/www.
The default ports have been set in /usr/local/etc/httpd/httpd.conf to 8080 and in
/usr/local/etc/httpd/extra/httpd-ssl.conf to 8443 so that httpd can run without sudo.
To have launchd start httpd now and restart at login:
brew services start httpd
Or, if you don't want/need a background service you can just run:
smoothscroll = require 'smoothscroll-polyfill'
smoothscroll.polyfill();
_ss_to_links = ($el)->
$el.each ()->
$(@).on 'click', (e)->
#console.log $(@)
e.preventDefault()
anchor = $(@).attr('href')
@biojazzard
biojazzard / extra-box.less
Created June 12, 2018 10:09
Boxes with table, table-cell... display
/* extra homepage */
.extra-img {
z-index: 0;
position: relative;
//display: table;
width: 100%;
//min-height: 20rem;
background-repeat: no-repeat;
background-position: 50% 50%;
@biojazzard
biojazzard / arlequin-shift-pattern-email.css
Created May 28, 2018 06:44
Email Pattern: Arlequin Order Shift Layout Pattern CSS
/* Arlequin Order Shift Layout Pattern CSS */
@media only screen and (max-width: 599px) {
td[class="arlequin2col"] .product_image img {
width: 100%;
height: auto !important;
}
}
@media only screen and (max-width: 460px) {
td[class="arlequin2col"] .product { padding: 0 !important; }