Skip to content

Instantly share code, notes, and snippets.

View SidIcarus's full-sized avatar

Alvaro Pareja-Lecaros SidIcarus

View GitHub Profile
@SidIcarus
SidIcarus / SassMeister-input-HTML.html
Last active August 29, 2015 14:17
Generated by SassMeister.com.
<p class="qualifyClassname-p">
Hello. I am a p tag;
</p>
@SidIcarus
SidIcarus / SassMeister-input-HTML.html
Last active August 29, 2015 14:17
Generated by SassMeister.com.
<p class="qualifyClassname-p">
Hello. I am a p tag;
</p>
@SidIcarus
SidIcarus / SassMeister-input.scss
Created March 29, 2015 20:09
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$td-font-size-base: 16;
@function contains($list, $value) { @return if(index($list, $value), true, false); }
@function strip-unit($num) { @return $num / ($num * 0 + 1); }
@function is-unit-type($a, $unit) {
$valid-units: 'deg', 'grad', 'turn', 'rad', 'px', 'em', 'rem', 'vh', 'vw',
@SidIcarus
SidIcarus / SassMeister-input.scss
Created April 6, 2015 14:03
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$black: #000;
$white: #fff;
// Base Colors Variations Map
$tint-shade-perc: 80%;

Keybase proof

I hereby claim:

  • I am SidIcarus on github.
  • I am sidicarus (https://keybase.io/sidicarus) on keybase.
  • I have a public key whose fingerprint is 5ABC 3931 D5A8 B2FE 6716 5BF4 FD62 4C69 7A63 61FE

To claim this, I am signing this object:

@SidIcarus
SidIcarus / bootstrap.sh
Last active November 24, 2021 00:40
environment bootstrap scripts
#!/bin/bash
# shellcheck disable=1090,1091,2059
# set ENV default value to 'dev''
ENV="${1:-dev}"
# import (source) utility variables and functions
. "$DIR/bootstrap/utils"
# Terminal output to illustrate progress
@SidIcarus
SidIcarus / MutationObserverJS
Last active August 8, 2017 17:40
MutationObserver
/**
* Supports IE9+, FF, Webkit
* @param callback
*/
function watchElementState(callback) {
var MutationObserver =
window.MutationObserver || window.WebKitMutationObserver,
eventListenerSupported = window.addEventListener;
// callback.bind(this);
@SidIcarus
SidIcarus / Consoul.color
Last active June 6, 2018 19:45
Pretty print your console logs.
((root, factory, has, name) => {
if (!has.call(root, name)) root[name] = factory();
})(this || window, () => {
const consoleColors = {
default: "rgb(189, 198, 207)",
alert: "rgb(210, 70, 70)",
background: "rgb(64, 64, 64)",
info: "rgb(70, 140, 210)",
success: "rgb(35, 140, 35)",
warn: "rgb(225, 180, 110)"
@SidIcarus
SidIcarus / bucketsnip.sh
Last active June 13, 2018 18:39 — forked from mgoellnitz/bucketsnip.sh
Bitbucket Snippet Command Line Tool
#!/bin/bash
#
# Copyright 2017-2018 Martin Goellnitz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@SidIcarus
SidIcarus / README.md
Created September 14, 2018 13:48 — forked from hassansin/README.md
Remote Debugging with XDebug 2.1

XDebug

A PHP extension that allows you to:

  1. walk through your code by Remote Debugging
  2. find bottlenecks in your application by Profiling
  3. find Code Coverage in a single request
  4. trace your application by logging all function calls