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
| /* Zazuzx.wordpress.com | |
| 1.44″ 128 * 128 SPI V1.1 Display Tutorial | |
| */ | |
| #include <SPI.h> | |
| #include <Adafruit_GFX.h> | |
| #include <TFT_ILI9163C.h> | |
| // Definition of COLORS | |
| #define WHITE 0xFFFF | |
| #define BLACK 0x0000 | |
| #define BLUE 0x001F |
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
| /* | |
| Simple controller for AD9850 modules | |
| Uses serial protocol (refer to AD9850 datasheet what pins need to be pulled up/down | |
| Uses library by Elecfreaks http://elecfreaks.com/store/download/datasheet/breakout/DDS/EF_AD9850_library.zip | |
| (for use with chipkit delete that unnecessary line "#include <avr/pgmspace.h>" from .h file) | |
| Fix the pin numbers used to communicate with module | |
| Serial comms - 9600, NewLine (0x0A) denotes end of input, | |
| f 10000 - set frequency | |
| s 20 20000 10 1000 - sweep from frequency to frequency using this step size in that many milliseconds | |
| o 10 10000 5 3000 - oscillating sweep from frequency to frequency and back using this step size in that many ms |
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
| # | |
| # Auth filter /etc/fail2ban/filter.d/nginx-auth.conf: | |
| # | |
| # Blocks IPs that makes too much accesses to the server | |
| # | |
| [Definition] | |
| failregex = ^<HOST> -.*"(GET|POST).*HTTP.*" | |
| ignoreregex = |
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 | |
| set -e | |
| # Debian 8 'Jessie' GlusterFS Install | |
| ######### | |
| #ToDo: | |
| # * Change guid/suid of mount | |
| # * Give option for cluster type | |
| # * Change variables via command line read | |
| ######## |
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 | |
| ## Install ISPConfig 3 on Debian 9.1 64Bits | |
| ## ISPConfig3 3 + Nginx + Debian 9.1 64Bits | |
| ## VM HD 50GB, swap 2GB, / 20GB, /var/www all | |
| ## Filesystem ext4 | |
| ## Run as root | |
| ## Link: https://www.howtoforge.com/tutorial/perfect-server-debian-jessie-nginx-bind-dovecot-ispconfig-3.1/ | |
| # Check if user has root privileges |
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 | |
| ## Install Rundeck on Ubuntu 16.04 | |
| ## http://rundeck.org/downloads.html | |
| ## Run as root (sudo su) | |
| apt-get update && apt-get upgrade -y | |
| apt-get install openjdk-8-jdk -y | |
| wget http://dl.bintray.com/rundeck/rundeck-deb/rundeck-2.9.3-1-GA.deb | |
| dpkg -i rundeck-2.9.3-1-GA.deb |
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 | |
| ## Install .NET Core 2.0.0 SDK on Ubuntu 16.04 64Bits | |
| ## Author: Nilton OS www.linuxpro.com.br | |
| ## https://www.microsoft.com/net/core#linuxubuntu | |
| ## https://docs.microsoft.com/en-us/aspnet/core/publishing/apache-proxy | |
| ## https://medium.com/@renato.groffe/net-core-e-sql-server-em-linux-primeiros-passos-89a7cb475ebd | |
| ## Version 0.1 | |
| curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg |
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 | |
| ## Install Redmine + Nginx | |
| ## Tested on Debian 8.7 64Bits | |
| ## Author: Nilton OS -- www.linuxpro.com.br | |
| ## Version: 0.1 | |
| # Check if user has root privileges | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "You must run the script as root or using sudo" |
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 | |
| # -*- coding: utf-8 -*- | |
| ## SQL Server command line backup Linux | |
| ## On OpenSUSE 42.2 64Bits | |
| ## Author: Nilton OS -- www.linuxpro.com.br | |
| ## http://stackoverflow.com/questions/880487/sql-server-command-line-backup-statement | |
| ## https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-migrate-sqlpackage | |
| ## Version: 0.2 | |
| ### BACKUP SCRIPT SQLSERVER CLI |
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 | |
| ### Install PHP 7.1 on Debian 8.6 64Bits | |
| ### https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/ | |
| ### http://www.shaunfreeman.name/compiling-php-7-on-centos/ | |
| apt-get install build-essential nano autoconf | |
| apt-get install libfcgi-dev libfcgi0ldbl libjpeg62-turbo-dbg libmcrypt-dev |
OlderNewer