Skip to content

Instantly share code, notes, and snippets.

View hirios's full-sized avatar

Alan Rios hirios

  • Brazil
View GitHub Profile
@hirios
hirios / random.go
Created February 15, 2022 18:57 — forked from toastdriven/random.go
Random (in Python, Javascript, Go & Swift)
// Remove Me
package main
// package random
import (
"fmt"
"math/rand"
"time"
)
@hirios
hirios / restart_nginx.bat
Created November 15, 2021 18:48 — forked from keberwein/restart_nginx.bat
Restart Nginx Windows
@ECHO OFF
cd /nginx
taskkill /f /IM nginx.exe
start nginx
EXIT
@hirios
hirios / embedded-file-viewer.md
Created December 12, 2020 02:44 — 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