Skip to content

Instantly share code, notes, and snippets.

View nodari-l's full-sized avatar

Nodari L nodari-l

View GitHub Profile
@nodari-l
nodari-l / checklist.md
Created May 3, 2021 10:30 — forked from xdralex/checklist.md
ML/DL/CS Checklist

Deep Learning

concepts

  • forward and backward propagation
  • vanishing gradient
  • image convolution operation
  • feature map, filter/kernel
  • receptive field
  • embedding
  • translation invariance
function virtualenv_info(){
# Get Virtual Env
if [[ -n "$VIRTUAL_ENV" ]]; then
# Strip out the path and just leave the env name
venv="${VIRTUAL_ENV##*/}"
else
# In case you don't have one activated
venv=''
fi
[[ -n "$venv" ]] && echo "($venv)"
@nodari-l
nodari-l / recover_source_code.md
Created March 22, 2017 11:48 — forked from simonw/recover_source_code.md
How to recover lost Python source code if it's still resident in-memory

How to recover lost Python source code if it's still resident in-memory

I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6

Attach a shell to the docker container

Install GDB (needed by pyrasite)

apt-get update && apt-get install gdb
@nodari-l
nodari-l / react_template.html
Created February 5, 2017 12:55
React, Bootstrap, jQuery template
<!DOCTYPE html>
<html>
<head>
<title>React template</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<div id="container"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.3.1/react.js"></script>
#include <algorithm>
#include <sstream>
#include <iostream>
#include <string>
#include <vector>
#include <iterator>
#include <list>
#include <stack>
#include <map>
#include <unordered_map>
{
"auto_complete": false,
"color_scheme": "Packages/User/Kary Foundation - Light.tmtheme",
"detect_indentation": true,
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
".*",
"*.pyc",
"*.class",