sudo ethtool <NIC>
in mac use
{ | |
. | |
. | |
. | |
externals: { | |
Themes: 'AppThemes', // Should use long names for preventing global scope JS variable conflicts | |
MaterialIcons: 'MaterialIcons', | |
Config: 'AppConfig', | |
} | |
} |
#!/bin/bash | |
if [ "$#" -ne 3 ]; then | |
echo "usage: sh thread-analyze.sh <pid> <number-of-dumps> <interval>" | |
exit | |
fi | |
count=$2 | |
for i in `seq 1 $count`; | |
do | |
mkdir -p report |
openssl
toolOPTION
call handler for none-cors endpointsThis gist is mostly for my future references 😄
openssl
configuration file to tell the tool what kind of certificate do you need, Following is a sample certificate file containing two SAN domainsconst authorizations = { | |
OAuth2Security: { | |
token: { access_token: AuthManager.getUser(environment.label).getPartialToken() }, | |
}, | |
}; |
{ | |
"id": "01234567-0123-0123-0123-012345678901", | |
"name": "CalculatorAPI", | |
"description": "A calculator API that supports basic operations", | |
"context": "CalculatorAPI", | |
"version": "1.0.0", | |
"provider": "admin", | |
"lifeCycleStatus": "CREATED", | |
"workflowStatus": "APPROVED", | |
"securityScheme": [ |
import requests, base64 | |
configs = { | |
'credentials': { | |
'username': 'admin', | |
'password': 'admin', | |
}, | |
'host': 'localhost', | |
'port': '9443', | |
'gateway_port': '8243', |
This is an improved version of this gist thsnks to ngryman
I have added three new snippets creation of ES6 class
, React Class Component and React Functional Component.
custom_templates.xml
.group
attribute in <templateSet group="custom_templates">
element as well.custom_templates.xml
file to ~IntelliJ IDEA{version}/config/templates