Skip to content

Instantly share code, notes, and snippets.

View smaboshe's full-sized avatar

Silumesii Maboshe smaboshe

View GitHub Profile
@smaboshe
smaboshe / countries
Last active January 6, 2022 14:24 — forked from kalinchernev/countries
Plain text list of countries
Afghanistan
Albania
Algeria
Andorra
Angola
Antigua and Deps
Argentina
Armenia
Australia
Austria
TASK [Stouts.backup : Install duplicity] ***************************************
System info:
Ansible 2.3.1.0; Vagrant 1.9.7; Linux
Trellis at "Option to install WP-CLI packages"
---------------------------------------------------
MODULE FAILURE
Traceback (most recent call last):
File "/tmp/ansible_it6scr/ansible_module_apt.py", line 239, in <module>
from ansible.module_utils.urls import fetch_url
File "/tmp/ansible_it6scr/ansible_modlib.zip/ansible/module_utils/urls.py",
@smaboshe
smaboshe / could_not_find_package.txt
Created October 13, 2014 12:58
Could not find WP Packagist Package
$ composer require wpackagist-theme/twentyfourteen
[InvalidArgumentException]
Could not find package wpackagist-theme/twentyfourteen at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [packages1] ... [packagesN]
@smaboshe
smaboshe / error.txt
Last active April 20, 2022 21:10
locale error running `sudo do-release-upgrade`
$ sudo do-release-upgrade # Trying to upgrade from Ubuntu LTS 12.04 to 14.04
Checking for a new Ubuntu release
ERROR:root:gedefaultlocale() failed
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/UpdateManager/Core/utils.py", line 353, in get_lang
(locale_s, encoding) = locale.getdefaultlocale()
File "/usr/lib/python2.7/locale.py", line 503, in getdefaultlocale
return _parse_localename(localename)
File "/usr/lib/python2.7/locale.py", line 435, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
@smaboshe
smaboshe / en.yml
Last active August 29, 2015 14:03
Variable substitution doesn't work inside a YAML block
# Variable substitution works here
foo: "The quick brown %{ animal } jumped over the lazy dog"
# Variable substitution done not work here
# Instead, "%{ animal }" gets rendered
bar: |
The quick
brown %{ animal }
jumped over
the lazy dog
@smaboshe
smaboshe / error.txt
Last active August 29, 2015 14:02
Problem adding the Android platform to a Cordova project
$ cordova platform add android
Creating android project...
/home/maximo/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:126
throw e;
^
Error: An error occurred while listing Android targets
at /home/maximo/.cordova/lib/android/cordova/3.5.0/bin/lib/check_reqs.js:87:29
at _rejected (/home/maximo/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:808:24)
at /home/maximo/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:834:30
@smaboshe
smaboshe / problems_installing_ledger.txt
Last active August 29, 2015 14:01
Problems installing Ledger 3 on Ubuntu 12.04 (Desktop)
Encountered after following the steps to install this PPA for Ledger 3:
https://launchpad.net/~mbudde/+archive/ledger
$ sudo apt-get install ledger
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
@smaboshe
smaboshe / countries.md
Last active December 31, 2015 03:29
Countries of Africa
@smaboshe
smaboshe / sites.md
Last active December 30, 2015 11:59
Sites I suddenly cannot access with iConnect Internet (Zambia) - http://www.iconnect.zm