Excellent reference: https://blog.devgenius.io/tmux-an-awesome-terminal-multiplexer-62609c6916bb
-
PREFIX + [
| csplit -s -z -f mycerts- mycerts.pem '/-----BEGIN/' '{*}' |
| # name this file ~/.ssh/config, or ~/.ssh/config-mycluster and symlink to ~/.ssh/config | |
| Host *.[fqdn] | |
| StrictHostKeyChecking no | |
| CheckHostIP no | |
| ServerAliveInterval 30 | |
| Host myhostname* | |
| StrictHostKeyChecking no | |
| CheckHostIP no |
Excellent reference: https://blog.devgenius.io/tmux-an-awesome-terminal-multiplexer-62609c6916bb
PREFIX + [
| #!/usr/bin/env python | |
| import json | |
| import sys | |
| def main(): | |
| for tag in json.loads(sys.stdin.read())['RepoTags']: | |
| # Do your commands here | |
| print(tag) |
| * Hold Alt to see Suspend | |
| * Ctrl + Alt + Up/Down arrow - switch workspaces | |
| * Windows/Super key: App overview | |
| * Super + m: Open Message tray | |
| * Alt + . : Add command args | |
| * Ctrl + u Ctrl + k : clear from cursor to begin/end | |
| * Ctrl + w: delete previous word |
| #!/bin/sh | |
| # find-class-in-jar.sh [class-name] | |
| grep $1 `find . \-name '*.jar'` |
| @echo off | |
| set PUTTY="C:\Path\to\putty\ProgramFilesx86\Putty\putty.exe" | |
| start /B "Starting PuTTY" %PUTTY% -load "profile-name" | |
| timeout /T 1 | |
| start /B "Starting PuTTY" %PUTTY% -load "profile-name" | |
| timeout /T 1 |
| <profiles> | |
| <profile> | |
| <id>deploy-remote</id> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.jboss.as.plugins</groupId> | |
| <artifactId>jboss-as-maven-plugin</artifactId> | |
| <version>${version.jboss.maven.plugin}</version> | |
| <configuration> |
| org.jboss.as.web.sso | |
| org.jboss.as.web.security | |
| org.apache.catalina.authenticator.realm | |
| org.jboss.security | |
| org.jboss.as.domain.management.security | |
| org.jboss.as.clustering.web.sso | |
| org.infinispan.interceptors.ReplicationInterceptor |
| @Named | |
| @ApplicationScoped | |
| public class GreetingCacheManager { | |
| @Inject | |
| @GreetingCache | |
| private Cache<CacheKey, String> cache; | |
| @PreDestroy | |
| public void closeCache() { |