Skip to content

Instantly share code, notes, and snippets.

@shaybensasson
shaybensasson / install_lyx_hebrew.sh
Created November 12, 2020 16:09 — forked from mickey946/install_lyx_hebrew.sh
Installation script for LyX to work with Hebrew on Ubuntu.
#!/bin/sh
sudo apt-get install lyx culmus culmus-fancy texlive-lang-other
wget https://sourceforge.net/projects/ivritex/files/culmus-latex/culmus-latex-0.7/culmus-latex_0.7-1_all_fixed.deb/download -O culmus-latex_0.7-1_all_fixed.deb
sudo dpkg -i culmus-latex_0.7-1_all_fixed.deb
sudo apt-get install -f
rm -f culmus-latex_0.7-1_all_fixed.deb
@shaybensasson
shaybensasson / docker-compose.yml
Created November 6, 2020 08:20 — forked from adamelliotfields/docker-compose.yml
Docker Compose Mongo with Mongo Express
version: "3.5"
services:
mongo:
image: mongo:latest
container_name: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: admin
ports:
@shaybensasson
shaybensasson / pprint_color.py
Last active March 16, 2021 08:18 — forked from EdwardBetts/pprint_color.py
Python pprint with color syntax highlighting for the console (adapted for python3.6)
from pprint import pformat
from pygments import highlight
from pygments.formatters.terminal256 import Terminal256Formatter
from pygments.lexers.python import PythonLexer
def pprint_color(obj):
print(highlight(pformat(obj), PythonLexer(), Terminal256Formatter()))
@shaybensasson
shaybensasson / keras_models.md
Created March 21, 2020 09:14 — forked from candlewill/keras_models.md
A collection of Various Keras Models Examples

Keras Models Examples

一系列常用模型的Keras实现

DNN

Multilayer Perceptron (MLP) for multi-class softmax classification

from keras.models import Sequential
@shaybensasson
shaybensasson / gmail-permalink
Created July 14, 2015 18:57 — forked from superstrong/gmail-permalink
[Browser bookmarklet] To generate a permalink to a Gmail message: (1) Open the email (2) Click "Show original (3) Run bookmarklet. You can share the search query (useful for when either party is logged into more than one Gmail account) or share the browser URL. Source: http://stackoverflow.com/questions/16827485/using-gmail-message-source-genera…