Skip to content

Instantly share code, notes, and snippets.

View lamoboos223's full-sized avatar
:shipit:

Lama lamoboos223

:shipit:
  • Saudi Arabia
View GitHub Profile
@andyvanee
andyvanee / README.md
Last active October 27, 2024 22:38
GoDaddy + LetsEncrypt Certificate Installation

GoDaddy + LetsEncrypt Certificate Installation

Valid as of September 2020

note: if you have shell access and want to automatically renew, follow the steps on this page instead

Much of the current documentation on this from LetsEncryt and Godaddy suggests that this is a very hard thing to do - but I'm okay with spending 10 minutes every 2-3 months for a free, quality SSL certificate. If you are too, here's how I do it.

Windows 10 - Using Git Bash With TMUX

Why Not Use WSL?

I tried the WSL and it isn't quite seamless enough for me. I ran in to problems when editing in VSCode and having watchers on my files (ng serve, dotnet watch run, etc.). In addition, I kept running in to problems that only manifest themselves when running in WSL. For example, this issue with doing production builds and the terser plugin has made many a developer rage-quit on using WSL. Just figuring out that it was an issue with the WSL took a lot of time.

That terser plugin issue was never resolved and I ended up having to keep a git bash window open in addition to my WSL console window so I could do production builds. To make matters worse, my npm packages were platform-dependent so I couldn't use the same project folder. So, my procedure was: commit whatever changes to test branch, push to repo, git pull on my "windows" project folder, and do a production build there

@bhatikuldeep
bhatikuldeep / logstash-sample.conf
Created February 26, 2019 08:32
Sample Logstash Configuration File - to log messages from Apigee Edge to ELK stack
input {
tcp {
port => 5044
type => syslog
}
}
filter {
mutate {
gsub => [
"message", "[\u0000]", ""
@truh
truh / rpi0-w_network-manager.md
Created February 21, 2018 10:21
Notes on how to use Network Manager on a headless Raspberry Pi Zero W

Network Manager on headless RPi0 W

Installation

  • Update system
sudo apt update
sudo apt upgrade
@adamar
adamar / client.py
Created April 6, 2017 06:37
Simple Websocket Client & Server Example (Python)
import websocket
import thread
import time
import sys
port = sys.argv[1]
def on_message(ws, message):
@kaleksandrov
kaleksandrov / global-protect.sh
Last active November 13, 2024 15:20
Simple script that starts and stops GlobalProtect.app on Mac OSX.
#!/bin/bash
case $# in
0)
echo "Usage: $0 {start|stop}"
exit 1
;;
1)
case $1 in
start)
@rxaviers
rxaviers / gist:7360908
Last active November 15, 2024 09:13
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: