Skip to content

Instantly share code, notes, and snippets.

View ianmjones's full-sized avatar
Proudly powered by ✨ 🦄 💩 & ☕, mostly ☕

Ian M. Jones ianmjones

Proudly powered by ✨ 🦄 💩 & ☕, mostly ☕
View GitHub Profile
@stelford
stelford / flake.nix
Created November 29, 2022 01:54
Wails / Go v1.18 and Node v16
{
description = "Wails/Go v1.18.x/Node v16.x";
inputs = {
nixpkgs = {
#url = "github:NixOS/nixpkgs/22.05";
url = "github:NixOS/nixpkgs/master";
};
flake-utils = {
url = "github:numtide/flake-utils";
@psaikali
psaikali / as3cf-update_products_downloadable_files.php
Last active May 21, 2019 09:52
Process WooCommerce products and set correct downloadable files if they've been offloaded by WP Offload Media
<?php
namespace Mosaika;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Register our custom commands.
<?php
/*
Plugin Name: WP Offload S3 - Relative URL Find & Replace
Description: Find and replace relative local URLs with S3 URLs in post content after they have been uploaded to S3
Author: Delicious Brains
Version: 1.0
Author URI: https://deliciousbrains.com/
*/
add_action( 'admin_init', 'wpos3rel_find_replace' );
@i-e-b
i-e-b / Readme_NIX_OS.md
Last active July 4, 2023 16:53
/etc/nixos/configuration.nix

My experiments with an XMonad setup in NixOS. This is my work box now, so it pretty much works.

probably needs:

# useradd -m iain
# passwd iain ...
# passwd root ...
@davidgomes
davidgomes / How to change Pantheon Terminal's color scheme.md
Created March 14, 2013 16:53
How to change Pantheon Terminal's color scheme

How to change Pantheon Terminal's color scheme

Many of us spend many hours of our days using their terminal. Plus, we all have different tastes when it comes to color schemes. That's why the ability to change the color scheme of a terminal is one of its more important featuresl. Throughout this tutorial, I'll teach you how you can change the looks of your terminal, step by step.

This tutorial is aimed at elementary OS users, but it also works for any Ubuntu user. Start by installing dconf-tools:

sudo apt-get install dconf-tools

Secondly, you need to decide which theme you're going to apply. You can find dozens of terminal color schemes online, you can even design your own using this web application. Design the color scheme, hit "Get Scheme" and choose "Terminator". You'll get a raw text file with a background color, a foreground color and a palette. Those strings define your color scheme. In this tutorial, I'll post an