Skip to content

Instantly share code, notes, and snippets.

View Jiab77's full-sized avatar
🤖
Search, Hack and Dev

Doctor Who Jiab77

🤖
Search, Hack and Dev
View GitHub Profile
@Jiab77
Jiab77 / virt-manager.md
Last active August 12, 2021 23:04
Virt-Manager Installation (for ubuntu based distrib)

Virt-Manager Installation (for ubuntu based distrib)

This gist will give you all installation steps needed to install properly virt-manager with all dependencies.

Dependencies

Here is the list of all dependencies required to install properly virt-manager on your ubuntu based distrib.

  • libvirt-bin
  • qemu
@Jiab77
Jiab77 / v8js.md
Last active January 11, 2017 10:29
v8js compilation for Raspberry Pi 3 Model B

v8js compilation for Raspberry Pi 3 Model B

The reason of this work is that I'm currently working on a web project which require latest web technology. One of these technologies is PHP/v8js.

Dependencies

sudo apt install build-essential chrpath re2c clang-dev git git-doc
@Jiab77
Jiab77 / viewport.js
Last active January 6, 2017 22:09 — forked from bohman/viewport.js
jQuery get viewport size
// -----------
// Debugger that shows view port size. Helps when making responsive designs.
// -----------
function showViewPortSize(display) {
if(display) {
var height = window.innerHeight;
var width = window.innerWidth;
jQuery('body').prepend('<div id="viewportsize" style="z-index:9999;position:fixed;bottom:0px;left:0px;color:#fff;background:#000;padding:10px">Height: '+height+'<br>Width: '+width+'</div>');
jQuery(window).resize(function() {
height = window.innerHeight;
@Jiab77
Jiab77 / tripwire.md
Last active November 4, 2018 22:06
Tripwire install on ubuntu 16.04

Tripwire Install on Ubuntu 16.04

Download

sudo apt install tripwire

Reply to every questions when asked.

@Jiab77
Jiab77 / ffmpeg.md
Last active August 9, 2022 21:40
Compilation FFMpeg / NVENC + QSV + VAAPI + VDPAU + OpenCL

Compilation FFMpeg / NVENC + NVRESIZE + QSV + VAAPI + VDPAU + OpenCL

nVidia nvresize patch is outdated and not more compatible to the latest version of FFmpeg, so it's not included in this documentation.

(even if I've passed a lot of time at trying to make it compile... without any success)

Please don't rely on this page: https://developer.nvidia.com/ffmpeg, the implementation is a hack and was never been added to the main FFmpeg tree.

See: