Skip to content

Instantly share code, notes, and snippets.


Maqbool m13m

View GitHub Profile

sudo certbot --server -d * --manual --preferred-challenges dns-01 certonly

m13m /
Created May 30, 2019 — forked from protrolium/
using ffmpeg to extract audio from video files


Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:



sudo dnf install openssh-server.x86_64 openssh-clients.x86_64

m13m / Useful Linux
Last active Sep 18, 2018
Linux Commands List which are useful but I always forget to use them
View Useful Linux
  1. strip - Discard symbols from object files. (lesser size)

  2. socat - Multipurpose relay (SOcket CAT)

  3. file — determine file type

  4. du - estimate file space usage

  5. readelf - Displays information about ELF files

View minscalaactors.scala
Copyright 2012 Viktor Klang
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
m13m /
Created Jul 17, 2018 — forked from swalkinshaw/
Designing a GraphQL API

Tutorial: Designing a GraphQL API

This tutorial was created by Shopify for internal purposes. We've created a public version of it since we think it's useful to anyone creating a GraphQL API.

It's based on lessons learned from creating and evolving production schemas at Shopify over almost 3 years. The tutorial has evolved and will continue to change in the future so nothing is set in stone.

m13m /
Created May 27, 2018 — forked from nadavrot/
Efficient matrix multiplication

High-Performance Matrix Multiplication

This is a short post that explains how to write a high-performance matrix multiplication program on modern processors. In this tutorial I will use a single core of the Skylake-client CPU with AVX2, but the principles in this post also apply to other processors with different instruction sets (such as AVX512).


Matrix multiplication is a mathematical operation that defines the product of


LambdaConf Travel Notes

The missing manual!

Anyway… The first thing you should know is that you're not the only one who couldn't fly into Boulder directly. Denver International Airport is the closest and only major airport associated with Boulder. It's only about 50 miles away from Boulder, so that's not too much of a hardship, especially since transit connections are so good (more on this in a bit).

The next thing you should know is that Denver International Airport (DIA) is not actually in Denver. DIA is slightly closer to Denver than it is to Boulder, but honestly not by that much. So if you were planning on taking advantage of your flight into "Denver" to site-see in the city… uh, that's probably not going to happen. In any event, while Denver is quite nice, Boulder is better in almost every detail except its lack of skyscrapers.

Denver (for… reasons)

You can’t perform that action at this time.