To enable cardano-cli and cardano-node bash auto-completion for the current shell:
source <(cardano-cli --bash-completion-script cardano-cli)
source <(cardano-cli --bash-completion-script cardano-node)To enable it for all future sessions:
To enable cardano-cli and cardano-node bash auto-completion for the current shell:
source <(cardano-cli --bash-completion-script cardano-cli)
source <(cardano-cli --bash-completion-script cardano-node)To enable it for all future sessions:
| images/ | |
| layers/ | |
| node_modules/ | |
| .cache/ | |
| manifests/ |
| curl \ | |
| -d 'client_id=YOUR_KEYCLOAK_CLIENT' \ | |
| -d 'username=YOUR_USERNAME' \ | |
| -d 'password=YOUR_PASSWORD' \ | |
| -d 'grant_type=password' \ | |
| 'https://YOUR_KEYCLOAK_SERVER_HOST/auth/realms/YOUR_REALM/protocol/openid-connect/token' \ | |
| | python -m json.tool |
| @ApplicationPath("/") | |
| public class ApplicationConfig extends Application { | |
| @Override | |
| public Set<Class<?>> getClasses() { | |
| Set<Class<?>> resources = new HashSet<>(); | |
| resources.add(HelloResource.class); | |
| return resources; | |
| } | |
| } |
| Windows Registry Editor Version 5.00 | |
| [-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] | |
| [-HKEY_CLASSES_ROOT\Directory\shell\Cmder] |
| import java.io.IOException; | |
| import java.net.URLClassLoader; | |
| import java.nio.file.Files; | |
| import java.nio.file.Paths; | |
| import java.nio.file.Path; | |
| /** | |
| * Example demonstrating a ClassLoader leak. | |
| * | |
| * <p>To see it in action, copy this file to a temp directory somewhere, |
Install CNTLM in a folder where you have full rights to run it as administrator.
Open cntlm.ini and fill it :
Username YOUR_USERNAME
Domain YOUR_DOMAIN
| describe("Mocking Ext.Ajax.request with Jasmine", function () { | |
| var responseText, | |
| mockResponse = { | |
| responseText: '{"success":true,"count":1,"data":[{name: "id", "type": "int", "maxLenght": "11", "isPrimaryKey": true}]}' | |
| }; | |
| it("should mock the Ext.Ajax.request response manipulating the spy mostRecentCall.args", function () { | |
| spyOn(Ext.Ajax, 'request'); |
| import javax.net.ssl.SSLParameters; | |
| import javax.net.ssl.SSLSocket; | |
| import javax.net.ssl.SSLSocketFactory; | |
| import java.io.*; | |
| /** Establish a SSL connection to a host and port, writes a byte and | |
| * prints the response. See | |
| * http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services | |
| */ | |
| public class SSLPoke { |