Skip to content

Instantly share code, notes, and snippets.

View itsrajverma's full-sized avatar
🎯
Focusing

Raj Verma itsrajverma

🎯
Focusing
View GitHub Profile
Header always set Access-Control-Allow-Origin "https://domain.com"
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
Header always set Access-Control-Allow-Credentials "true"
Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
@itsrajverma
itsrajverma / changePwdCognito.js
Created July 15, 2019 08:01 — forked from prasadjay/changePwdCognito.js
Change-Password-Cognito
function ChangePassword(username, password, newpassword) {
var authenticationDetails = new AmazonCognitoIdentity.AuthenticationDetails({
Username: username,
Password: password,
});
var userData = {
Username: username,
Pool: userPool
};
@itsrajverma
itsrajverma / Activate Office 2019 for macOS VoL.md
Created July 5, 2019 07:31 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref