Adafruit | FT232H | USB to GPIO Interface

Tuesday, March 5th, 2019 | Technology

This is one of my favorite pieces of electronic equipment that I own. Any device that allows me to interface with the real world - and natively to my Mac - is a piece of art. The GPIO interface connects via USB to the computer on one side; two 10-pin SIP connectors provide the power, ground, and I/O pins on the other.

The FT232-H supports many protocols. I don't get into this. I do, however, utilize the digital I/O pins for standard binary entry. This allows integration with simple switch circuits and advanced buttoned matrices ( or a parallel binary connection to any other circuit, i.e. a binary decoder ( 74HC595 ) ).

A Python API exposes all basic services of the chip and allows rapid integration into any programme environment that requires GPIO. This solution provides an affordable, expandable, I/O interface to all popular computing platforms, ultimately controlled via shell scripts and abstracted through a web interface. The design encourages opportunities for remote IOT installations or extending the digital GUI into a unique hands-on physical experience.

Resources:

https://learn.adafruit.com/circuitpython-on-any-computer-with-ft232h/mac-osx


Art of Modern Wizardry

Friday, March 23rd, 2018 | Lifestyle

I've always been fascinated by wizardry and our geophysical relationship with the earth and sky. Ready to get started? Check out this amazing guide on treeing, the method for reupping your wizard energy:

http://www.artofmodernwizardry.org/treeing-how-wizards-connect-to-the-universe/


Bootstrap | 3 to 4 Migration Notes

Tuesday, July 13th, 2021 | Coding

Bootstrap 3 -> 4 Migration

Replace hidden-xs hidden-sm 

Replace img-responsive to fluid

Breadcrumbs

Add breadcrumb-item to li class


CentOS 7 | Apache Virtual Host Setup

Tuesday, January 22nd, 2019 | Server

Links:
https://linuxize.com/post/how-to-set-up-apache-virtual-hosts-on-centos-7/
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-7

Local Domain:
https://askubuntu.com/questions/52664/how-do-i-set-up-a-local-domain-name-in-apache-and-ubuntu-eg-website-sam


CentOS 7 | Apache | SSL CertBot

Tuesday, January 22nd, 2019 | Server

Live example:

Run Certbot for default Apache configuration, requires listener on port 80:

sudo certbot --apache

sudo certbot --apache certonly

Resources:

LINUX - CentOs 7
https://certbot.eff.org/lets-encrypt/centosrhel7-apache


CentOS 7 | ColdFusion 2016 - PDF Generation Setup

Tuesday, January 22nd, 2019 | Server

https://helpx.adobe.com/coldfusion/pdf-generation-in-coldfusion.html

Download and Install: font-ibm-type1-1.0.3.zip.

https://helpx.adobe.com/experience-manager/6-3/forms/using/install-configure-pdf-generator.html


CentOS 7 | Networking Bridge for KVM

Sunday, February 3rd, 2019 | Server

Virtual Machines required a bridge for access to the local DHCP network.

First:

https://www.tuxfixer.com/install-and-configure-kvm-qemu-on-centos-7-rhel-7-bridge-vhost-network-interface/

Ensure you have added the bridge name to /etc/qemu/bridge.conf.


CentOS 7 | Server Commands - LOG CLEAR

Wednesday, September 16th, 2020 | System

LOG CLEAR

cd /var/www

add new line to end ( backslash n ) inside single quotes:

find . -type f -name requests.log -printf '%s %p'
find . -type f -name error.log -printf '%s %p'

cd /var/www

find . -name 'requests.log' -exec sh -c '> {}' ;
find . -name 'error.log' -exec sh -c '> {}' ;


CentOS 7 | Virtual Machine | Virsh Common Commands

Wednesday, February 20th, 2019 | Server

Live example:

virsh dumpxml
virsh dumpxml centos7.0

virsh list
virsh list --all

virsh edit centos7.0

CentOS 7 | Virtualization - Network Bridge Setup

Tuesday, January 22nd, 2019 | Server

https://www.techotopia.com/index.php/Creating_a_CentOS_KVM_Networked_Bridge_Interface

https://www.linuxjournal.com/article/8172

https://sandilands.info/sgordon/linux-servers-as-kvm-virtual-machines

 


CentOS 7 | Virtualization - Virtio Bridge Example

Monday, October 12th, 2020 | Server

<interface type='bridge'>

<mac address='52:54:00:32:83:B5'/>
<source bridge='br-em1'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>

</interface>


Clients | ESC | Google Tag Manager Setup

Friday, October 29th, 2021 | Technology

 Working Resources:

https://tagmanager.google.com

https://zozimus.com/blog/how-to-track-a-button-click-event-in-google-analytics-using-google-tag-manager/

Websites to review:

https://www.lovesdata.com/blog/google-tag-manager-button-click-tracking
https://www.analyticsmania.com/post/google-tag-manager-click-tracking/


Clients | PayPal - Mass Payment Format

Friday, January 19th, 2018 | Coding

Save as .txt:

[email protected]	100.00	USD	ReferralType+ReferralId	ReferralNotes
[email protected]	100.00	USD	ReferralType+ReferralId	ReferralNotes
[email protected]	100.00	USD	ReferralType+ReferralId	ReferralNotes
[email protected]	100.00	USD	ReferralType+ReferralId	ReferralNotes
[email protected]	100.00	USD	ReferralType+ReferralId	ReferralNotes

ColdFusion | CF2016 - cfdirectory

Tuesday, January 30th, 2018 | Coding

< cfdump var="#htaccess#">
< cfdirectory directory="ram:///" name="files" recurse="true">
< cfdump var="#files#">

ColdFusion | CFBuilder Regular Expressions for Search

Sunday, January 7th, 2018 | Coding

File name patterns: *, !*.jpg, !*.mp3, !*.ogg, !*.png, !*.wav, !*.zip, !.DS_Store


ColdFusion | Connector Config - OS X Apache

Wednesday, October 31st, 2018 | Technology

-ws Apache -dir /private/etc/apache2 -bin /usr/sbin/httpd - script /usr/sbin/apachectl

config: /private/etc/apache2/httpd.conf


ColdFusion | DSN Connection String for MySQL

Tuesday, July 27th, 2021 | Server

Connection String

zeroDateTimeBehavior=convertToNull&serverTimezone=America/New_York


ColdFusion | FW/1 Tips & Tricks

Thursday, July 29th, 2021 | System

https://framework-one.github.io/documentation/4.3/developing-applications/

Reinitialize the framework:

?fwreinit=xxx


ColdFusion | Geocoding with ColdFusion and Google Maps

Wednesday, November 7th, 2018 | Coding

https://coldfusionexperts.wordpress.com/2013/11/11/geocoding-with-google-map-api-and-coldfusion

https://stackoverflow.com/questions/2234204/find-nearest-latitude-longitude-with-an-sql-query

https://www.w3schools.com/html/html5_geolocation.asp

https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/watchPosition

https://www.w3schools.com/jsref/obj_navigator.asp


ColdFusion | Implementing CORS Upload for S3 in ColdFusion

Monday, June 22nd, 2020 | Technology

https://dyrynda.com.au/blog/uploading-files-to-amazon-s3-from-the-browser-part-one

1) Create Upload User

2) Create IAM Policy and attach it to your new user

3) Create CORS Policy and attach it to Bucket

 


ColdFusion | Install ColdFusion 2021 on MacOS BigSur

Thursday, October 14th, 2021 | Server

Install ColdFusion 2021 on BigSur

Launch the terminal and enter this command    -   xattr -rc <ColdFusion2021_xxxx.dmg>


ColdFusion | QR Code via ColdFusion ala Google Chart API

Wednesday, October 31st, 2018 | Coding

< cfhttp method="Get" url="http://chart.apis.google.com/chart?chs=150x150&cht=qr&chl=hello" getAsBinary = "yes">

< cfcontent variable="#toBinary(toBase64(cfhttp.FileContent))#" type="image/png" reset="true" />


ColdFusion | Websocket Resources

Sunday, August 1st, 2021 | Server

https://wiki.hostek.com/ColdFusion_Tips_%26_Tricks

https://bdking71.wordpress.com/2016/09/22/simple-chat-application-using-coldfusion-2016-web-sockets/#more-966

https://www.sagarganatra.com/2012/03/coldfusion-10-using-filtercriteria-in.html

https://github.com/GiancarloGomez/ColdFusion-Realtime-With-WebSockets/blob/master/listeners/ChatListener.cfc

https://bdking71.wordpress.com/2016/09/22/simple-chat-application-using-coldfusion-2016-web-sockets/


CommandBox Headless Instance for Raspberry PI

Monday, January 3rd, 2022 | Server

{

    "JVM":{

        "args":"-Djava.awt.headless=true"

    },

    "name":"sentinel.local",

    "openbrowser":false,

    "web":{

        "host":"sentinel.local",

        "http":{

            "port":"80"

        },

        "rewrites":{

            "enable":true

        }

    }

}


CSS | 3D cube

Friday, March 23rd, 2018 | Design

Use arrow keys, touch gestures, or click and drag to rotate:

https://paulrhayes.com/experiments/cube-3d/touch.html


CSS | Clean & Simple Prompt

Wednesday, November 21st, 2018 | Design

READY TO SIGN UP?

Register now, it's quick and FREE.

Already registered? Login


CSS | Radio Button Options

Sunday, March 25th, 2018 | Design

Basic Large: https://codepen.io/Zerk/pen/mWNXVy
Circuit: https://codepen.io/lukasoe/pen/BpMNjw

Custom dropdown arrow: https://codepen.io/danield770/pen/bgJOyV
Custom dropdown arrow 2: https://codepen.io/vkjgr/pen/VYMeXp
Custom dropdown arrow 3: https://fabriceleven.com/design/clever-way-to-change-the-drop-down-selector-arrow-icon/

Subscription: https://codepen.io/RRoberts/pen/kXvVrR
Large Jumper: https://codepen.io/web-tiki/pen/JXwLGQ
Terminal / Transit: https://codepen.io/yunntan/pen/rayKjK

Not loading:
https://codepen.io/morten-olsen/pen/QbvBYy
https://codepen.io/chrissimari/pen/shyDC


