Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View kayiwa's full-sized avatar
💭
never gonna git u up never gonna git u down, never gonna turn around and reset u

Francis Kayiwa kayiwa

💭
never gonna git u up never gonna git u down, never gonna turn around and reset u
View GitHub Profile
@kayiwa
kayiwa / gist:39835927587b82d0ee4f8c005ddcc40d
Created October 9, 2022 17:21
digitalocean_mongodb_debug
# playbook with tasks to create mongodb on digital ocean
- name: deploy mongo on digital ocrean
hosts: localhost
connection: local
gather_facts: false
tasks:
- name: d_ocean | create mongodb database
ansible.builtin.command: doctl databases create db-demo --region sfo3 --engine mongodb --version 5 --output json
async: 1800
poll: 60
#!/bin/bash
docker ps -aq | xargs docker stop
docker ps -aq | xargs docker rm
docker volume ls -q | xargs docker volume rm
docker rmi $(docker images -q)
@kayiwa
kayiwa / diffengine_installer
Last active February 2, 2021 13:07
Diffengine Installer
## install phantom JS (#ref https://tecadmin.net/install-phantomjs-on-ubuntu/)
* As superuser capable account do the following
```
sudo -s
sudo apt -y update
sudo apt -y install build-essential chrpath libssl-dev libxft-dev
sudo apt -y install libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
sudo ln -sf /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
@kayiwa
kayiwa / gist:164a80c71de40ea15abbc76b15c86378
Created January 10, 2019 17:07 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@kayiwa
kayiwa / cloudwatch_role
Last active April 26, 2018 16:11
simple cloudwatch role
`group_vars/log.yml`
---
log:
- file: /var/log/syslog
format: "%b %d %H:%M:%S"
group_name: syslog
cloudwatch_logs_region: us-east-1
`roles/installer/files/awslogs.service`
I had Jerk sauce from Jamaica and I reverse engineered the ingredients and have stuck with this.
### Ingredients
1 lime or lemon
8 chicken legs or 2 ½ - 3-pound chicken cut up
2 teaspoons creole seasoning
1 or more Habaneros
6 garlic cloves, chopped
½ tablespoon cinnamon powder
½ tablespoon allspice coarsely ground
docker ps -aq | xargs docker stop
docker ps -aq | xargs docker rm
docker volume ls -q | xargs docker volume rm

Keybase proof

I hereby claim:

  • I am kayiwa on github.
  • I am kayiwa (https://keybase.io/kayiwa) on keybase.
  • I have a public key ASDiO4G2fAKXyi1KDN5zqYUNhcgU4CrQM0iStI3SmFXkTAo

To claim this, I am signing this object:

@kayiwa
kayiwa / muttrc
Last active January 3, 2016 05:39
Mutt Dot File
# Me
set from = "you@gmail_or_your_domain.com"
set realname = "Francis Kayiwa"
# My credentials
set smtp_url = "smtp://you@gmail_or_your_domain.com@smtp.gmail.com:465/"
set smtp_pass = "password"
set imap_user = "you@gmail_or_your_domain.com"
set imap_pass = "password"
2015-07-24 12:33:15,514 INFO org.apache.cocoon.caching.impl.CacheImpl - Cache HIT for PK_G-aspect-cocoon://DRI/9/?pipelinehash=823411183535858997_T-Navigation-3684586013171328553_T-Include-resource://aspects/ViewArtifacts/dspace-home.xml_T-Include-file:///dspace/config/news-xmlui.xml
2015-07-24 12:33:15,515 INFO org.apache.cocoon.caching.impl.CacheImpl - Cache HIT for PK_G-aspect-cocoon://DRI/8/?pipelinehash=4961881493603249564_T-Navigation-3684586013171328553_T-CommunityBrowser-578614924677317992
2015-07-24 12:33:15,542 INFO org.apache.cocoon.caching.impl.CacheImpl - Cache HIT for PK_G-aspect-cocoon://DRI/7/?pipelinehash=-5923365221909800837_T-Navigation-3684586013171328553_T-SidebarFacetsTransformer-0_T-FrontPageFeeds-1_T-SiteRecentSubmissions-0
2015-07-24 12:33:15,586 INFO org.apache.cocoon.caching.impl.CacheImpl - Cache HIT for PK_G-aspect-cocoon://DRI/6/?pipelinehash=-3559454669997229774_T-SystemwideAlerts-1_T-Navigation--5367372201529954577
2015-07-24 12:33:15,586 INFO org.apache.cocoon.caching