Skip to content

Instantly share code, notes, and snippets.

View mkeneqa's full-sized avatar
♣️
Chaos EnCode

Mike mkeneqa

♣️
Chaos EnCode
View GitHub Profile
@keidarcy
keidarcy / emoji.txt
Last active May 5, 2023 21:56
Plain Github emoji list
:bowtie:
😄 :smile:
😆 :laughing:
😊 :blush:
😃 :smiley:
☺️ :relaxed:
😏 :smirk:
😍 :heart_eyes:
😘 :kissing_heart:
😚 :kissing_closed_eyes:
@mkeneqa
mkeneqa / dbox_cli_uploader.py
Last active February 24, 2022 20:53
sample python script to upload website files to dropbbox
#! /usr/bin/python3
# !IMPORTANT: Make sure this is installed already: https://github.com/andreafabrizi/Dropbox-Uploader
import subprocess
import time
from datetime import datetime as dt
import os
if __name__ == "__main__":
@amityweb
amityweb / update_all_wp_sites.sh
Last active March 15, 2024 08:53
Bash script to iterate through all Wordpress sites on RunCloud and update the core, plugins and themes
#!/bin/bash
# Change directory to /home
cd /home
# Iterate through all users directories
for user in * ; do
# For every webapp under the user directory
# Count wp-config files to make sure its Wordpess
@amityweb
amityweb / wp-cron.sh
Created May 27, 2021 13:11
Bash script to iterate through all Wordpress sites on RunCloud and run Wordpress Cron
#!/bin/bash
# Change directory to /home
cd /home
# Iterate through all users directories
for user in * ; do
# For every webapp under the user directory
# Count wp-config files to make sure its Wordpess
@lopadz
lopadz / SYNC_GIST_README.md
Last active March 31, 2021 03:46
Sync WP Code & DB Makefile Recipe

Sync WP code/database Makefile

This gist has been upgraded to a full repo! You can find an improved version here: https://github.com/lopadz/wp-sync.

See you there! 😉

@mkeneqa
mkeneqa / about_useful_python_snippets.md
Last active April 16, 2022 21:34
Useful Python Code Snippets

Python Snippets

Handy Python Code Snippets

@mkeneqa
mkeneqa / fcpx_keywords.md
Last active September 8, 2022 16:59
Wedding Keyword Collection for FCPX

FCP Wedding Keywords Collection

Having descriptive and an organized media file structure is crucial for delivering a video project within a timely manner. Having recently watched this wedding video edit by Scott Mckenna on YouTube, I noticed how he organized his footage by keywords in Final Cut Pro - and I like it a lot.

I've adopted his keyword collections within an FCPX file and am sharing it here for easy access for anyone who, like me, would find it helpful.

Steps:

  1. Simply download the ZIP FILE to your computer and then extract it.
  2. Double click and open the wedding_keywords_import.fcpxml file which will open up Final Cut and will ask to add it as project as a new event OR you can use the import xml menu option (File → Import → XML) within Final Cut Pro X.
@tallguyjenks
tallguyjenks / fcpx_markers_import.py
Last active May 22, 2023 00:32 — forked from tin2tin/fcpx_markers_import.py
Grab Marker time stamps and text from Final Cut Pro X XML export and format for youtube timestamps in an output text file
#!/usr/bin/env python
import sys, datetime
from xml.etree.ElementTree import parse
xmlfile = raw_input()
if xmlfile == "":
exit()
# Converts the '64bit/32bits' timecode format into seconds
def parseFCPTimeSeconds (timeString):
@rolandstarke
rolandstarke / laravel setup.sh
Last active April 2, 2024 20:42
Server setup bash script for Laravel
# Ubuntu 20 LTS Server Setup for Laravel
# Login as root user
sudo su -
# Update list of available packages
apt update
@levlaz
levlaz / font-awesome-and-laravel.md
Last active October 9, 2023 11:47
How To Use Font Awesome With Laravel

For some reason there is a whole thread on this seemingly simple tasks. In a bootstrapped Laravel 5.4 instance the following worked for me.

Install Font Awesome with NPM

npm install font-awesome

Import font-awesome in your app.scss file