Deconstructing Your Vision

Saturday, January 13th, 2018 | Entrepreneur

Now

Failure to plan is planning to fail. Answer these 3 lines to achieve clarity and direction:

Things we did well and should do more of:
Things we are doing that need improvement:
Completely new things we want to try:


E19 | Marketing - Work ON your business vs IN your business

Tuesday, November 6th, 2018 | Business

https://trainingtilt.com/working-in-vs-on-your-business-what-does-that-even-mean


E19 | System Monitoring Dashboard

Wednesday, January 20th, 2021 | System

System Monitoring Dashboard

Now, let’s visit the infrastructure side of things. With our live service monitoring, we offer a powerful web-based dashboard that checks the services’ statuses in an asynchronous manner and pushes data to clients in real-time.

Both internal (intra-company) and public services’ statuses can be reported live and in real-time using this technology. Push that idea a little further and try to imagine a Network Operations Center (NOC) monitoring applications in a telecommunications operator, cloud/network/hosting provider, or some financial institution, all run on our web stack backed by ColdFusion.


FT232H - Python ( Basic GPIO )

Saturday, January 27th, 2018 | Technology

# Import standard Python time library.
import time

# Import GPIO and FT232H modules.
import Adafruit_GPIO as GPIO
import Adafruit_GPIO.FT232H as FT232H

# Temporarily disable the built-in FTDI serial driver on Mac & Linux platforms.
FT232H.use_FT232H()

# Create an FT232H object that grabs the first available FT232H device found.
ft232h = FT232H.FT232H()

# Configure digital inputs and outputs using the setup function.
# Note that pin numbers 0 to 15 map to pins D0 to D7 then C0 to C7 on the board.
ft232h.setup(7, GPIO.IN)   # Make pin D7 a digital input.
ft232h.setup(8, GPIO.OUT)  # Make pin C0 a digital output.

# Loop turning the LED on and off and reading the input state.
print 'Press Ctrl-C to quit.'
while True:
	# Set pin C0 to a high level so the LED turns on.
	ft232h.output(8, GPIO.HIGH)
	# Sleep for 1 second.
	time.sleep(1)
	# Set pin C0 to a low level so the LED turns off.
	ft232h.output(8, GPIO.LOW)
	# Sleep for 1 second.
	time.sleep(1)
	# Read the input on pin D7 and print out if it's high or low.
	level = ft232h.input(7)
	if level == GPIO.LOW:
		print 'Pin D7 is LOW!'
	else:
		print 'Pin D7 is HIGH!'

Happy New Year

Saturday, January 6th, 2018 | General

Happy New Year from all of us at E19 Creative. 2017 was a big year including another HIT music release on the Billboards, go Half Mile Home! We made several major technical advancements and have geared up for the next year of design and development, bringing your creativity to life.

We are engaging 2018 full force, turning processes into productivity with a focus on outcome, not just output. Now is the perfect time to sign up for our custom web services.


HTML5 | Audio Waveform Visualizer

Friday, March 23rd, 2018 | Coding

https://wavesurfer-js.org


HTML5 | Pre/Code line numbering, no copy

Wednesday, January 31st, 2018 | Coding

View Source:

 line 1
 line 2
 line 3
 line 4
 line 5

IP2Location | Map

Sunday, June 10th, 2018 | Technology

https://lite.ip2location.com/database/ip-country-region-city-latitude-longitude-zipcode


IPv6 Considerations

Tuesday, July 13th, 2021 | Technology

https://www.varonis.com/blog/ipv6-security/


ISRC Code Format

Saturday, January 13th, 2018 | Music Business

Sample: US-MX2-11-10300

[ US ] :: COUNTRY
[ MX2 ] :: LABEL CODE
[ 11 ] :: YEAR
[ 1 ] :: RELEASE CODE
    [ 1 = ALBUM, 2 = SINGLE, 3=COMPILATION ]
[ 03 ] :: ALBUM RELEASE SEQUENTIAL
[ 00 ] :: SONG RELEASE SEQUENTIAL

FRONTLINE MILITIA: US-MX2-14-10400


Javascript | Google Driving Directions

Monday, April 2nd, 2018 | Marketing

https://developers.google.com/maps/documentation/javascript/examples/directions-simple


Javascript | HTML Tag | Confirmation

Thursday, January 25th, 2018 | Coding

onclick="return confirm('Are you sure you want to delete?');"

JavaScript | jQuery - Popup Overlay

Friday, March 23rd, 2018 | Coding

Stand Alone - http://dev.vast.com/jquery-popup-overlay/


JavaScript | Random Key

Tuesday, October 30th, 2018 | Coding

var order_id = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
		
for( var i=0; i < 8; i++ )
order_id += possible.charAt(Math.floor(Math.random() * possible.length));


Javascript | Send OS X Notifications

Wednesday, October 31st, 2018 | Coding

