Skip to content

Instantly share code, notes, and snippets.

View donniecode1983's full-sized avatar

Donovan Murphy donniecode1983

  • Murphy Web Consulting
  • Panama City, Florida
View GitHub Profile
version: '3.1'
services:
wordpress:
image: wordpress
restart: always
ports:
- 80:80
environment:
https://deb.parrotsec.org/parrot/pool/main/v/vscodium/vscodium_1.33.1-1556929548_amd64.deb
@donniecode1983
donniecode1983 / install_remmina.sh
Created April 17, 2019 13:46
Install Remmina on Debian/Ubuntu
# Remove libssl-dev if installed
sudo apt purge libssl-dev
# Update repos and install dependinces
sudo apt update -y
sudo apt install build-essential git-core libssh-dev cmake libx11-dev libxext-dev libxinerama-dev \
libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev \
libxrandr-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
libxi-dev libavutil-dev libjson-glib-dev\
#This is a small gist that will house snippits of code for developing open source software for better care of domestic cats.
#Bash Script
#The Below script removes recon camera watermark and replaces with the Kitty Shepard URL
---------------------------
#!/bin/bash
for i in <folder location>; do
echo $i
echo "render-$i"
@donniecode1983
donniecode1983 / meta-tags.md
Created January 5, 2019 19:17 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@donniecode1983
donniecode1983 / index.html
Last active January 5, 2019 22:36
Bootstrap Template
<!doctype html>
<html lang="en" class="h-100">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta about="Simple BootStrap Template">
<meta author="Donovan J. Murphy" >
@donniecode1983
donniecode1983 / gist:43c8a2dde7cdc8bd3bb9af7493cef4ba
Created December 29, 2018 00:38
gatsby external link component
import React from 'react';
import GatsbyLink from 'gatsby-link'
const Link = props => {
if (props.to.startsWith('/')) {
return <GatsbyLink {...props} >{props.children}</GatsbyLink>
}
return (
<a {...props} href={props.to}>
@donniecode1983
donniecode1983 / QuickRoboCopyMirrorScript
Last active November 30, 2018 15:29
Quick Robo Copy Mirror Script
Set-Variable -name sourceDir -value "\\location\of\source\directory\"
Set-Variable -name destDir -value "c:\location\of\destination\directory\"
robocopy $sourceDir $destDir /MIR /R:5 /W:10 /DCOPY:T /COPY:DATS
@donniecode1983
donniecode1983 / RoboCopyCommandExamples.txt
Created November 29, 2018 16:23
RoboCopyCommandExamples
Examples of Microsoft's Robocopy Syntax
#1 Simple copy
To copy contents of C:\UserFolder to C:\FolderBackup:
Robocopy C:\UserFolder C:\FolderBackup
This is the simplest usage for Robocopy
#2 Copy all content including empty directory
To copy all contents including empty directories of SourceFolder to DestinationFolder:
Robocopy C:\SourceDir C:\DestDir /E
@donniecode1983
donniecode1983 / install-remmina-deb-stretch.sh
Last active November 28, 2018 19:55
Install Remmina on Debian 9
# Remove libssl-dev if installed
sudo apt purge libssl-dev
# Update repos and install dependinces
sudo apt update -y
sudo apt install build-essential git-core libssh-dev cmake libx11-dev libxext-dev libxinerama-dev \
libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev \
libxrandr-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
libxi-dev libavutil-dev libjson-glib-dev\