Skip to content

Instantly share code, notes, and snippets.

Avatar
✌️
Hello!

Maqbool m13m

✌️
Hello!
View GitHub Profile
View letsencrypt.md

sudo certbot --server https://acme-v02.api.letsencrypt.org/directory -d *.example.com --manual --preferred-challenges dns-01 certonly

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

ffmpeg

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:

View openssh-Fedora.md

#Packages

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

@m13m
m13m / Useful Linux commands.md
Last active Sep 18, 2018
Linux Commands List which are useful but I always forget to use them
View Useful Linux commands.md
  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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@m13m
m13m / tutorial.md
Created Jul 17, 2018 — forked from swalkinshaw/tutorial.md
Designing a GraphQL API
View tutorial.md

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
m13m / Matrix.md
Created May 27, 2018 — forked from nadavrot/Matrix.md
Efficient matrix multiplication
View Matrix.md

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).

Intro

Matrix multiplication is a mathematical operation that defines the product of

View lambda-conf-travel-notes.md

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.