Skip to content

Instantly share code, notes, and snippets.

View manfromanotherland's full-sized avatar
🤏

Edmundo Santos manfromanotherland

🤏
View GitHub Profile

Keybase proof

I hereby claim:

  • I am edmundojr on github.
  • I am edmundo (https://keybase.io/edmundo) on keybase.
  • I have a public key ASCy7IB8sG9PIpb7hG5EiEjBdOlQf1QpBzb2A02tqtfAOgo

To claim this, I am signing this object:

import { Component } from '@angular/core';
import { CHART_DIRECTIVES } from 'ng2-charts/ng2-charts';
@Component({
selector: 'my-app',
directives: [CHART_DIRECTIVES],
styles: [`
.chart {
display: block;
}
(function(){
var parallax = document.querySelectorAll(".parallax"),
speed = 0.5;
window.onscroll = function(){
[].slice.call(parallax).forEach(function(el,i){
var windowYOffset = window.pageYOffset,
elBackgrounPos = "50% " + (windowYOffset * speed) + "px";
@manfromanotherland
manfromanotherland / research.md
Last active December 1, 2016 15:48
Why links perform better than search
<section itemscope itemtype="http://schema.org/Organization">
<a itemprop="url" href="https://www.newsweaver.com/">
<section itemprop="contactPoint" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="areaServed">US</span>
</section>
</section>
@manfromanotherland
manfromanotherland / bootstrap-4-grid-overlay.html
Created November 28, 2016 01:09
Bootstrap 4 Grid Overlay
<div class="grid-overlay">
<div class="container">
<div class="row">
<div class="col-xs-1"><span></span></div>
<div class="col-xs-1"><span></span></div>
<div class="col-xs-1"><span></span></div>
<div class="col-xs-1"><span></span></div>
<div class="col-xs-1"><span></span></div>
<div class="col-xs-1"><span></span></div>
<div class="col-xs-1"><span></span></div>
wp_nav_menu(['theme_location' => 'primary_navigation', 'walker' => new wp_bootstrap_navwalker(), 'menu_class' => 'nav navbar-nav', 'depth' => 2]);
// parallaxMountain
function parallaxMountain() {
// Variables
var scrollVal = Math.max(window.pageYOffset,0),
layer = document.querySelectorAll('.bg-layer'),
openingLine = document.querySelector('.opening-line'),
nav = document.querySelector('.nav');
// Multiply the page offset with different values
{
"added_words":
[
"Edmundo",
"minification",
"worldview",
"blog",
"blogging",
"Newsweaver",
"Poppulo"
@manfromanotherland
manfromanotherland / hs-form.css
Last active August 13, 2022 11:32
Hubspot: Forms CSS selectors and sample HTML markup http://designers.hubspot.com/docs/cos/hubspot-form-markup
/* All HubSpot Forms
========================================================================== */
/* Form Field (selector for form field wrapper) */
.hs-form .hs-form-field {}
/* Descriptions (targets class applied to Help Text divs) */
.hs-form .hs-field-desc {}
/* Labels (selects field labels and error messages) */