Skip to content

Instantly share code, notes, and snippets.

@moinsam
moinsam / markdown-cheatsheet.md
Created May 8, 2023 05:32 — forked from jonschlinkert/markdown-cheatsheet.md
A better markdown cheatsheet.
@moinsam
moinsam / grunt-build.bat
Created April 19, 2016 13:30 — forked from cmawhorter/grunt-build.bat
Script to build grunt/yeoman project from jenkins on windows 7
@echo off
REM You may need to add `cd %WORKSPACE%` in the jenkins project prior to
REM calling this script. I have it in mine and didn't test without.
REM Correct paths to respective applications as-needed
SET PATH=%PATH%;C:\Program Files (x86)\nodejs;C:\Program Files (x86)\Git\bin;%AppData%\npm;C:\Ruby200-x64\bin
echo Installing or updating bower...
@moinsam
moinsam / nginx.conf
Created April 12, 2016 05:04 — forked from calebwoods/nginx.conf
Sample Nginx config for deployment of Angular.js app
server { listen 80;
server_name example.com;
access_log /var/log/example.com/nginx.access.log;
error_log /var/log/example.com/nginx.error.log;
root /var/www/apps/example.com/public;
charset utf-8;
location / {
rewrite ^ https://$host$request_uri? permanent;
}