Skip to content

Instantly share code, notes, and snippets.

View avm99963's full-sized avatar
⚠️
Uncaught TypeError: Cannot read properties of undefined (reading 'status')

Adrià Vilanova Martínez avm99963

⚠️
Uncaught TypeError: Cannot read properties of undefined (reading 'status')
View GitHub Profile
@avm99963
avm99963 / README.md
Created July 9, 2021 10:39
rss2email template which mimics FeedBurner

This gist contains a template for rss2email which mimics the Feedburner notification emails, since the Feedburner email notification service is being deprecated.

You can use email.tmpl directly with rss2email (read this), and feedburner_template.html is provided as the source file which has been encoded to a quoted printable version (which is not as readable) to create email.tmpl, so you can play directly with the feedburner_template.html file and change its contents to test several modifications, and then encode it to include it in the template file.

#!/bin/bash
if [ $# -le 0 ]; then
echo "Ejecuta el progama de la siguiente manera:"
echo ""
echo " bash crear_acceso_perfil.bash \"{perfil}\""
echo ""
echo "donde {perfil} es el nombre de la carpeta de tu perfil (la puedes"
echo "encontrar en chrome://version, bajo el campo Ruta del perfil), y"
echo "{nombre_icono} es el nombre que le quieres dar al acceso directo."
echo ""
@avm99963
avm99963 / sumbyone_solver.php
Created April 4, 2016 18:09
Solver in PHP for the "Sum by one" problem in the test contest
<?php
// St. Paul's Code Jam – "Sum by one" solver
// @Author: avm99963
$t = (int)fgets(STDIN);
function solve($n) {
return $n+1;
}
@avm99963
avm99963 / sumbyone_solver.py
Last active April 4, 2016 18:09
Solver written in Python for the "Sum by one" problem in the test contest
# St. Paul's Code Jam – "Sum by one" solver
# @Author: avm99963
T = int(raw_input())
def solve(n):
return str(int(n) + 1)
for t in range(1, T+1):
n = raw_input()
@avm99963
avm99963 / automuteyoutube.html
Created July 10, 2015 22:15
AutoMute YouTube
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AutoMute YouTube</title>
</head>
<body>
<div id="apDiv1">
<iframe id="player" width="500" height="375" src="//www.youtube.com/embed?version=3&enablejsapi=1&listType=playlist&list=PLPsrk7dWbWKR4FaOdcCm0OBOupR3XEBek&autoplay=1&controls=0&loop=1&fs=0&rel=0&theme=light&modestbranding=1&color=red&vq=large&disablekb=0&hd=1&cc_load_policy=0&playsinline=1" frameborder="0"></iframe>
</div>
@avm99963
avm99963 / recaptcha.php
Last active August 29, 2015 14:24
Recaptcha Demo
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ReCaptcha Demo</title>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>
<?php
/** Las siguientes variables contienen varias llaves para comunicarse con la API de ReCaptcha.
@avm99963
avm99963 / dabblet.css
Created March 3, 2012 17:51
My dabblet
/**
* My dabblet
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;