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
#!/bin/bash | |
youtube-dl --download-archive jepordy.log -o '%(title)s.%(ext)s' https://www.dailymotion.com/polifemoruvalcabasolorio2 |
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
#!/bin/bash | |
find . -name "*.rar" -execdir unrar e -o- "{}" \; | |
find . -type f -name "*.rar" -delete | |
find . -type f -name "*.r[0-9][0-9]" -delete | |
find . -name "*[sS]ample*" -delete |
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
find . -name "*.rar" -execdir unrar e -o- "{}" \; |
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
--- | |
- hosts: minio | |
become: yes | |
tasks: | |
- name: install ufw | |
apt: | |
name: ufw | |
state: latest | |
update_cache: yes |
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
--- | |
- hosts: all | |
become: yes | |
tasks: | |
- name: create nebula dir | |
file: | |
state: directory | |
path: /etc/nebula | |
owner: root | |
group: root |
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
# This is the nebula example configuration file. You must edit, at a minimum, the static_host_map, lighthouse, and firewall sections | |
# Some options in this file are HUPable, including the pki section. (A HUP will reload credentials from disk without affecting existing tunnels) | |
# PKI defines the location of credentials for this node. Each of these can also be inlined by using the yaml ": |" syntax. | |
pki: | |
# The CAs that are accepted by this node. Must contain one or more certificates created by 'nebula-cert ca' | |
ca: /etc/nebula/ca.crt | |
cert: /etc/nebula/host.crt | |
key: /etc/nebula/host.key | |
#blocklist is a list of certificate fingerprints that we will refuse to talk to |
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
# become | |
sudo su - | |
# install docker | |
apt-get update | |
apt-get install docker.io docker-compose -y | |
# create compose file | |
echo '--- | |
version: "3" |
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
[Unit] | |
Description=discord-stock-ticker | |
Wants=basic.target | |
After=basic.target network.target | |
Before=sshd.service | |
[Service] | |
SyslogIdentifier=discord-stock-ticker | |
StandardOutput=syslog | |
StandardError=syslog |
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
package main | |
import ( | |
"flag" | |
"fmt" | |
"time" | |
"github.com/bwmarrin/discordgo" | |
) |
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
#!/usr/bin/env node | |
// jshint esversion: 6, asi: true | |
// <xbar.title>Github Pull requests</xbar.title> | |
// <xbar.version>v2.0</xbar.version> | |
// <xbar.author>Noam Knispel</xbar.author> | |
// <xbar.author.github>noamknispel</xbar.author.github> | |
// <xbar.desc>Get list of pull requests from Github for multiple repositories</xbar.desc> | |
// <xbar.dependencies>node.js request co bluebird</xbar.dependencies> |
OlderNewer