< script>
	
	var notify = function () {
	    // Check for notification compatibility.
	    if (!'Notification' in window) {
	        // If the browser version is unsupported, remain silent.
	        return;
	    }
	    // Log current permission level
	    console.log(Notification.permission);
	    // If the user has not been asked to grant or deny notifications
	    // from this domain...
	    if (Notification.permission === 'default') {
	        Notification.requestPermission(function () {
	            // ...callback this function once a permission level has been set.
	            notify();
	        });
	    }
	    // If the user has granted permission for this domain to send notifications...
	    else if (Notification.permission === 'granted') {
	        var n = new Notification(
	                    'New message from Liz',
	                    {
	                      'body': 'Liz: "Hi there!"',
	                      // ...prevent duplicate notifications
	                      'tag' : 'unique string'
	                    }
	                );
	        // Remove the notification from Notification Center when clicked.
	        n.onclick = function () {
	            this.close();
	        };
	        // Callback function when the notification is closed.
	        n.onclose = function () {
	            console.log('Notification closed');
	        };
	    }
	    // If the user does not want notifications to come from this domain...
	    else if (Notification.permission === 'denied') {
	        // ...remain silent.
	        return;
	    }
	};
	    
    notify();
	
< /script>


LEGO NXT RoboGlove

Wednesday, November 7th, 2018 | Robotics


Linux Server Installation Resources - CentOS

Tuesday, August 18th, 2020 | Server

https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-centos-7
https://linuxize.com/post/how-to-stop-and-disable-firewalld-on-centos-7


LINUX | Crontab Basics

Tuesday, January 30th, 2018 | Coding

CRON exists for Sudo and User. I recommend Nano as your default Editor ( if you receive a prompt )

crontab -l
crontab -e

sudo crontab -l sudo crontab -e

LINUX | Crontab Expressions

Wednesday, January 17th, 2018 | Coding

This is a great starting point when you're working with scheduled tasks or repeating events:

Oracle-defined CRON Expressions


Linux | Install ExFat Utilities

Wednesday, January 9th, 2019 | Server

yum install exfat-utils fuse-exfat
mkdir /media/USB
ls /dev/sd*
mount -t exfat /dev/sda1 /media/USB/

Mac - Upgrade PHP to 7.3 from 5.x

Thursday, June 20th, 2019 | Server

https://medium.com/zenchef-tech-and-product/how-to-upgrade-your-version-of-php-to-7-0-on-macos-sierra-e1bfdea55a63

https://coolestguidesontheplanet.com/upgrade-php-on-osx
https://jasonmccreary.me/articles/upgrade-php-mac-os-x
https://php-osx.liip.ch

 

curl -s https://php-osx.liip.ch/install.sh | bash -s 7.3

Mac | Docker SQL Server Setup / Azure Data Studio Restore

Wednesday, October 27th, 2021 | System

Docker SQL Setup:

docker pull mcr.microsoft.com/mssql/server

docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=asdf1234' -p 1433:1433 -d mcr.microsoft.com/mssql/server:2017-latest

sudo docker exec -it goofy_pare mkdir /var/opt/mssql/backup

sudo docker cp RussellTownship_backup_2021_10_19_020002_4020622.bak goofy_pare:/var/opt/mssql/backup

Azure Restore:

https://www.quackit.com/sql_server/mac/how_to_restore_a_bak_file_using_azure_data_studio.cfm

https://www.quackit.com/sql_server/mac/how_to_copy_a_file_from_the_host_to_a_docker_container.cfm


Mac | Hide Hidden Files

Wednesday, February 20th, 2019 | Technology

Show hidden files:

# defaults write com.apple.finder AppleShowAllFiles true
# killall Finder

Hide hidden files:

# defaults write com.apple.finder AppleShowAllFiles false
# killall Finder

Mac | Homebrew | Install FFMPEG

Friday, March 23rd, 2018 | Technology

http://www.renevolution.com/ffmpeg/2013/03/16/how-to-install-ffmpeg-on-mac-os-x.html

brew install ffmpeg --with-chromaprint --with-fdk-aac --with-fontconfig --with-freetype --with-frei0r --with-game-music-emu --with-libass --with-libbluray --with-libbs2b --with-libcaca --with-libgsm --with-libmodplug --with-librsvg --with-libsoxr --with-libssh --with-libvidstab --with-libvorbis --with-libvpx --with-opencore-amr --with-openh264 --with-openjpeg --with-openssl
--with-opus --with-rtmpdump --with-rubberband --with-sdl2 --with-snappy --with-speex --with-tesseract --with-theora --with-tools --with-two-lame --with-wavpack --with-webp --with-x265 --with-xz --with-zeromq --with-zimg

Mac | MAMP Path Migrations and MySQL Fixes

Friday, October 29th, 2021 | System

MAMP Migration

 

sudo apachectl stop

 

  1. Convert ALL DateModified values to CURRENT_TIMESTAMP and NOT NULL
  2. Update ALL system paths from htdocs -> Sites

 

PATH Updates:

 

Applications/MAMP/htdocs

Users/*username*/Sites

 

####

 

 

MySQL ZERO DATE issue:

 

SELECT @@GLOBAL.sql_mode global, @@SESSION.sql_mode session;
SET sql_mode = '';
SET GLOBAL sql_mode = '';

 

MySQL GROUP BY ISSUE:

 

SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY','));

 

NOTE: Removed ‘ONLY_FULL_GROUP_BY,’ from the SQL MODE variable

 

https://stackoverflow.com/questions/41887460/select-list-is-not-in-group-by-clause-and-contains-nonaggregated-column-inc


MAC | Network Utility Replacement Commands in Terminal

Monday, December 6th, 2021 | System

Reference: https://www.makeuseof.com/how-to-use-terminal-as-network-utility-replacement/

Using Lookup With Terminal

The Lookup tool in Network Utility allowed you to identify the IP addresses associated with a domain name and vice versa. In Terminal, the nslookup command effectively replicates this feature.

An example Terminal command on a Mac looks like this:

nslookup apple.com

For a reverse lookup, use the IP address of the domain:

nslookup 17.253.144.10

Mac | OS X Mail / Message DUMP Recents

Thursday, January 25th, 2018 | Coding

sqlite3 -csv ~/Library/Containers/com.apple.corerecents.recentsd/Data/Library/Recents/Recents 'select display_name, address from contacts where kind like "email";'>~/Desktop/recent.csv

Mac | Regular Expressions for DreamWeaver Search

Sunday, January 7th, 2018 | Coding

< cflocation [^>]*>
< cffunction [^>]*>

://[^w]*.patentawards

Mac | Wireshark Filter Basics

Thursday, January 25th, 2018 | Coding

html contains 'keyword'
frame contains 'keyword'

Marketing Types

Wednesday, January 17th, 2018 | Marketing

Kept these around to inspire new ideas:

Initiative, Momentum

Invitations, News, Notifications, Messages

Coupons, Specials, Savings, Promos,Promotions, Deals, Discount, Clearance

Surveys - Survey Builder

Events ["New","Past","Recent","Featured"]


Minecraft Java Coding

Saturday, November 21st, 2020 | Coding

https://www.minecraft.net/en-us/download/server
https://minecraft.gamepedia.com/Tutorials/Setting_up_a_server

https://javaminecraft.com/spigot/


Minecraft Python Coding

Saturday, November 21st, 2020 | Coding

 

Code Samples:

setBlock(x,y,z,x+3,y+3,z+3)

Resources:

https://www.stuffaboutcode.com/p/minecraft-api-reference.html
https://projects.raspberrypi.org/en/projects/getting-started-with-minecraft-pi/4

https://gist.github.com/jonwitts/2ac5b12d7231a95f959f0fabd17cd66b
https://projects.raspberrypi.org/en/projects/getting-started-with-minecraft-pi/5
https://www.raspberrypi-spy.co.uk/2014/06/building-a-castle-in-minecraft-with-python/

https://teachcraft.net

Build A House: https://www.raspberrypi.org/blog/build-minecraft-house-using-python/

Moving the Player: https://arghbox.wordpress.com/2013/12/28/minecraft-pi-api-moving-the-player/


MySQL | Delete Duplicate Rows

Tuesday, October 27th, 2020 | Coding

In case you want to delete duplicate rows and keep the lowest id, you can use the following statement:

DELETE
c1
FROM
contacts c1 INNER JOIN contacts c2 WHERE c1.id > c2.id AND c1.email = c2.email;

MySQL | Music Code ( Tips & Tricks )

Sunday, January 7th, 2018 | Coding

Raw MySQL for importing MP3's:

