A real version of this will be released soon that can then be installed using npm/yarn.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSH_AUTH_SOCK=~/.ssh/ssh-agent.sock | |
ssh_agent_pid=$(ps -aef | grep ssh-agent | tr -s ' ' | cut -f 3 -d ' ') | |
[ -e ${SSH_AUTH_SOCK} ] && [ -z ${ssh_agent_pid} ] && rm ${SSH_AUTH_SOCK} | |
ssh-add -l 2>/dev/null >/dev/null | |
[ $? -ne 0 ] && ssh-agent -a ${SSH_AUTH_SOCK} 2>/dev/null >/dev/null | |
export SSH_AUTH_SOCK | |
# add existing rsa keys | |
ssh-add ~/.ssh/*_rsa 2>/dev/null >/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Locate your confluence server deployment root, e.g. ``/foo/atlassian/confluence/7.x.x`` | |
```bash | |
> cd /foo/atlassian/confluence/7.x.x | |
``` | |
Under ``confluence/WEB-INF/classes/com/atlassian``, create the following folder structure: ``http/mime``, | |
resulting in ``confluence/WEB-INF/classes/com/atlassian/http/mime``, e.g. | |
```bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based Upon | |
This is a dumbed down version of the below provided code which seems to be overly complex to me. | |
https://www.infiniroot.com/blog/1155/using-nginx-lua-script-mitigate-log4shell-cve-2021-44228-vulnerability |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add the following to your confluence server Custom HTML (At end of HEAD) | |
``` | |
<style type="text/css"> | |
.confluence-embedded-file[data-mime-type="image/svg+xml"] span { | |
display: none; | |
visibility: hidden; | |
} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.cloud.openfeign.EnableFeignClients; | |
import org.springframework.context.ApplicationContextInitializer; | |
import org.springframework.context.ConfigurableApplicationContext; | |
import org.springframework.core.env.MapPropertySource; | |
import org.springframework.util.SocketUtils; | |
import java.util.HashMap; | |
import java.util.Map; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent any | |
environment { | |
V_DEPLOY_VERSION = buildDeployVersion(readMavenPom().getVersion()) | |
} | |
stages { | |
stage('Version') { | |
steps { |
The following changes to the standard setup of the vuetify template will allow you to use typescript instead of babel or just plain javascript.
Additional changes have to be made to vuetify in order to get this running, namely the vuetify typescript declarations. I am currently working on that. Patience is a virtue.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue'; | |
import Component from 'vue-class-component'; | |
@Component({ | |
name : 'component' | |
}) | |
export default class MyComponent extends Vue { | |
beforeCreate() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import threading | |
from time import sleep | |
DEFAULT_SLEEP_TIME = 0.00001 | |
class SyncStream: | |
def __init__(self, sleep_time = DEFAULT_SLEEP_TIME): |
NewerOlder