Fortunatly we could use pre-built gccemacs right now.
Those two repos did the greate job for us.
https://github.com/twlz0ne/nix-gccemacs-darwin
https://github.com/twlz0ne/nix-gccemacs-sierra
Here is the tutorial:
Fortunatly we could use pre-built gccemacs right now.
Those two repos did the greate job for us.
https://github.com/twlz0ne/nix-gccemacs-darwin
https://github.com/twlz0ne/nix-gccemacs-sierra
Here is the tutorial:
Password-store keeps your passwords (or any other sensitive information) saved in GnuPG encrypted files organized in ~/.password-store. For more information about GPG, consult the GNU Privacy Handbook.
To get started, install pass and generate a keypair.
$ brew install pass
$ gpg --gen-key
$ gpg --list-keys| //all job name | |
| jenkins.model.Jenkins.instance.items.each { | |
| println "Job: ${it.name}" | |
| } | |
| //method list of Jenkins instance | |
| jenkins.model.Jenkins.instance.class.methods.each { | |
| println "Jenkins method: ${it.name}" | |
| } |
| control "subnet" do | |
| describe azurerm_subnet(resource_group: 'MyResourceGroup', vnet: 'vnet-prod', name: 'subnet-web') do | |
| it { should exist } | |
| its('address_prefix') { should eq '192.168.0.0/24' } | |
| its('nsg') { should eq 'my-nsg'} | |
| end | |
| end |
| control 'azurerm_virtual_machine' do | |
| describe azurerm_virtual_machine(resource_group: 'MyResourceGroup', name: 'prod-web-01') do | |
| it { should exist } | |
| it { should have_monitoring_agent_installed } | |
| it { should have_only_approved_extensions(['MicrosoftMonitoringAgent']) } | |
| its('type') { should eq 'Microsoft.Compute/virtualMachines' } | |
| its('installed_extensions_types') { should include('MicrosoftMonitoringAgent') } | |
| its('installed_extensions_names') { should include('LogAnalytics') } | |
| its('properties.location') { should eq 'northeurope'} |
| control 'azurerm_resource_groups' do | |
| describe azurerm_resource_groups do | |
| its('names') { should include 'myResourcegroup' } | |
| end | |
| end |
| #!/bin/bash | |
| set -ex | |
| usage() | |
| { | |
| echo "usage: k8s-jprofiler-attach.sh pod_name" | |
| } | |
| k8s_jvm_pod="${1}" |
| #!/bin/sh | |
| if [ -z "$1" ];then | |
| echo "Usage:" | |
| echo " proj2ram proj-name" | |
| echo " proj2ram restore proj-name" | |
| exit 1 | |
| fi | |
Apache Kafka is a publish-subscribe open source message broker application. This messaging application was coded in “Scala”. Basically, this project was started by the Apache software. Kafka’s design pattern is mainly based on the transactional logs design.
For detailed understanding of Kafka, go through,
Kafka Tutorial.
The most important elements of Kafka are:
| #!/usr/bin/env python3 | |
| """Flatpak CLI Shortcut Generator | |
| A simple no-argument tool that generates launchers with traditional non-flatpak | |
| command names for your installed Flatpak applications in ~/.local/bin/flatpak. | |
| Does full collision detection and warns you if you forgot to add its output | |
| directory to your PATH. Also overrules the command-line specified in the | |
| ``.desktop`` file if the Flatpak maintainer didn't include support for | |
| command-line arguments. |