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
/var/www/*/*/logs/*.log | |
{ | |
olddir old_logs | |
daily | |
rotate 365 | |
dateext | |
nocreate | |
copytruncate | |
missingok | |
delaycompress |
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
void setup() { | |
Serial.begin(9600); | |
// Wait for the users to turn on the serial monitor and press the enter key to continue. | |
while (!Serial.available()) { | |
; // Wait for enter key; | |
} | |
// put your setup code here, to run once: | |
} | |
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/sh | |
# defaults for NetExtender Dell VPN Client | |
# sourced by /etc/init.d/netextender | |
# should be placed in /etc/default/netextender | |
# Enable or disable the daemon | |
ENABLE_DAEMON=1 | |
# Path to daemon | |
DAEMON=/usr/sbin/netExtender |
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 sh | |
# Download lists, unpack and filter, write to stdout | |
curl -s https://www.iblocklist.com/lists.php \ | |
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| xargs wget -O - \ | |
| gunzip \ | |
| egrep -v '^#' |
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/env ptyhon | |
# -*- coding: utf-8 -*- | |
# ====================================================================================================================== | |
# Rotater | |
# This script make backup in tar.gz format and remove files in target folder older | |
# than today and builds a report file in where this script file path is. | |
# Set this script as daily cronjob at midnight. | |
# Author: Sencer HAMARAT | |
# E-Mail: sencerhamarat@gmail.com | |
# ====================================================================================================================== |
NewerOlder