Skip to content

Instantly share code, notes, and snippets.

Avatar
💌

Stephen Gouws Sgouws

💌
View GitHub Profile
@Sgouws
Sgouws / prefixed-office-properties.md
Created Sep 23, 2020 — forked from p3t3r67x0/prefixed-office-properties.md
MS Office prefixed style properties can be used for older versions of MS Excel, MS PowerPoint or MS Word when you want to save a document, presentation, workbook, or worksheet as a web document, or even in older versions for MS Outlook.
View prefixed-office-properties.md

MS Office prefixed style properties

mso-ansi-font-size

Note: Office only

mso-ansi-font-size: large | larger | <length> | medium | <percentage> | small | smaller | x-large | x-small | xx-large | xx-small
@Sgouws
Sgouws / remove_uri_extension.md
Last active May 27, 2018
Nginx - Remove file extension from uri
View remove_uri_extension.md

You need to edit the root location block. See before and after below:


Change this:

location / {
  try_files $uri $uri/ =404;
}
@Sgouws
Sgouws / useful-htaccess-defaults
Created May 29, 2017
Useful .htaccess defaults
View useful-htaccess-defaults
#If the config is not working, it will cause a 500.
## 404
ErrorDocument 404 /404.html
## basic compression
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js)$
View designer.html
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
You can’t perform that action at this time.