Skip to content

Instantly share code, notes, and snippets.

View samyarmodabber's full-sized avatar
🎯
Focusing

Samyar Modabber samyarmodabber

🎯
Focusing
View GitHub Profile
@ashokwork1
ashokwork1 / PY0101EN-3-1-Conditions.ipynb
Created September 1, 2019 06:41
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@omushpapa
omushpapa / directions.md
Last active August 12, 2022 21:54
Deploy Django App on Heroku

Requirements

Run pip install pipenv to install pipenv

Run pipenv shell to create an environment, if does not exist, and activate it.

Run pipenv install python_decouple whitenoise dj_database_url Pillow gunicorn May take a while.

This should create two files: Pipfile and Pipfile.lock. Keep them in the project root.

@skyzh
skyzh / index.js
Created December 23, 2017 03:21
Export Anki cards to HTML
/*
How to use?
Install Node.js and run 'npm init', than install the dependency 'lodash'.
Install the Anki addon from 'https://ankiweb.net/shared/info/1788670778', and export your deck to JSON.
Run 'node index.js', and there will be a generated 'index.html'.
*/
const _ = require('lodash');
const fs = require('fs');
@MarvinJWendt
MarvinJWendt / wordlist-german.txt
Created September 7, 2017 03:19
All german words (german wordlist).
This file has been truncated, but you can view the full file.
AA
AAA
Aachen
Aachener
Aachenerin
Aachenerinnen
Aachenern
Aacheners
Aachens
@bananaoomarang
bananaoomarang / webpack.config.js
Last active October 9, 2019 16:49
Redux Webpack Config
var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: [
'webpack-dev-server/client?http://127.0.0.1:8080/',
'webpack/hot/only-dev-server',
'./client'
],
output: {
@dwayne
dwayne / django-on-heroku.md
Created August 12, 2012 13:20
Setting up Django and Deploying to Heroku