Skip to content

Instantly share code, notes, and snippets.

View hristian-carabulea's full-sized avatar
💭
Looking for new opportunities

Hristian Carabulea hristian-carabulea

💭
Looking for new opportunities
View GitHub Profile
a = tf.Constant(1.0, dtype=tf.float32)
b = tf.Constant(3.0, dtype=tf.float32)
c = a + b
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs/dist/tf.min.js"> </script>
</head>
<body>
<p id="prediction">Prediction(100): </p>
<script>
async function run(){
const model=tf.sequential();
<!DOCTYPE html>
<html>
<head>
<!-- Load TFJS
loaded from https://github.com/tensorflow/tfjs -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs/dist/tf.min.js"> </script>
<title>Hello TFJS</title>
</head>
<body>
@hristian-carabulea
hristian-carabulea / installation_anaconda_pytorch_tensorflow.txt
Created March 9, 2019 16:18 — forked from maranemil/installation_anaconda_pytorch_tensorflow.txt
Installation Anaconda Tensorflow PyTorch Jupyter Notebook Ubuntu 18.04 Server Xfce4 VM Virtualbox
#####################################################################
#
# Installation Anaconda Tensorflow PyTorch Jupyter Notebook Ubuntu 18.04 Server Xfce4 VM Virtualbox
# https://ftp-stud.hs-esslingen.de/pub/Mirrors/releases.ubuntu.com/18.04/
#
# Install
# ubuntu-18.04.2-live-server-amd64.iso
# sudo apt update && sudo apt upgrate && sudo apt install xfce4
# 20:21 - 20:36 = 15 min ~

Installing Python 3.7.0 on Raspbian =================================

As of July 2018, Raspbian does not yet include the latest Python release, Python 3.7.0 This means we will have to build it ourselves, and here is how to do it.

  1. Install the required build-tools (some might already be installed on your system).

#/bin/bash
# Installs libfreetype6 2.8.0 into affected electron app.
# For more details ee:
# https://github.com/atom/atom/issues/15737
# https://github.com/Microsoft/vscode/issues/35675
CRT=$(dpkg-query --showformat='${Version}' --show libfreetype6)
CRT=$(echo $CRT | sed -e 's/-.*$//g')
@hristian-carabulea
hristian-carabulea / Guide.md
Last active March 14, 2018 07:11
A Guide to Software Developer Job Advertisements
Job Description Actual meaning
A fast-paced environment Your job will be constant firefighting
A market leader Recently started making a profit
Able to work with minimal spervision You'll be the one we blame when something goes wrong
An Agile team We have daily stand-ups
Dynamic environment Our leadership keeps changing priorities
Must be a team player Must not question authority
Ninja You do all the work alone
Passionate You wil