Skip to content

Instantly share code, notes, and snippets.

View hawkapparel's full-sized avatar

Christian Tamayo hawkapparel

View GitHub Profile
@juanbrujo
juanbrujo / PlayStationBIOSFilesNAEUJP.md
Last active June 7, 2024 22:50
Files for PlayStation BIOS Files NA-EU-JP
@Spyna
Spyna / push-notifications.js
Created August 26, 2019 13:27
How to display web push notificaitons
/**
* checks if Push notification and service workers are supported by your browser
*/
function isPushNotificationSupported() {
return "serviceWorker" in navigator && "PushManager" in window;
}
/**
* asks user consent to receive push notifications and returns the response of the user, one of granted, default, denied
*/
@cvega93
cvega93 / Culqi class para Vue.js
Created February 13, 2018 21:02
Clase para obtener un evento asíncrono de Culqi
<template>
<div class="card">
<form action="#" class="form-monkey form-buy-membreship" id="culqi-card-form">
<div class="row">
<div class="block-form">
<div class="col-sm-6">
<div class="form-group">
<label for="card[email]">Email</label>
<input type="text" class="form-control" placeholder="Correo electrónico"
v-model="user.email"
@xameeramir
xameeramir / default nginx configuration file
Last active May 23, 2024 17:10
The default nginx configuration file inside /etc/nginx/sites-available/default
# Author: Zameer Ansari
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#