ffmpeg -y -i input.mp3 -loop 1 -i background.png -filter_complex "[0:a]showwaves=s=1520x200:mode=line:colors=Red:draw=full,colorchannelmixer=1:0:0:0:0:1:0:0:0:0:1:0:1:1:1:0[v];[1:v][v]overlay=200:900[outv]" -map "[outv]" -pix_fmt yuv420p -map 0:a -c:v libx264 -c:a copy -shortest output-audio-visualisation.mp4
title: Setting Up Laravel in Ubuntu / DigitalOcean keywords: servers, laravel, coderstape, coder's tape description: Let's take a look at settting up a server from scratch for Laravel. date: April 1, 2019 tags: servers, laravel permalink: setting-up-laravel-in-ubuntu-digitalocean img: https://coderstape.com/storage/uploads/GZTXUbyGum2xeUZM9qBD5aPv8EKLwG3C8RGcRon4.jpeg author: Victor Gonzalez authorlink: https://github.com/vicgonvt
Cian Johnston, July 2017
A couple of weeks ago, I decided I should put my gaming rig to work crypto mining. I did not expect to make any significant profit on this, it was more of a fun project to set up. However, there were a large number of tutorials and guides already out there, and many were more than a year out of date.
This guide assumes the reader already has a crypto wallet set up, is comfortable with Linux and the command line, and knows how to use Google if they run into problems.
The end result is an Ubuntu 16.04 LTS headless server running CUDA ethminer via systemd.
<?php // Mind this opening PHP tag | |
/** | |
* Adds hidden content to admin_footer, then shows with jQuery, and inserts after welcome panel | |
* | |
* @author Ren Ventura <EngageWP.com> | |
* @see http://www.engagewp.com/how-to-create-full-width-dashboard-widget-wordpress | |
*/ | |
add_action( 'admin_footer', 'rv_custom_dashboard_widget' ); | |
function rv_custom_dashboard_widget() { |
On mac:
- Download the latest release.
- Extract the binary and place it in
/usr/local/bin
.
This post outlines a way to use Sass, Compass, and Grunt to maintain stylesheets for a WordPress parent and child theme.
Sass is useful for many reasons, but for our purposes, the two most helpful features are partials and variables. We'll also take advantage of the importPath
setting of Compass and Grunt.
Comments and improvements are always welcome.
Create a new Compass project in your theme and style away. When you're finished, your theme directory (called parent
here) might look something like this:
#!/usr/bin/php | |
<?php | |
/* | |
* Convert JSON file to CSV and output it. | |
* | |
* JSON should be an array of objects, dictionaries with simple data structure | |
* and the same keys in each object. | |
* The order of keys it took from the first element. | |
* | |
* Example: |
/** @description | |
* javaScript/Google Apps script functions that are equivalent to common VBA functions | |
* in general these provide the same functionality and have the same calling stack | |
* See http://ramblings.mcpher.com/Home/excelquirks/codeuse for more details | |
* @author <a href="mailto:[email protected]">Bruce McPherson</a><a href="http://ramblings.mcpher.com"> ramblings.mcpher.com</a> | |
*/ | |
/** | |
* Removes leading and trailing whitespace | |
* @param {string|number} v the item to be trimmed |