Skip to content

Instantly share code, notes, and snippets.

View shankscript's full-sized avatar
🎯
Focusing

Shashank shankscript

🎯
Focusing
View GitHub Profile
@shankscript
shankscript / PureCssClock.markdown
Last active October 31, 2015 17:23
PureCssClock

PureCssClock

Pure CSS based Clock. An example to showcase the CSS3 animations and cool properties.

A Pen by Shashank on CodePen.

License.

@shankscript
shankscript / Gruntfile
Created October 31, 2015 16:21
A sample Gruntfile
var timer = require('grunt-timer');
module.exports = function (grunt) {
'use strict';
//timer.init(grunt);
timer.init(grunt, {
deferLogs: true,
friendlyTime: true,
color: 'blue'
});
@shankscript
shankscript / bindings.js
Created February 6, 2018 13:27
Angular bindings
var app = angular.module('testApp', []);
app.component('testComponent', {
bindings: {
atVal: '@',
ampVal: '&',
eqVal: '=',
lsVal: '<'
},
controller: ['$timeout', function($timeout) {
Security - the elephant in the room. Everyone agrees that it is very important but few takes it seriously. We at RisingStack want you to do it right - this is why we have put together this checklist to help you guide through the must have security checks before your application is enabled to thousands of users/customers.
Most of these items are general and applies to all languages and frameworks not just Node.js - however some of the tools presented are Node.js specific. You should also check our introductory Node.js security blogpost.
Configuration Management
Security HTTP Headers
There are some security-related HTTP headers that your site should set. These headers are: