Skip to content

Instantly share code, notes, and snippets.

@kmix
kmix / compile-and-install-freeswitch-1.10.x-on-ubuntu-24.04.md
Last active April 11, 2025 08:57
Install FreeSWITCH 1.10.x on Ubuntu 24.04 LTS

Installing FreeSWITCH 1.10.11 on Ubuntu 24.04 LTS

Based on https://gist.github.com/cyrenity/96cc1ad7979b719b1c684f90aa0f526d with the following changes:

  • Updated for Ubuntu 24.04
  • Doesn't install the signalwire client
  • Doesn't install mod_av

Introduction

FreeSWITCH is a software defined telecom stack that runs on any commodity hardware. FreeSWITCH can handle voice, video, and text communication and support all popullar VoIP protocols. FreeSWITCH is flexible and modular, and can be used in any way you can imagine.

@romainl
romainl / Don't use Vim.md
Last active December 23, 2024 12:53
Don't use Vim for the wrong reasons

Don't use Vim

Don't do the crime, if you can't do the time.

-- Anthony Vincenzo "Tony" Baretta

Vim is an amazing text editor. I love it. Really, I wouldn't [organize][organize] a Vim advent calendar if I didn't. But, as amazing as it is, Vim is not for everyone. It can't solve all your problems, or be a TUI version of your favorite IDE, or make you a better programmer, or land you that dream job in the Bay Area. But Vim can help you be more mindful, focused, and efficient, as long as you approach it with the right mindset.

Don't get me wrong, I certainly welcome you to try Vim, but I'm not a proselyte. I don't thrive on newbies. I just want you to use the right tool for the job and not waste your—and anyone's—time on a fruitless quest.

$ sudo apt-get update
$ sudo apt-get install unzip wget
$ wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
$ unzip ngrok-stable-linux-amd64.zip
$ sudo mv ./ngrok /usr/bin/ngrok
$ ngrok
@rohmanhm
rohmanhm / puppeteer.d.ts
Last active February 7, 2023 12:10
Puppeteer Definition Types for Typescript
declare module 'puppeteer' {
export interface ConnectOptions {
browserWSEndpoint?: string
// a browser websocket endpoint to connect to
ignoreHTTPSErrors?: boolean
// Whether to ignore HTTPS errors during navigation. Defaults to `false`
}
export interface LaunchOptions {
ignoreHTTPSErrors?: boolean
@rougeth
rougeth / ubuntu-post-install.sh
Last active May 30, 2021 17:24
A post-installation bash script for Ubuntu (13.10)
#!/bin/bash
#
# Ubuntu post-install script
#
# Author:
# Marco Rougeth <[email protected]>
#
# Description:
# A post-installation bash script for Ubuntu (13.10)
#