Skip to content

Instantly share code, notes, and snippets.

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

Mike mkeneqa

♣️
Chaos EnCode
View GitHub Profile
@mkeneqa
mkeneqa / using_fabric.py
Created February 16, 2023 16:20 — forked from YoniItzhak/using_fabric.py
Creating connection
from socket import error as socket_error
from fabric import Connection
from paramiko.ssh_exception import AuthenticationException
class ExampleException(Exception): # Should be your Exception
pass
@mkeneqa
mkeneqa / mp3ytclipper.py
Last active April 8, 2021 00:37 — forked from mdiller/mp3ytclipper.py
Python script for downloading the audio of a Youtube video, clipping a certain section of it, adding a slight fade in and out, and saving the clip to a file.
#!/usr/bin/python3.5
#example usage: mp3ytclipper.py "https://www.youtube.com/watch?v=MgxK5vm6lvk" later 44.3 46.3
import sys, re, subprocess, youtube_dl, os
if len(sys.argv) != 5:
print("usage: mp3ytclipper.py <youtubeurl> <outfilename> <starttime> <endtime>")
exit()
@mkeneqa
mkeneqa / _SR_DB.mk
Created March 22, 2021 15:32 — forked from lopadz/SYNC_GIST_README.md
Sync WP Code & DB Makefile Recipe
# Specify the shell
SHELL := bash
# Site URL
OLD_URL = https://domain.test
NEW_URL = https://www.domain.com
# Commands to execute
execute:
@mkeneqa
mkeneqa / css_resources.md
Created July 23, 2014 06:20 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides