Skip to content

Instantly share code, notes, and snippets.

View tony-tripulca's full-sized avatar
💭
I may be slow to respond.

Fernand Anthony Tripulca tony-tripulca

💭
I may be slow to respond.
View GitHub Profile
@tony-tripulca
tony-tripulca / media.js
Created October 22, 2023 05:04
Get Media
javascript:(function () {
let video = document.querySelector("video.vjs-tech");
let title = document.title;
let timestamp = new Date().getTime();
let xhr = new XMLHttpRequest();
xhr.open("GET", video.src, true);
xhr.responseType = "blob";
xhr.onload = function () {
let urlCreator = window.URL || window.webkitURL;
@tony-tripulca
tony-tripulca / .angular-htaccess.md
Created July 29, 2021 11:43 — forked from julianpoemp/.angular-htaccess.md
Optimal .htaccess configuration for Angular 12, Angular 11, Angular 10, Angular 9, Angular 8, Angular 7, Angular 6, Angular 5 (and older) app in production incl. fix for the angular browser caching issue.

New generator

I created a new htaccess generator for angular apps that makes it easier for you to create the optimal htaccess file: https://julianpoemp.github.io/ngx-htaccess-generator/

The goal of this generator is to create the optimal .htaccess file for Angular apps easily. By default the generator creates an .htaccess file that solves the route redirection issue. To make it easier for you to I created a kind of interview mode with some questions. As an additional feature the generator supports adding exclusions for example if you have installed a blog in a subdirectory of your web application and more!

The generator 😁: https://julianpoemp.github.io/ngx-htaccess-generator/ The project: https://github.com/julianpoemp/ngx-htaccess-generator Place for issues and bug reports: https://github.com/julianpoemp/ngx-htaccess-generator/issues

@tony-tripulca
tony-tripulca / Readme.md
Last active August 15, 2020 23:19
Essential Linux Commands

Can't Install git

sudo rm -vf /var/lib/apt/lists/*

sudo apt-get update

@tony-tripulca
tony-tripulca / Readme.md
Created May 6, 2020 10:47
Materialize Button

Materialize Button Style

Using materialize css framework's button style

@tony-tripulca
tony-tripulca / Readme.md
Created May 6, 2020 10:41
Bootstrap media queries

Bootstrap Media

Bootstrap's default media queries