I hereby claim:
- I am techtocore on github.
- I am akashravi (https://keybase.io/akashravi) on keybase.
- I have a public key whose fingerprint is 3CD6 A05C 170A A4AC 38AC 825F 0E0A 8797 F049 B10B
To claim this, I am signing this object:
# SLURM Build and Installation script for Redhat/CentOS/Rocky EL8 | |
# in case of repo access issues uncomment the following lines | |
# sudo sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* | |
# sudo sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* | |
export VER=22.05.2 # SLURM version | |
# build tools and essentials |
-------------------------------------------- | |
# Collections | |
-------------------------------------------- | |
# list [..], tuple (..), set {..}, dict {'a':'b'} | |
arr = list(map(int, input().split())) # Inputs list from space separated str | |
arr.insert(1, "orange") # arr[1] will be 'orange' | |
del arr[1] # removes arr[1] - also works for dict | |
arr.sort() # no need to re-assign |
Availability Domain: | |
Gen 2 - Non-oversubscribed network; no noisy neighbors | |
Off-box network virtualization | |
Region -> AD -> 3 fault domain per AD | |
---- | |
IAM |
function slowFunction() { | |
return new Promise((resolve, reject) => { | |
// This is where your API call would happen. Wherever you are able to access the required value, call resolve(VALUE) | |
setTimeout(() => { | |
resolve({ | |
'key': 'ans' | |
}); | |
}, 2000); |
I hereby claim:
To claim this, I am signing this object:
<script>alert(123);</script> | |
<ScRipT>alert("XSS");</ScRipT> | |
<script>alert(123)</script> | |
<script>alert("hellox worldss");</script> | |
<script>alert(�XSS�)</script> | |
<script>alert(�XSS�);</script> | |
<script>alert(�XSS�)</script> | |
�><script>alert(�XSS�)</script> | |
<script>alert(/XSS�)</script> | |
<script>alert(/XSS/)</script> |
var jwt = require('jsonwebtoken'); // used to create, sign, and verify tokens | |
var config = require('../../config'); // get our config file | |
var User = require('./../user/User'); | |
async function check(req) { | |
var token = req.headers['authorization']; | |
if (!token || !token.split(' ')[1]) | |
throw new Error('No token provided'); | |
var decoded = await jwt.verify(token.split(' ')[1], config.secret); |