This file contains hidden or 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
Error messages: | |
$ tailf /var/log/jenkins/jenkins.log | |
WARNING: Prober(fe80:0:0:0:c2b:e0ff:feff:d000%eth1.local.).run() exception | |
java.io.IOException: Operation not permitted (sendto failed) | |
at java.net.PlainDatagramSocketImpl.send(Native Method) | |
at java.net.DatagramSocket.send(DatagramSocket.java:693) | |
at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1537) | |
at javax.jmdns.impl.tasks.state.DNSStateTask.run(DNSStateTask.java:131) | |
at java.util.TimerThread.mainLoop(Timer.java:555) |
This file contains hidden or 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
WORKDIR=~/tmp/gdm-login-background | |
GST=/usr/share/gnome-shell/gnome-shell-theme.gresource | |
GSTRES=$(basename $GST) | |
mkdir -p $WORKDIR | |
cd $WORKDIR | |
mkdir theme | |
for r in `gresource list $GST`; do | |
gresource extract $GST $r >$WORKDIR$(echo $r | sed -e 's/^\/org\/gnome\/shell\//\//g') |
This file contains hidden or 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
yum install -y epel-release | |
yum install -y python-pip | |
cd /usr/bin | |
pip install pystache | |
pip install argparse | |
pip install python-daemon | |
pip install requests | |
cd /opt |
This file contains hidden or 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
# How to use: | |
# curl -L https://gist.githubusercontent.com/ygorth/7afc92d89badcf81ef47fe8e681c5e9f/raw/4d542337675dc23cf357c6d15458da054af480df/googlebot-load-testing-script | bash -s 20 "http://server.com/api" | |
# This keeps hitting your server at the rate of 20 calls/second until you ask it to stop | |
max="$1" | |
date | |
echo "url: $2 | |
rate: $max calls / second" | |
START=$(date +%s); | |
get () { |
This file contains hidden or 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
a4b.amazonaws.com | |
access-analyzer.amazonaws.com | |
account.amazonaws.com | |
acm-pca.amazonaws.com | |
acm.amazonaws.com | |
airflow-env.amazonaws.com | |
airflow.amazonaws.com | |
alexa-appkit.amazon.com | |
alexa-connectedhome.amazon.com | |
amazonmq.amazonaws.com |
This file contains hidden or 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
#!/bin/bash | |
# Stop all running containers | |
echo "Stopping all running containers..." | |
docker stop $(docker ps -q) | |
# Remove all containers | |
echo "Removing all containers..." | |
docker rm $(docker ps -a -q) |
OlderNewer