Skip to content

Instantly share code, notes, and snippets.

View ssmirr's full-sized avatar
:shipit:

Samim Mirhosseini ssmirr

:shipit:
View GitHub Profile
@ssmirr
ssmirr / building_tensorflow.md
Created December 8, 2019 17:12 — forked from kmhofmann/building_tensorflow.md
Building TensorFlow from source

Building TensorFlow from source

The official instructions on building TensorFlow are here: https://www.tensorflow.org/install/install_sources

Prerequisites

We are assuming a build with CUDA support, as well as including SIMD optimizations (SSE3, SSE4, AVX, AVX2, FMA), on a Debian-like system (e.g. Ubuntu Linux).

On new systems, one will have to install CUDA, CuDNN, plus the following dependencies:

@ssmirr
ssmirr / qemu-networking.md
Created December 8, 2019 04:04 — forked from extremecoders-re/qemu-networking.md
Setting up Qemu with a tap interface

Setting up Qemu with a tap interface

There are two parts to networking within QEMU:

  • The virtual network device that is provided to the guest (e.g. a PCI network card).
  • The network backend that interacts with the emulated NIC (e.g. puts packets onto the host's network).

Example: User mode network

@ssmirr
ssmirr / Vagrantfile
Created November 19, 2018 00:26
simple Vagrantfile with name and ip address
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.define "vagrant-vm" do |t|
end
@ssmirr
ssmirr / $profile.CurrentUserCurrentHost.ps
Created September 12, 2017 02:54
Windows SSH Config
# Import-Module posh-git
if ($poshGitModule) {
$poshGitModule | Import-Module
}
Start-SshAgent -Quiet