0. Create kafka user
sudo adduser kafka
sudo adduser kafka sudo
su -l kafka
1. Download and Install kafka archive
| .service("HttpParamSerializerPolyfillService", function() { | |
| /** | |
| * Adapation of the souce of $httpParamSerializer | |
| * so it can be used with angular < 1.4 | |
| * | |
| * HttpParamSerializerPolyfillService.serialize(query) | |
| * | |
| * No guarantees or warranty, use at your own risk. | |
| */ | |
| function sortedKeys(obj) { |
| https://rfc3161.ai.moda | |
| https://rfc3161.ai.moda/adobe | |
| https://rfc3161.ai.moda/microsoft | |
| https://rfc3161.ai.moda/apple | |
| https://rfc3161.ai.moda/any | |
| http://rfc3161.ai.moda | |
| http://timestamp.digicert.com | |
| http://timestamp.globalsign.com/tsa/r6advanced1 | |
| http://rfc3161timestamp.globalsign.com/advanced | |
| http://timestamp.sectigo.com |
| 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); |
| /* | |
| Package fan is a little concurrent io experiment. | |
| Example Use Case | |
| ---------------- | |
| You have a function that takes a single io.Reader as an argument. You would like | |
| to pass that reader to several processing functions. You could just make the | |
| function accept an io.ReadSeeker, invoke each function serially in a for loop, | |
| seeking after each call. But that's not cool. |
| Public Domain |
| #!/usr/bin/python3 | |
| """ | |
| Copyright 2021 Mygod | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 |
| #!/bin/bash | |
| # | |
| # check commit messages for pivotal tracker issue numbers formatted as [#stort-id]along with commit message | |
| REGEX="\[#[0-9]*\]" | |
| ERROR_MSG="[POLICY] The commit doesn't reference a PIVOTAL tracker issue" | |
| while read OLDREV NEWREV REFNAME ; do | |
| for COMMIT in `git rev-list $OLDREV..$NEWREV`; | |
| do | |
| MESSAGE=`git cat-file commit $COMMIT | sed '1,/^$/d'` |
NOTE: Specific examples given for options, flags, commands variations, etc., are not comprehensive.
Vim has 2 main "modes", that chance the behavior of all your keys. The default mode of Vim is Normal Mode and is mostly used for moving the cursor and navigating the current file.
Some important (or longer) commands begin with ":" and you will see the text you enter next at the bottom left of the screen.
:q[uit] - quit (the current window of) Vim. ("Window" here is internal to Vim, not if you have multiple OS-level windows of Vim open at once.)
:q! - force quit (if the current buffer has been changed since the last save)
:e[dit] {filename} - read file {filename} into a new buffer.
| #!/usr/bin/stap | |
| global connections | |
| global filter_port = 80 | |
| // | |
| global report | |
| global spend_time | |
| global active_count | |
| global have_spend_time = 0 |