Skip to content

Instantly share code, notes, and snippets.

{
"editor.accessibilitySupport": "off",
"editor.fontSize": 13,
"editor.minimap.enabled": false,
"editor.renderWhitespace": "boundary",
"editor.scrollBeyondLastLine": false,
"editor.linkedEditing": true,
"terminal.integrated.env.osx": {
"FIG_NEW_SESSION": "1"
},
@danielpaz6
danielpaz6 / .prettierrc
Last active January 8, 2021 12:56
Airbnb linter + prettier
{
"arrowParens": "avoid",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 100,
"proseWrap": "always",
"quoteProps": "as-needed",
"semi": true,
"singleQuote": true,
@danielpaz6
danielpaz6 / settings.json
Last active January 19, 2021 10:53
VSC Setup
{
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
// "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.iconTheme": "material-icon-theme",
"liveServer.settings.donotShowInfoMsg": true,
"window.zoomLevel": 0,
"emmet.showSuggestionsAsSnippets": true,
"emmet.triggerExpansionOnTab": true,
@danielpaz6
danielpaz6 / settings.json
Created October 14, 2020 15:13
My Windows Terminal Setup + Theme
// This file was initially generated by Windows Terminal 1.2.2381.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@danielpaz6
danielpaz6 / dqn.ipynb
Created March 2, 2020 14:29
Deep Reinforcement Learning - A.I. learns to play CartPole Game using PyTorch
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danielpaz6
danielpaz6 / embedding.ipynb
Created February 24, 2020 22:47
Deep Learning - Prediction based on Embedding Representation
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danielpaz6
danielpaz6 / NN_Optimizations.ipynb
Created February 24, 2020 21:20
NN_Optimization_Algorithms
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danielpaz6
danielpaz6 / Fashion_MNIST_CNN.ipynb
Created February 24, 2020 20:43
Fashion_MNIST_CNN
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danielpaz6
danielpaz6 / DL_NN.ipynb
Last active February 24, 2020 21:41
Deep Learning - Neural Network Implementation
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danielpaz6
danielpaz6 / generator.py
Last active July 22, 2019 12:46
When I started building my LinkedIn profile, I came upon a dilemma which background image to add. And I remember that for a long time I thought and looked for a background picture that would try to convey my message of creativity, rigor and passion for the world of programming and high-tech. And after a few days I came to the conclusion that the…
import random
from PIL import Image, ImageEnhance
import requests
from io import BytesIO
width_count = 18;
height_count = 5;
offsetx = -5;
offsety = -5;