Skip to content

Instantly share code, notes, and snippets.

View mdunisch's full-sized avatar

Martin mdunisch

  • Hamburg, Germany
View GitHub Profile
import { getAuth } from "npm:firebase-admin/auth";
getAuth();
@mdunisch
mdunisch / PHP-Array of possible HTML-Entites.md
Last active August 29, 2015 14:01
PHP-Array of possible HTML-Entites

PHP-Array of possible HTML-Entites

1.) We use http://www.w3.org/TR/html5/syntax.html#named-character-references as official site - so open it in Chrome

2.) Chrome Console: Insert JQuery in the page:

 javascript:if(!window.jQuery||confirm('Overwrite\x20current\x20version?\x20v'+jQuery.fn.jquery))(function(d,s){s=d.createElement('script');s.src='http://code.jquery.com/jquery.js';(d.head||d.documentElement).appendChild(s)})(document);

3.) Chrome Console: Get all Entites

@mdunisch
mdunisch / How you get Sail.js running on Openshift.md
Last active July 13, 2023 14:51
Get Sails.js running on Openshift

#How you get Sail.js running on Openshift#

This instruction is tested with:

  • Sails.js v0.9.16
  • Node.js 0.10 on Openshift ( 05 May 2014)

###1) package.json

If you use the package.json build by sails new Projectname than you have to add a few fields for openshift – so the server can start you app automatically. Sails uses Grunt to build minify css/js and so on. Openshift dont have grunt installed so you have to add this also.