References:
π
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBF4beKUBEADaDr1y6DY43tdUk6Ak5++au3Pwbwh+PRjn/b1u6IfXb9hVw1yq1YWFG/L1 | |
hBopCm0KihrDvwFYpgfWvdKTO2WE/LToVuvAZP9Dsu3MRGZWHHZ2ct/Yn4Q5MgqQdu7zNTVO | |
t8RGmA3P7kHLY4fdsj5h/62PjTObqbDA5oX162kYgYBzlohrftxws+k3cmDDnPcJSW8iWVzF | |
V9f2tBAr1yArvpCiMQ49UPLfiN9/PzlUNwQwRS2XKKYderToPN1JyCxBYIfaJ3FKmqp52fnq | |
ytxv3f5mXI9hbpvVQYU+gFBbhzWAPF0Uvjv3dhonGP9H/xvbdfjS9Zlk7opPMaxgaKD/D+YT | |
y+8fG9sVVp7Gs/7Yt/g08MEG9m0yBdDpwnFXMX+oqBmzyrzEvthxAztd9LT94mjaQrJCoOfo | |
vOOF5g3Z0S4xLOVr7JZXulHHqrNP+KVdmSoX7ESjgB8mv0tWZkR96B/z5MJahikPthVTTH+1 | |
4UNU/h72jKimjPbd0NQ8v/pwqOGlipWxG1jAE43cUZlRv3hmDtGJynCBVkVid9yibp1nmoMr |
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
become: yes | |
tasks: | |
- name: Gather the rpm package facts | |
package_facts: | |
manager: auto | |
- name: Check whether docker-ce is installed | |
set_fact: | |
docker_installed: true | |
when: "'docker-ce' in ansible_facts.packages" |
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
[INCLUDES] | |
before = | |
[Definition] | |
actionstart = | |
actionstop = | |
actioncheck = | |
actionflush = sed -i '/<source address=/d' /etc/firewalld/zones/drop.xml | |
actionban = firewall-cmd --change-source=<ip> --zone=drop && firewall-cmd --change-source=<ip> --zone=drop --permanent |
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
// https://tour.golang.org/concurrency/10 | |
package main | |
import ( | |
"fmt" | |
"sync" | |
) | |
type SafeMap struct { |
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
Nix 15 hrs 15 mins βββββββββββββββββββββ 40.3% | |
Cheetah 10 hrs 14 mins βββββββββββββββββββββ 27.1% | |
PHP 3 hrs 17 mins βββββββββββββββββββββ 8.7% | |
Other 3 hrs 11 mins βββββββββββββββββββββ 8.4% | |
JavaScript 1 hr 18 mins βββββββββββββββββββββ 3.5% |
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
probe process("/usr/bin/pkexec").function("main") { | |
if (cmdline_arg(1) == "") | |
raise(9); | |
} |
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
#!/usr/bin/env python | |
# | |
# Requirements: ntplib (easy_install ntplib) | |
# | |
# How to use it using GNU parallel (to run in //): | |
# | |
# cut -f1 -d";" ntp-monlist-servers.csv | parallel "python test-ntp.py --ip {1}" | |
# | |
# Software is free software released under the "Modified BSD license" | |
# |
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
:3000 { | |
root * /app | |
try_files {path}.html {path} /index.html | |
file_server | |
header { | |
-server | |
} | |
} |