Skip to content

Instantly share code, notes, and snippets.

View epsa-dev's full-sized avatar
🎯
Focusing

EPSA Landia epsa-dev

🎯
Focusing
View GitHub Profile
<?php
// Variables used in this script:
// $summary - text title of the event
// $datestart - the starting date (in seconds since unix epoch)
// $dateend - the ending date (in seconds since unix epoch)
// $address - the event's address
// $uri - the URL of the event (add http://)
// $description - text description of the event
// $filename - the name of this file for saving (e.g. my-event-name.ics)
//
@epsa-dev
epsa-dev / subnav.css
Last active August 29, 2015 14:17 — forked from thomaspark/subnav.css
section {
padding-top: 60px;
}
.subnav {
margin-bottom: 60px;
width: 100%;
height: 36px;
background-color: #eeeeee; /* Old browsers */
background-repeat: repeat-x; /* Repeat the gradient */
@epsa-dev
epsa-dev / 1.js
Created July 18, 2016 01:04 — forked from dristic/1.js
navigator.geolocation.getCurrentPosition(function (position) {
console.log(“I am located at: “ + position.coords.latitude + “, “ + position.coords.longitude);
});
navigator.geolocation.watchPosition(function (position) {
console.log(“I am now located at: “ + position.coords.latitude + “, “ + position.coords.longitude);
});
@epsa-dev
epsa-dev / chucherias.md
Last active February 17, 2023 17:46
Terminal: Buscar, mover, listar, eliminar

Checar el tamaño de carpetas:

du -h --max-depth=1 

Elimina error_log:

find -name "error_log" -exec rm -f '{}' \;

Mueve archivos a otra carpeta:

@epsa-dev
epsa-dev / embedded-file-viewer.md
Created April 17, 2019 19:39 — forked from tzmartin/embedded-file-viewer.md
Embedded File Viewer: Google Drive, OneDrive

Office Web Apps Viewer

('.ppt' '.pptx' '.doc', '.docx', '.xls', '.xlsx')

http://view.officeapps.live.com/op/view.aspx?src=[OFFICE_FILE_URL]

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[OFFICE_FILE_URL]' width='px' height='px' frameborder='0'>
</iframe>

OneDrive Embed Links