Skip to content

Instantly share code, notes, and snippets.

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
View docker_delete
#!/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 Feb 2, 2021
Diffengine Installer
View 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 Jan 10, 2019 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup
View gist:164a80c71de40ea15abbc76b15c86378

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 Apr 26, 2018
simple cloudwatch role
View 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`
View reverse_engineered_jerk_chicken
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
View keybase.md

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:

View cocoon.log
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
View upstreamgitconfig
[alias]
unstage = reset HEAD
undo-commit = reset --soft HEAD^
poh = push origin HEAD
pulloh = pull origin HEAD
set-upstream = !git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`
View deleteRemoveDockercontainers
docker ps -aq | xargs docker stop
docker ps -aq | xargs docker rm
docker volume ls -q | xargs docker volume rm
@kayiwa
kayiwa / muttrc
Last active Jan 3, 2016
Mutt Dot File
View muttrc
# 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"