Skip to content

Instantly share code, notes, and snippets.

View kechkibet's full-sized avatar
🦁
Focusing

kechkibet

🦁
Focusing
View GitHub Profile
@kechkibet
kechkibet / 0_reuse_code.js
Last active August 29, 2015 14:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@kechkibet
kechkibet / supervisord.service
Created July 6, 2020 18:55 — forked from tonyseek/supervisord.service
Running supervisord with systemd.
[Unit]
Description=supervisord - Supervisor process control system for UNIX
Documentation=http://supervisord.org
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/supervisord -c /etc/supervisord.conf
ExecReload=/usr/bin/supervisorctl reload
ExecStop=/usr/bin/supervisorctl shutdown
apiVersion: v1
kind: Endpoints
metadata:
name: gluster-cluster
subsets:
- addresses:
- ip: 192.168.1.60
ports:
- port: 1
protocol: TCP
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kechkibet
kechkibet / fedora-25-reso-hyper-v.md
Created September 12, 2021 16:29 — forked from romeosierra1/fedora-25-reso-hyper-v.md
Change Fedora 25 resolution on Hyper-V
  • Open Terminal sudo vi /etc/default/grub
  • Add following line in end GRUB_CMDLINE_LINUX="… quiet splash video=hyperv_fb:1920x1080"
  • Update file
  • Run on terminal sudo grub2-mkconfig -o /boot/grub2/grub.cfg
  • Reboot Virtual Machine

OR

@kechkibet
kechkibet / deck_of_cards.json
Created September 24, 2021 18:10 — forked from darthneel/deck_of_cards.json
JSON structure for a standard playing card deck
[
{
"suit": "hearts",
"value": 2
},
{
"suit": "hearts",
"value": 3
},
{