Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Digimix digimix

🎯
Focusing
Block or report user

Report or block digimix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@digimix
digimix / .gitconfig
Last active Aug 21, 2019 — forked from pksunkara/.gitconfig
Sample of git config file (Example .gitconfig)
View .gitconfig
[user]
name = Digimix
email = _@gmail.com
username = _
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[sendemail]
smtpencryption = tls
@digimix
digimix / pageres-cli-list-urls.md
Last active Aug 9, 2019
Using Pageres CLI for a list or URLs
View pageres-cli-list-urls.md

Using Pageres CLI to take screen shots of a list or urls

Preface: To make things easy, create a new clean directory, cd into it. mkdir screenshots && cd screenshots

  1. Save all of your URLs to a .txt file separating each by a space or line break. ` nano urls.txt CMD + V // to paste the URLs from your clipboard CTRL + X
@digimix
digimix / git_rebase.md
Created Jul 21, 2018 — forked from ravibhure/git_rebase.md
Git rebase from remote fork repo
View git_rebase.md

In your local clone of your forked repository, you can add the original GitHub repository as a "remote". ("Remotes" are like nicknames for the URLs of repositories - origin is one, for example.) Then you can fetch all the branches from that upstream repository, and rebase your work to continue working on the upstream version. In terms of commands that might look like:

Add the remote, call it "upstream":

git remote add upstream https://github.com/whoever/whatever.git

Fetch all the branches of that remote into remote-tracking branches, such as upstream/master:

git fetch upstream

@digimix
digimix / wordpress-html-cheatsheet.md
Last active Jul 5, 2018
Quick references for using Bootstrap controlled HTML code in the WordPress editor for enterprise WordPress themes developed by Digimix.
View wordpress-html-cheatsheet.md

About

Create better landing pages in WordPress more efficiently by learining a little bit of code. This document is created for digital marketers who are ready to take their creative visions to the next level, and stop relying puring on the user intface based digital publishing platforms. We will keep this simple, focusing on frontend code that will allow you to create customized layouts based on preformatted styles available in your WordPress theme. Digimix WordPress themes are built on Bootstrap, the worlds leading frontend framework, so many of the pricinples you learn here can be applied to other websites and digital products.

Filler Content

This document uses Lorem Ipsum as placeholder content for example purposes. Any text beinging with Lorem ipsum should be replaced with your real content.

Lorum Ipsum Example

@digimix
digimix / php7.2-ppa-install-ubuntu16.md
Last active May 16, 2018
How to add PHP 7.2 to Ubuntu 16.04
View php7.2-ppa-install-ubuntu16.md

Add the PPA, updated apt-get, install php7.2.

Commands for adding php7.2 via apt-get with PPA

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.2-cli

@digimix
digimix / wordpress-php-reqs.yml
Created May 16, 2018
WordPress PHP Server Requirements by Digimix
View wordpress-php-reqs.yml
disable_default_pool: true
memcached_sessions: false
php_extensions_default:
php7.2-cli: "{{ apt_package_state }}"
php7.2-common: "{{ apt_package_state }}"
php7.2-curl: "{{ apt_package_state }}"
php7.2-dev: "{{ apt_package_state }}"
php7.2-fpm: "{{ apt_package_state }}"
php7.2-gd: "{{ apt_package_state }}"
@digimix
digimix / extract-hashtags-text-command.md
Created Mar 20, 2018
Terminal command to extract hashtags from text using pbpaste. Counts hashtags, puts them in alphabetical order, and removes duplicates.
View extract-hashtags-text-command.md

$: pbpaste | grep '#\w\+' -o | tr 'A-Z' 'a-z' | sort | uniq -c | pbcopy

Terminal command: paste, find all hashtags, convert to lowercase, sort in alphabetical order, only show uniques and also show the count how many times it was found in the list, copy the results

Works with Mac OSX

@digimix
digimix / Michael_Checkers_Announces_Partnership_with_Topman.md
Last active Mar 20, 2018
Press Release: Michael Checkers Announces Partnership with Topman for Topman Denim
View Michael_Checkers_Announces_Partnership_with_Topman.md

FOR IMMEDIATE RELEASE

Michael Checkers Announces Partnership with Topman for Topman Denim

Michael Checkers, Miami Beach, Florida, United States – March 20, 2018 – Michael Checkers today announced that he has joined the Topman Denim - A Celebration Of The Fabric We Live In campaign for Topman, a British multinational men’s fashion retailer. The Topman Denim - A Celebration Of The Fabric We Live In campaign allows men’s fashion influencers to create unique outfits that best meets their audiences style preferences. As a brand partner, Michael Checkers will create a series of men’s street style looks featuring Topman Jeans and men’s streetwear fashion trends for Spring 2018. This relationship is designed to add mutual value for current customers and to increase targeted exposure and reputation for both companies.

“Denim is a key part of my wardrobe this Spring, and the starting point for most of my street style looks. That’s why I’m excited to be partnering with Topman and styling some of the ho

@digimix
digimix / trellis-deploy-redirects-error.md
Last active Nov 28, 2017
Trellis 1st production deploy troubleshooting
View trellis-deploy-redirects-error.md

Error

Happens after deploying a Roots WordPress instance to Ubuntu vps via Trellis Ansible playbook.

` This page isn’t working

example.com redirected you too many times.

  • Try clearing your cookies. ERR_TOO_MANY_REDIRECTS
@digimix
digimix / themeup.sh
Created Aug 23, 2016 — forked from anonymous/themeup.sh
Run build sequence for Sage based WordPress theme from theme dir.
View themeup.sh
#!/bin/bash
# Initiating Digimix theme setup
echo "Initiating Digimix theme setup"
# install node modules
echo "install node modules"
npm install
# install bower components
You can’t perform that action at this time.