Skip to content

Instantly share code, notes, and snippets.

View arunkutty's full-sized avatar

Arun N. Kutty arunkutty

View GitHub Profile
@arunkutty
arunkutty / CSS-Notes-Cheatsheet.md
Last active March 18, 2020 01:45
Notes collected from FreeCodeCamp.org YT tutorial at https://www.youtube.com/watch?v=1Rs2ND1ryYc&t=8170s
										DRAFT

CSS Cheatsheet and notes

This is a collection of notes that I took from a 6-hour YouTube tutorial posted by FreeCodeCamp.org. It's based out of Jad Khalili's Udemy Course CSS-From Zero to Hero.

Cascading Style Sheets

  • A language used to style and design to websites
  • Goes hand in hand with HTML.
  • A standard maintained by W3C

Selectors

@arunkutty
arunkutty / custom_roles.js
Last active December 14, 2017 06:28
Determine whether a logged in user is in a particular role
//Register the Manager role
var Role = app.models.Role;
Role.registerResolver('manager', function(role, context, cb) {
function reject(err) {
if (err) {
return cb(err);
}
cb(null, false);
}

Keybase proof

I hereby claim:

  • I am arunkutty on github.
  • I am arunkutty (https://keybase.io/arunkutty) on keybase.
  • I have a public key ASDq6HdTUonvGPShTf04YrVkrbTcha8g7sMpHAMvW4J2ogo

To claim this, I am signing this object:

@arunkutty
arunkutty / RenameURLCookie.java
Last active June 20, 2016 15:50
IBM Rational Performance Tester - Custom code to modify Cookie Name
package customcode;
import java.text.ParseException;
import java.util.Iterator;
import com.ibm.rational.test.lt.execution.http.cookie.ICookie;
import com.ibm.rational.test.lt.execution.http.cookie.IHTTPVirtualUserInfo;
import com.ibm.rational.test.lt.kernel.IDataArea;
import com.ibm.rational.test.lt.kernel.services.ITestExecutionServices;
import com.ibm.rational.test.lt.kernel.services.IVirtualUserInfo;