Skip to content

Instantly share code, notes, and snippets.

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

Rubén Ferreira rferreiraperez

💭
I may be slow to respond.
View GitHub Profile
@Klerith
Klerith / instalaciones.md
Last active May 1, 2024 04:15
Instalaciones recomendadas - Curso de Angular de cero a experto
@markwhitaker
markwhitaker / MimeTypes.cs
Last active December 29, 2023 16:42
Standard MIME type constants ready to use in a C# project. Now a NuGet package: see https://github.com/markwhitaker/MimeTypes.NET
public static class MimeTypes
{
public static class Application
{
public const string AtomXml = "application/atom+xml";
public const string AtomcatXml = "application/atomcat+xml";
public const string Ecmascript = "application/ecmascript";
public const string JavaArchive = "application/java-archive";
public const string Javascript = "application/javascript";
public const string Json = "application/json";
@Clivern
Clivern / install-tomcat-8.5.14.sh
Last active January 7, 2020 01:07
How to Install Apache Tomcat 8 on Ubuntu 16.04
#!/bin/bash
# For More Info http://clivern.com/how-to-install-apache-tomcat-8-on-ubuntu-16-04
sudo apt-get update
sudo apt-get install default-jdk
sudo apt-get install unzip
cd /opt
curl -O http://apache.mirrors.ionfish.org/tomcat/tomcat-8/v8.5.15/bin/apache-tomcat-8.5.15.zip
sudo unzip apache-tomcat-8.5.15.zip
sudo mv apache-tomcat-8.5.15 tomcat
@hyle
hyle / ko.utils.signatures.js
Last active May 14, 2022 21:15
KnockoutJS utils (ko.utils) signatures
// knockout 2.2.1
ko.utils.arrayFilter = function (array, predicate) { /* .. */ }
ko.utils.arrayFirst = function (array, predicate, predicateOwner) { /* .. */ }
ko.utils.arrayForEach = function (array, action) { /* .. */ }
ko.utils.arrayGetDistinctValues = function (array) { /* .. */ }