UPDATE app_music_songs SET file_path = REPLACE(file_path, '.mp3', ')
UPDATE app_music_songs SET length = SEC_TO_TIME(length_raw)

MySQL | to Learn

Tuesday, December 15th, 2020 | Technology

https://www.w3schools.com/sql/sql_stored_procedures.asp
https://www.w3schools.com/sql/sql_isnull.asp
https://www.w3schools.com/sql/sql_case.asp
https://www.w3schools.com/sql/sql_exists.asp


Python | Coding Resources

Saturday, November 21st, 2020 | Coding

https://requests.readthedocs.io/en/master/user/quickstart/


Python | Get MAC Address

Thursday, January 18th, 2018 | Coding

from uuid import getnode as get_mac
mac = get_mac()
print mac
print hex(mac)
':'.join(("%012X" % mac)[i:i+2] for i in range(0, 12, 2))

Python | Simulate keyboard events on Linux

Friday, March 23rd, 2018 | Coding

https://pypi.python.org/pypi/keyboard/ http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/key-names.html


Python | speech recognition via Google Speech API

Friday, March 23rd, 2018 | Coding

https://www.geeksforgeeks.org/speech-recognition-in-python-using-google-speech-api/ https://cloud.google.com/speech/quotas


Raspberry Pi | As an OpenVPN Server

Tuesday, July 13th, 2021 | Technology

https://www.pcmag.com/how-to/how-to-create-a-vpn-server-with-raspberry-pi


Raspberry Pi | Full Screen Browser -Raspbian

Friday, March 23rd, 2018 | Technology

From the Desktop:

Simply use the Full Screen icon in the Browser zoom area. F11 or right-click to exit full screen.

From the Terminal:

chromium-browser --start-fullscreen https://e19creative.com

Full Screen at Boot:

https://blog.gordonturner.com/2017/07/22/raspberry-pi-full-screen-browser-raspbian-july-2017/


Raspberry Pi | GPIO - Python Basics

Wednesday, January 24th, 2018 | Technology

import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setup(11,GPIO.OUT)	
GPIO.output(11,GPIO.HIGH)
GPIO.cleanup()

Raspberry Pi | GPIO - Python Reference

Friday, March 23rd, 2018 | Technology

https://sourceforge.net/p/raspberry-gpio-python/wiki/Examples/

Raspberry Pi | Minecraft - Get Started

Wednesday, May 16th, 2018 | Technology

https://projects.raspberrypi.org/en/projects/getting-started-with-minecraft-pi/5
https://www.raspberrypi-spy.co.uk/2014/06/building-a-castle-in-minecraft-with-python/


Raspberry Pi | Node-RED

Sunday, June 10th, 2018 | Technology

https://nodered.org

http://10.0.1.12:1880/#flow/8fd6ed2d.cf9d2


Raspberry Pi | Setup Reference

Sunday, September 26th, 2021 | Technology

Database ( MariaDB / MySQL ):

https://raspberrytips.com/install-mariadb-raspberry-pi/

VNC:

https://www.youtube.com/watch?v=LTVtKiz2KGE&t=0s


Raspberry Pi | V4 Speech Synthesis Setup

Wednesday, April 14th, 2021 | Technology

Resources

https://stackoverflow.com/questions/44013933/how-to-use-web-speech-api-at-chromium
https://bbs.archlinux.org/viewtopic.php?id=243537
http://manpages.ubuntu.com/manpages/trusty/man1/spd-conf.1.html
https://linuxreviews.org/Speech-dispatcher


Recipes

Friday, May 7th, 2021 | Food

Oven Roasted Asparagus

https://www.allrecipes.com/recipe/214931/oven-roasted-asparagus/

Pizza Crust

1 package active dry yeast
1 tsp. granulated sugar
1 cup warm water ( 110-115 F )
2 1/2 cups bread flour
2 tbsp. olive oil
1 tsp. salt


RetroPie ROMS

Tuesday, July 13th, 2021 | Technology

https://coolrom.com.au/roms/

https://the-eye.eu/public/rom/NES/

https://www.freeroms.com


Secret to Life

Saturday, August 12th, 2017 | Health

This small chart enables many powerful mantras:

Dynamic

[ Love-based ]

Static

[ Fear-based ]
Trust Mis-trust
Autonomy Shame or doubt
Initiative Guilt
Industry Inferiority
Identity Role Confusion
Intimacy Isolation
Dignity Addiction

Oddly, found this article in 2021: https://www.simplypsychology.org/Erik-Erikson.html


Server | DELL iDrac6 vFlash Usage

Monday, March 15th, 2021 | Server

https://medium.com/techbeatly/boot-from-image-using-vflash-in-dell-poweredge-servers-2e661768fdf8


Shell - UNIX Network Scan ( arp-scan )

Thursday, April 19th, 2018 | Coding

sudo arp-scan --interface=en0 --localnet

Shell / CLI / PHP | Terminal flags

Wednesday, October 31st, 2018 | Coding

Method for receiving Command Line Interface ( CLI ) variables in a PHP script:

Example: script.php -a 'hello' -b 'yes'

< ?php

	$a = $argv;
	$b = array();
	
	if (count($a) != 0) {
		
		foreach ($a as $arg){
		   list($x,$y) = explode('=', $arg);
		   $b["$x"]    = $y;  
		}
		
		$tweet = $b['tweet'];
		$authorized = $b['authorized'];
	
	}
	
	print_r($tweet);
	
? >


Shell | Command Line PHP Hacking Input

Friday, February 2nd, 2018 | Coding

Argv is default for incoming command line arguments, this applies to Python as well.

$a = $argv;
$b = array();
	
if (count($a) != 0) {
		
	foreach ($a as $arg){
	   list($x,$y) = explode('=', $arg);
	   $b["$x"]    = $y;  
	}
		
	$message = $b['message'];
	$key = $b['key'];
			
}

Shell | Make a LINUX file executable

Sunday, June 10th, 2018 | Technology

For one user:

chmod u+x script.sh

For all users:

chmod +x script.sh

Shell | NIX Save History to Text File

Wednesday, January 9th, 2019 | Server

history > history_for_print.txt

Shell | NIX Tail & Grep | Filter by Text

Tuesday, March 13th, 2018 | Coding

Load and watch access_log in realtime. Exclude lines with the defined IP addresses. * IP pipes may require a preceding backslash.

Live example:

sudo tail -f access_log | grep -v "75.185.171.22|127.0.0.1"

sudo tail -f -n 300 access_log | grep -v "75.185.171.22|127.0.0.1"

sudo tail -f -n 500 access_log | egrep "(e19creative.com)"

Include: tail -f mylogfile.log | grep "error: "
Exclude: tail -f -n 300 access_log | grep -v "string"
Exclude Multiple: tail -f -n 300 access_log | grep -v "string|string2"


Shell | Remote UNIX Command for Screensaver

Tuesday, June 30th, 2020 | System

open -a ScreenSaverEngine

Shell | Terminal NIX Zip Commands

Monday, December 3rd, 2018 | Server

Zip: zip -r source.zip source/

Unzip into target directory without archive folder: bsdtar -xf source.zip -s'|[^/]*/||'
( launch from the directory where you want the files )

Alternative Unzip: yum install p7zip | 7za x wordpress.zip


SQL Server Setup Tutorial

Saturday, September 18th, 2021 | Technology

 sa - enable login

enable pipes / tcp/ip in service manager

enable windows and user authentication


SQL | Common SQL Server Commands

Friday, October 15th, 2021 | Coding

ALTER TABLE dbo.Employees 
ADD company VARCHAR (255) NULL;

####

Alter existing column:

ALTER TABLE Orders ALTER COLUMN shipToAddress1 VARCHAR (80);

ALTER TABLE Employees ALTER COLUMN address1 VARCHAR (80);

https://javarevisited.blogspot.com/2016/03/how-to-increase-length-of-existing-VARCHAR-column-in-SQL-Server.html#axzz7Lf1U1L2D


Thoughts - 02192021

Saturday, March 27th, 2021 | Inspiration

What is the purpose of writing? The purpose of writing is to express one’s self, thoughts, and experiences so they may be recollected at a later time. Writing is an excellent way to achieve your self clarity of thought and a traceable history of your own personal evolution.

It’s easier to attempt to be one’s self than it is to truly be. However, with practice and perseverance, we know that all things are possible - even the impossible.


Windows | Delete Hidden Files for Parallels

Sunday, December 5th, 2021 | System

https://awesometoast.com/delete-all-instances-of-ds_store-in-windows/


Windows | IIS Setup / Configuration with CommandBox / Lucee

Tuesday, March 16th, 2021 | Server

IIS:

https://computingforgeeks.com/how-to-configure-default-site-in-iis-server
https://tecadmin.net/enable-url-rewrite-iis/

Lucee:

Lucee Lockdown - https://www.youtube.com/watch?v=wt4Y6uAPbc0

https://robertmunn.com/blog/logging-into-lucee-admin-of-a-new-instance
https://docs.lucee.org/guides/Various/TIPS/TIPS-custom-JARs.html

https://commandbox.ortusbooks.com/embedded-server/configuring-your-server/custom-error-pages
https://docs.lucee.org/guides/cookbooks/Exeception-Output.html
https://docs.lucee.org/reference/tags/error.html
https://docs.lucee.org/guides/cookbooks/application-context-basic.html

CommandBox:

https://www.ortussolutions.com/blog/screencast-starting-commandbox-servers-as-a-windows-service

 


Windows | Server & IIS & CommandBox

Tuesday, May 25th, 2021 | System

https://cheatography.com/garciadev/cheat-sheets/commandbox/

https://commandbox.ortusbooks.com/embedded-server/configuring-your-server/url-rewrites

https://www.tutorialsteacher.com/articles/set-custom-domain-name-for-localhost-website-iis

https://cfconfig.ortusbooks.com/introduction/introduction

CFCONFIG

https://www.ortussolutions.com/blog/introducing-cfconfig-a-new-way-to-manage-your-cf-servers-configuration-from-the-command-line

https://cfconfig.ortusbooks.com/using-the-cli/command-overview/manage-datasources

 


WordPress | Beaver Builder Tips & Tricks

Tuesday, July 13th, 2021 | Technology

https://www.wpbeaverbuilder.com/woocommerce-single-product-page-builder


WordPress | DirectAdmin - Get rid of Imagick Warning

Thursday, October 14th, 2021 | System

https://forum.directadmin.com/threads/exif-and-imagick-installation.57876/


WordPress | Malware Scan

Wednesday, October 6th, 2021 | System

Malware Scan:

find . -name '*.php' -print0 | xargs -0 egrep -in 'wp_cd_code'

Search by Recents: ( add backslash-n after %p )

find . f -printf '%TY-%Tm-%Td %TT %p ' | sort -r

Notes:

https://www.google.com/search?q=lock360.php
https://www.getastra.com/blog/911/how-to-remove-the-backdoor-php-apiword-malware-from-your-wordpress-website
https://securityboulevard.com/2020/09/the-hidden-php-malware-that-reinfects-cleaned-files

Cleaning Scripts:

Search for “pwd163”
Search for 8/8 file creation date ( or other infection date )

Remove all htaccess files

Compare Main Folders
Compare Theme Files

Review Database


WordPress | Permissions Cleanup in LINUX

Thursday, December 27th, 2018 | Server

Common commands to standardize user and group, as well as permissions for directories and files:

Update user/group:
chown -R username public_html/ chgrp -R groupname public_html/
Add a backslash before the semicolon on the following commands:
Change directory permissions rwxr-xr-x: find . -type d -exec chmod 755 {} ;
Change file permissions rw-r--r--: find . -type f -exec chmod 644 {} ;

Architecture


Business

E19 | Marketing - Work ON your business vs IN your business

Coding

Bootstrap | 3 to 4 Migration Notes
2018-01-19
Clients | PayPal - Mass Payment Format
2018-01-30
ColdFusion | CF2016 - cfdirectory
2018-01-07
ColdFusion | CFBuilder Regular Expressions for Search
ColdFusion | Geocoding with ColdFusion and Google Maps
ColdFusion | QR Code via ColdFusion ala Google Chart API
2018-03-23
HTML5 | Audio Waveform Visualizer
2018-01-31
HTML5 | Pre/Code line numbering, no copy
2018-01-25
Javascript | HTML Tag | Confirmation
2018-03-23
JavaScript | jQuery - Popup Overlay
JavaScript | Random Key
Javascript | Send OS X Notifications
2018-01-30
LINUX | Crontab Basics
2018-01-17
LINUX | Crontab Expressions
2018-01-25
Mac | OS X Mail / Message DUMP Recents
2018-01-07
Mac | Regular Expressions for DreamWeaver Search
2018-01-25
Mac | Wireshark Filter Basics
Minecraft Java Coding
Minecraft Python Coding
MySQL | Delete Duplicate Rows
2018-01-07
MySQL | Music Code ( Tips & Tricks )
Python | Coding Resources
2018-01-18
Python | Get MAC Address
2018-03-23
Python | Simulate keyboard events on Linux
2018-03-23
Python | speech recognition via Google Speech API
2018-04-19
Shell - UNIX Network Scan ( arp-scan )
Shell / CLI / PHP | Terminal flags
2018-02-02
Shell | Command Line PHP Hacking Input
2018-03-13
Shell | NIX Tail & Grep | Filter by Text
2022-02-22
SQL | Common SQL Server Commands

Design

2018-03-23
CSS | 3D cube
CSS | Clean & Simple Prompt
2018-03-25
CSS | Radio Button Options

Electronics


Entrepreneur

2018-01-13
Deconstructing Your Vision

Family


Financial


Food

Recipes

Gardening


General

2018-01-01
Happy New Year

Health

2017-08-12
Secret to Life

Inspiration

Thoughts - 02192021

Lifestyle

2018-03-23
Art of Modern Wizardry

Lyrics


Marketing

2018-04-02
Javascript | Google Driving Directions
2018-01-17
Marketing Types

Music


Music Business

2018-01-13
ISRC Code Format

Parenting


Robotics

LEGO NXT RoboGlove

Server

CentOS 7 | Apache Virtual Host Setup
CentOS 7 | Apache | SSL CertBot
CentOS 7 | ColdFusion 2016 - PDF Generation Setup
CentOS 7 | Networking Bridge for KVM
CentOS 7 | Virtual Machine | Virsh Common Commands
CentOS 7 | Virtualization - Network Bridge Setup
CentOS 7 | Virtualization - Virtio Bridge Example
ColdFusion | DSN Connection String for MySQL
ColdFusion | Install ColdFusion 2021 on MacOS BigSur
ColdFusion | Websocket Resources
2022-01-03
CommandBox Headless Instance for Raspberry PI
Linux Server Installation Resources - CentOS
Linux | Install ExFat Utilities
Mac - Upgrade PHP to 7.3 from 5.x
Server | DELL iDrac6 vFlash Usage
Shell | NIX Save History to Text File
Shell | Terminal NIX Zip Commands
Windows | IIS Setup / Configuration with CommandBox / Lucee
WordPress | Permissions Cleanup in LINUX

System

CentOS 7 | Server Commands - LOG CLEAR
ColdFusion | FW/1 Tips & Tricks
E19 | System Monitoring Dashboard
Mac | Docker SQL Server Setup / Azure Data Studio Restore
2022-04-08
Mac | MAMP Path Migrations and MySQL Fixes
MAC | Network Utility Replacement Commands in Terminal
Shell | Remote UNIX Command for Screensaver
Windows | Delete Hidden Files for Parallels
Windows | Server & IIS & CommandBox
WordPress | DirectAdmin - Get rid of Imagick Warning
WordPress | Malware Scan

Technology

Adafruit | FT232H | USB to GPIO Interface
Clients | ESC | Google Tag Manager Setup
ColdFusion | Connector Config - OS X Apache
ColdFusion | Implementing CORS Upload for S3 in ColdFusion
2018-01-27
FT232H - Python ( Basic GPIO )
2018-06-10
IP2Location | Map
IPv6 Considerations
Mac | Hide Hidden Files
2018-03-23
Mac | Homebrew | Install FFMPEG
MySQL | to Learn
Raspberry Pi | As an OpenVPN Server
2018-03-23
Raspberry Pi | Full Screen Browser -Raspbian
2018-01-24
Raspberry Pi | GPIO - Python Basics
2018-03-23
Raspberry Pi | GPIO - Python Reference
2018-05-16
Raspberry Pi | Minecraft - Get Started
2018-06-10
Raspberry Pi | Node-RED
Raspberry Pi | Setup Reference
Raspberry Pi | V4 Speech Synthesis Setup
RetroPie ROMS
2018-06-10
Shell | Make a LINUX file executable
SQL Server Setup Tutorial
WordPress | Beaver Builder Tips & Tricks


E19 Creative

Products | Community | Support | About | Contact | Login