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
# VSFTPD installation for ubuntu | |
# | |
sudo su | |
apt-get update | |
apt-get install vsftpd | |
useradd -m ftpusr | |
# add your groups where nessesary | |
service vsftpd restart |
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
<?php if (! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Google ReCAPTURE v3 Helper | |
* @docs https://developers.google.com/recaptcha/docs/v3 | |
* | |
* INSTALLATION INSTRUCTIONS | |
* 1. Register account and website with Google Recaptcha to receive a Site Key and Secret Key - https://www.google.com/recaptcha/admin | |
NOTE: Ensure you select reCAPTCHA v3 .. NOT .. reCAPTCHA v2 |
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
sudo su | |
dd if=/dev/zero of=/swapfile bs=1M count=2000 | |
chmod 600 /swapfile | |
mkswap /swapfile | |
swapon /swapfile | |
swapon -s | |
nano /etc/fstab | |
Add this text to the bottom: |
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
import {Directive, ElementRef, Renderer2, AfterViewInit} from '@angular/core'; | |
declare let window: CustomWindow; | |
@Directive({ | |
selector: '[appGrunticonEmbeded]' | |
}) | |
export class GrunticonDirective implements AfterViewInit { | |
constructor(private element: ElementRef, private renderer: Renderer2) {} |
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
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: circleci/node:10.13.0 | |
steps: | |
- checkout | |
- run: | |
name: Install dependencies | |
command: npm install |
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
# A collection of handy features | |
# Mark Bucknell <[email protected]> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
# IP address block/redirect | |
# If your ip address is not in this list then redirect to the maintenance page | |
#Options +FollowSymlinks |