This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# @author: Keshav Mohta | |
# file use to pump events using python script; this shell script help to build the required json data | |
# call as `sh kep_flag.sh -a <appName> -e <event> -t <eventType> -h <hostname>` | |
# example sh kep_flag.sh -a "Magento" -e "Attack" -t "Buffer Error" -h "20.20.1.47" | |
# event = Attack | Threat | File| | |
# appName: Magento | Sap | OpenText | Nginx | Tomcat | Wondercare | |
# eventType | |
# Attack : "ReflectiveXSS" | "File Integrity" | "SQLi"| "Spectre" | "DLLi" | "CSRF" | "CMDi" | "Buffer Error" | |
# Threat: "ReflectiveXSS" | "File Integrity" | "CSRF" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const dataset = [ | |
{ | |
detail: { | |
team: [ | |
{ name: 'alpha', game: 1 }, | |
{ name: 'beta', game: 1 }, | |
{ name: 'gamma', game: 1 }, | |
{ name: 'delta', game: 1 }, | |
{ name: 'echo', game: 1 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remakeChartData(input) { | |
const output = {}; | |
input.map((item) => { | |
for (let key in item) { | |
if (!(key in output)) { | |
output[key] = []; | |
} | |
output[key].push(item[key]); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Use Initials Image</title> | |
</head> | |
<body> | |
<img src="" / > | |
<script> | |
(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Account Activation Mail</title> | |
<style> | |
body { | |
display: grid; | |
justify-content: center; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"user": { | |
"debug": true, | |
"delay": 0.25, | |
"error_color": "D02000", | |
"gutter_theme": "Packages/Boxy Theme/extras/SublimeLinter/Boxy.gutter-theme", | |
"gutter_theme_excludes": [], | |
"lint_mode": "load/save", | |
"linters": { | |
"eslint": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"shell_cmd": "babel-node ${file}", | |
"selector": "source.js" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"shell_cmd": "$project_path/node_modules/eslint/bin/eslint.js --fix $file" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"always_show_minimap_viewport": true, | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_with_fields": true, | |
"auto_find_in_selection": true, | |
"binary_file_patterns": | |
[ | |
"*.dds", | |
"*.eot", |
NewerOlder