Skip to content

Instantly share code, notes, and snippets.

View sachinchoolur's full-sized avatar

Sachin Neravath sachinchoolur

View GitHub Profile
[
{
"kind": "calendar#event",
"etag": "\"3455888525062000\"",
"id": "m2ibvqhrfe837uef3ubiba6uks_20241004T033000Z",
"status": "confirmed",
"htmlLink": "https://www.google.com/calendar/event?eid=bTJpYnZxaHJmZTgzN3VlZjN1YmliYTZ1a3NfMjAyNDEwMDRUMDMzMDAwWiBzYWNoaW5AdGltZW1hc3Rlci5haQ&ctz=Asia/Kolkata",
"created": "2024-10-03T08:28:30.000Z",
"updated": "2024-10-03T08:31:02.531Z",
"summary": "Content ",
@sachinchoolur
sachinchoolur / CLA.md
Created November 9, 2021 07:14
Contributor License Agreement

Contributor License Agreement

Thank you for your interest in contributing to lightGalelry project. This license is for your protection as a Contributor as well as the protection of the lightGallery and its users; it does not change your rights to use your own Contributions for any other purpose.

A Human Friendly Summary of our CLA

This is a human friendly summary of (and not a substitute for) the full CLA linked below. This section highlights only some of key terms of the CLA. It has no legal value and you should carefully review all the terms of the actual CLA.

  • grant of copyright license - you give Sachin Neravath permission and a non-exclusive copyright to use your work in any form or manner.
  • legal entitlement of contributions - you agree that you are legally entitled to grant us a copyright over your contributions
  • providing support - you are not expected to provide support for your contributions except to the extent you desire. The support provided shall be free or none at all.
@sachinchoolur
sachinchoolur / css.js
Created October 5, 2021 15:37
jQuery .css() method pure JavaScript.
/**
* jQuery .css() method pure JavaScript
* @usage
* $('#el').css('color','red')
* $('.el').css({'color':'red', 'font-weight': 'bold'})
* $('.el').css({'text-stroke': '2px red'}) // Adds vendor prefix if required.
* $('#el').css('color') // Returns red
* $('.el').css('color') // Returns the color of the first matching item
* $('.el').css('text-stroke-color') // Returns red
*/

AngularJS Directive Attribute Binding Explanation

When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.

  1. Raw Attribute Strings

    <div my-directive="some string" another-param="another string"></div>