Skip to content

Instantly share code, notes, and snippets.

View aneutron's full-sized avatar
🐢
Learning stuff and breaking things

Ayoub Boudhar aneutron

🐢
Learning stuff and breaking things
View GitHub Profile
@aneutron
aneutron / channels.m3u
Created July 12, 2021 13:43
Publicly accessible IPTV channels, mixed to match my preferences
#EXTM3U
#EXTINF:-1 tvg-id="2MMaroc.ma" tvg-name="2M Maroc" tvg-country="MA" tvg-language="Arabic" tvg-logo="" group-title="General",2M Maroc
http://149.100.19.226:8001/play/2M_Maroc
#EXTINF:-1 tvg-id="2MMonde.ma" tvg-name="2M Monde" tvg-country="MA" tvg-language="Arabic;French" tvg-logo="https://i.imgur.com/CwwRn4b.png" group-title="General",2M Monde (360p)
https://cdnamd-hls-globecast.akamaized.net/live/ramdisk/2m_monde/hls_video_ts/2m_monde.m3u8
#EXTINF:-1 tvg-id="3eeshAlAanTV.ae" tvg-name="3eesh Al Aan TV" tvg-country="ARAB" tvg-language="Arabic" tvg-logo="https://www.3eeshalaan.net/wp-content/themes/alaan-child-3eesh/assets/img/logo.png" group-title="General",3eesh Al Aan TV
https://streaming.3eeshalaan.net/AAAFinalFeed/AlAanFeed_live.m3u8
#EXTINF:-1 tvg-id="AbuDhabiDrama.ae" tvg-name="Abu Dhabi Drama" tvg-country="ARAB" tvg-language="Arabic" tvg-logo="https://i.imgur.com/7Bx66K7.jpg" group-title="General",Abu Dhabi Drama (1080p)
https://admdn5.cdn.mangomolo.com/drama/smil:drama.stream.smil/playlist.m3u8

Keybase proof

I hereby claim:

  • I am aneutron on github.
  • I am ayoubboudhar (https://keybase.io/ayoubboudhar) on keybase.
  • I have a public key ASD9ImLnP18tu6Y8HWASYi695b2N-Pl6LWFBnuscmmn1kgo

To claim this, I am signing this object:

@aneutron
aneutron / linuxNvidia_guide.md
Created March 19, 2019 12:15 — forked from s41m0n/linuxNvidia_guide.md
This guide is supposed to help people experiencing problems with the Nvidia dedicated graphic card management.

Linux - Nvidia switchable setup guide

The aim of this guide is to provide a working strategy to make your dedicated graphic card turn on/off correctly in a Linux environment (with xorg).

The following scripts have been created by tyrells and this guide is a remake of Graff's one.

Required Packages

The following two packages are stricly required:

@aneutron
aneutron / compress-pdf-with-gs.md
Created February 9, 2019 10:28 — forked from guifromrio/compress-pdf-with-gs.md
Compress PDF files with ghostscript

This can reduce files to ~15% of their size (2.3M to 345K, in one case) with no obvious degradation of quality.

ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

Other options for PDFSETTINGS:

  • /screen selects low-resolution output similar to the Acrobat Distiller "Screen Optimized" setting.
  • /ebook selects medium-resolution output similar to the Acrobat Distiller "eBook" setting.
  • /printer selects output similar to the Acrobat Distiller "Print Optimized" setting.
  • /prepress selects output similar to Acrobat Distiller "Prepress Optimized" setting.
@aneutron
aneutron / audit.rules
Created October 31, 2018 10:13 — forked from Neo23x0/audit.rules
Linux Auditd Best Practice Configuration
# IMPORTANT!
# This gist has been transformed into a github repo
# You can find the most recent version there:
# https://github.com/Neo23x0/auditd
# ___ ___ __ __
# / | __ ______/ (_) /_____/ /
# / /| |/ / / / __ / / __/ __ /
# / ___ / /_/ / /_/ / / /_/ /_/ /
# /_/ |_\__,_/\__,_/_/\__/\__,_/
@aneutron
aneutron / sus_posix_infos.txt
Created March 5, 2018 00:35 — forked from u1735067/sus_posix_infos.txt
Notes about POSIX & Single Unix Specification
Infos
https://en.wikipedia.org/wiki/Single_UNIX_Specification
https://github.com/geoff-codes/posix-unix-standard
https://mywiki.wooledge.org/POSIX
Single Unix Specification, SUS (T101) = "Base Specifications" POSIX-2008 (C165) (+ X/Open Curses (C094)) (??)
http://www.cse.psu.edu/~deh25/cmpsc311/Lectures/Standards/PosixStandard.html
"SUS"
https://publications.opengroup.org/t101
http://pubs.opengroup.org/onlinepubs/9699919799/
-- phpMyAdmin SQL Dump
-- version 4.0.10deb1
-- http://www.phpmyadmin.net
--
-- Client: localhost
-- Généré le: Jeu 01 Mars 2018 à 09:28
-- Version du serveur: 5.5.50-0ubuntu0.14.04.1-log
-- Version de PHP: 5.5.9-1ubuntu4.19
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

@aneutron
aneutron / x.md
Created December 23, 2017 22:21 — forked from vjeux/x.md
Ocaml / functional programming

I'm taking down this post. I just posted this as a side comment to explain a sentence on my latest blog post. This wasn't meant to be #1 on HN to start a huge war on functional programming... The thoughts are not well formed enough to have a huge audience. Sorry for all the people reading this. And please, don't dig through the history...

h1. Microsoft Azure
Groups 8 and 14.
h2. For the database
|_. Type Name |_. VCPUs |_. RAM (GB) |_. Disk (GB) |_. Cost (Euro) |_. 1 YEAR RESERVED[% SAVINGS] |_. 3 YEAR RESERVED[% SAVINGS] |
|_.Type A|=.4|=.8|=.500||||
|=.A4 v2|=.4|=.8|=.40|=.112,97€/mois|||
|=.A3|=.4|=.7|=.120|=.125,93€/mois|||
|=.D4 v3|=.4|=.16|=.100|=.128,16€/mois|=.94,10 €/mois (~36%)|=.64,82 €/mois (~56% SAVINGS)|