Skip to content

Instantly share code, notes, and snippets.

View ff6347's full-sized avatar
🤖
updating status…

Fabian Morón Zirfas ff6347

🤖
updating status…
View GitHub Profile
{
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:prettier/recommended"
],
"rules": {
"quotes": [
@ff6347
ff6347 / mulle-ls-dot
Created February 1, 2019 08:35 — forked from mulle-nat/mulle-ls-dot
Recursive Graphviz view of your current directory
#! /usr/bin/env bash
#
# Copyright (c) 2018 Nat! - Mulle kybernetiK
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
@ff6347
ff6347 / fibonacci.js
Created January 29, 2019 15:57
calculate fibonacci sequence
function fib(ndx){
const res = [];
for(let i = 0; i < ndx; i++){
if(i === 0 || i == 1){
res.push(1);
}else{
res.push(res[i-1] + res[i-2]);
}
}
res.forEach((ele, i)=>{
@ff6347
ff6347 / flip.js
Created January 29, 2019 14:05 — forked from jasny/flip.js
Turn text upside down with JavaScript
//this script is based on coding by Reverse Fad http://www.revfad.com
function flip() {
var result = flipString(document.f.original.value.toLowerCase());
document.f.flipped.value = result;
}
function flipString(aString) {
var last = aString.length - 1;
var result = new Array(aString.length)
for (var i = last; i >= 0; --i) {
var c = aString.charAt(i)
module.exports = {
extends: [
'unobtrusive',
'eslint:recommended',
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
env: {
browser: true,
node: true,
module.exports = {
extends: [
'unobtrusive',
'eslint:recommended',
],
plugins: [],
env: {
browser: true,
node: true
},
@ff6347
ff6347 / pandocslides-README.md
Created November 5, 2018 11:47
A Pandoc template to generate reveal.js slideshows.

Description

This is a Pandoc template to generate reveal.js slideshows.

Definitions

Pandoc is a "universal markup converter" you can run from the command line to convert a simple, plain text file into a beautifully formatted PDF, .docx, HTML, LaTeX, slideshows… the list goes on.

reveal.js is a CSS and JavaScript framework for creating beautiful presentations in HTML5, designed by Hakim El Hattab.

Keybase proof

I hereby claim:

  • I am fabianmoronzirfas on github.
  • I am fmoronzirfas (https://keybase.io/fmoronzirfas) on keybase.
  • I have a public key ASDrzs6THgs5g__uSZr_eCSfl5nOOk7D82KW5M5_nvcqlwo

To claim this, I am signing this object:

@ff6347
ff6347 / gist:8f6469544593257d80cfcbec9149ef0e
Created June 13, 2018 20:23 — forked from tayvano/gist:6e2d456a9897f55025e25035478a3a50
complete list of ffmpeg flags / commands
Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full.
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}…
Getting help:
-h — print basic options
-h long — print more options
-h full — print all options (including all format and codec specific options, very long)
@ff6347
ff6347 / timestamp.js
Created June 11, 2018 08:17 — forked from hurjas/timestamp.js
Print out a nicely formatted timestamp in JavaScript.
/**
* Return a timestamp with the format "m/d/yy h:MM:ss TT"
* @type {Date}
*/
function timeStamp() {
// Create a date object with the current time
var now = new Date();
// Create an array with the current month, day and time