Skip to content

Instantly share code, notes, and snippets.

View mariomc's full-sized avatar

Mário Gonçalves mariomc

View GitHub Profile
@mariomc
mariomc / Instructions.md
Created April 19, 2022 13:04 — forked from gseok/Instructions.md
Generate SSL Certificate for use with Webpack Dev Server (OSX)

Generate private key

$ openssl genrsa -out private.key 4096

Generate a Certificate Signing Request

openssl req -new -sha256 \
@mariomc
mariomc / iitc-plugin-hide-chat.user.js
Created March 14, 2022 18:49 — forked from 5310/iitc-plugin-hide-chat.js
IITC Plugin Hide Chat #userscript
// ==UserScript==
// @id iitc-plugin-hide-chat
// @name IITC plugin: Hide Chat
// @category Tweaks
// @version 0.1.0
// @description Hides the chat.
// @include https://*.ingress.com/intel*
// @include http://*.ingress.com/intel*
// @match https://*.ingress.com/intel*
// @match http://*.ingress.com/intel*
@mariomc
mariomc / input.scss
Created March 3, 2021 14:00
Generated by SassMeister.com.
@mixin sequential-opacity-animation-of-tiles {
@for $i from 1 through 10 {
.section-container__tray-item.animated {
&:nth-of-type(#{$i}) {
@for $j from 1 through 50 {
.swiper-slide {
// Delay the animation. Delay increases as items sequence.
&:nth-of-type(#{$j}) {
$animation-delay: ($i * 0.05s) + $j * 0.025s;
animation-delay: $animation-delay;
@mariomc
mariomc / input.scss
Last active March 3, 2021 14:14
Generated by SassMeister.com.
@mixin sequential-opacity-animation-of-tiles {
@for $i from 1 through 10 {
.section-container__tray-item.animated {
&:nth-of-type(#{$i}) {
@for $j from 1 through 50 {
.swiper-slide {
// Delay the animation. Delay increases as items sequence.
&:nth-of-type(#{$j}) {
$animation-delay: ($i * 0.05s) + $j * 0.025s;
$animation-speed: 0.5s;
var masterRule = function(el, recurse) {
var rules = [];
var rule = [];
var nodeName, id, classes;
do {
nodeName = el.nodeName.toLowerCase();
if (nodeName === 'html') { break; }
@mariomc
mariomc / gist:6007064
Created July 16, 2013 08:58
View config for node count
$view = new view();
$view->name = 'teste_count';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Teste count';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */