I hereby claim:
- I am m4lware666 on github.
- I am bash_profile (https://keybase.io/bash_profile) on keybase.
- I have a public key ASCj2PESMESzlhCJn5Qtja5gVgiY0w57-ZTCpB_CiXnIJgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# part 3 | |
RewriteRule ^adminLoginUrl/(.*) wp-admin/$1?%{QUERY_STRING} [L] |
{ | |
"always_show_minimap_viewport": true, | |
"auto_close_tags": true, | |
"binary_file_patterns": | |
[ | |
"*.jpg", | |
"*.jpeg", | |
"*.png", | |
"*.gif", | |
"*.ttf", |
{ | |
// 09/2022 | |
// Editor | |
"editor.fontWeight": "400", | |
"editor.cursorStyle": "block", | |
"editor.cursorBlinking": "phase", | |
"editor.cursorWidth": 2, | |
"editor.minimap.enabled": true, | |
"editor.glyphMargin": true, |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Cognito Stack | |
Parameters: | |
AuthName: | |
Type: String | |
Description: Unique Auth Name for Cognito Resources | |
Resources: | |
# Creates a role that allows Cognito to send SNS messages | |
SNSRole: |
// Comcast Cable Communications, LLC Proprietary. Copyright 2014. | |
// Intended use is to display browser notifications for critical and time sensitive events. | |
var _ComcastAlert = (function(){ | |
return { | |
SYS_URL: '/e8f6b078-0f35-11de-85c5-efc5ef23aa1f/aupm/notify.do' | |
, dragObj: {zIndex: 999999} | |
, browser: null | |
, comcastCheck: 1 | |
, comcastTimer: null | |
, xmlhttp: null |
axios({ | |
url: 'http://localhost:5000/static/example.pdf', | |
method: 'GET', | |
responseType: 'blob', // important | |
}).then((response) => { | |
const url = window.URL.createObjectURL(new Blob([response.data])); | |
const link = document.createElement('a'); | |
link.href = url; | |
link.setAttribute('download', 'file.pdf'); | |
document.body.appendChild(link); |
/* | |
* Just a cheat sheet for JavaScript Array usage for quick reference. | |
* | |
**/ | |
// Global object: properties | |
Array.length // Reflects the number of elements in an array | |
// Global object: methods | |
Array.from(arrayLike[, mapFn[, thisArg]]) // Creates a new Array instance from an array-like or iterable object. |
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# | |
##################################################### |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html | |
var http = require('http'); | |
// An example of a web server written with Node which responds with 'Hello World'. | |
// To run the server, put the code into a file called example.js and execute it with the node program. |