Skip to content

Instantly share code, notes, and snippets.

View atfornes's full-sized avatar

Ámbar Tenorio-Fornés atfornes

View GitHub Profile
@atfornes
atfornes / QuartzOA.html
Created September 27, 2022 17:18
Quartz OA Widget
<data id="QuartzOASettings"
data-paypal_email="email@example.com"
data-ilp_wallet="ILPAdrress">
</data>
<!-- to update first run `npm run deploy`then, copy bellow the content of https://DecentralizedScience.github.io/Quartz-platform -->
<head><link href="https://DecentralizedScience.github.io/Quartz-platform/static/css/2.3b4d5ca1.chunk.css" rel="stylesheet"><link href="https://DecentralizedScience.github.io/Quartz-platform/static/css/main.adb0ce24.chunk.css" rel="stylesheet"></head><div id="root"></div><script>!function(e){function t(t){for(var n,u,i=t[0],c=t[1],l=t[2],f=0,s=[];f<i.length;f++)u=i[f],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&s.push(o[u][0]),o[u]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(p&&p(t);s.length;)s.shift()();return a.push.apply(a,l||[]),r()}function r(){for(var e,t=0;t<a.length;t++){for(var r=a[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(a.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={1:0},a=[];function u(t){if(n[t])return n
@atfornes
atfornes / timeEnabledJitsi.js
Created May 29, 2020 16:08
Jitsi : enable videoconference at a specific time
// using jitsi API: https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-iframe
<script src='https://meet.jit.si/external_api.js'></script>
<script>
const domain = 'meet.jit.si';
const options = {
roomName: 'JitsiMeetAPIExample',
width: '1200px',
height: '800px',
parentNode: document.querySelector('#conference')
@atfornes
atfornes / CleanSpacesRebase.sh
Created September 5, 2017 11:57
Git rebase interactive cleaning space only line changes
#!/bin/bash
## Rebases interactive current branch over master (or <branch> provided as first argument) removing whitespace changes
# based on https://stackoverflow.com/a/9784089/4928558 and https://stackoverflow.com/a/23911001/4928558
branch=master
if [[ $1 ]];
then

GSoC'17 summary: Third party integrations and extension of some features, Teem

Kumar Shubham | website | twitter | github | email

Introduction

I'd like to first start by thanking my mentor Antonio, who was so friendly that I never felt like I was talking to someone who is senior to me. Whatever I have done wouldn't have been possible without our daily meetings, which were scheduled to be for 5 minutes but often we discussed things for more than 30 minutes! After working this summer I can say that I have got a good knowledge of how things go in a large codebase and how we should contribute in open source projects! I also got to know some quite details about javascript and also got to work with docker!. In short, it was a wonderful experience!

*I also made a presentation that will give you a slight introduction to what things I did du

@atfornes
atfornes / keybase.md
Last active March 30, 2016 16:29
keybase.md

Keybase proof

I hereby claim:

  • I am atfornes on github.
  • I am atenorio (https://keybase.io/atenorio) on keybase.
  • I have a public key ASBBH-e-wSHQQ-Uc7g3rbkRFqDiz7a8-VoGMckNtoVrQFQo

To claim this, I am signing this object:

@atfornes
atfornes / Bootstrap Smooth Scroll to Anchor
Last active March 17, 2016 23:04 — forked from griiettner/Bootstrap Smooth Scroll to Anchor
Bootstrap Smooth Scroll to Anchor
!function ($) {
$(function(){
// all items with id are possible targets
$('[id]').carousel({});
var $root = $('html, body');
$('a').click(function() {
var href = $.attr(this, 'href');
$root.animate({