npm init -y
Create a folder called src and add an empty index.js file. The code that webpack compiles goes in here including any Javascript modules and the main Tailwind file.
import pandas as pd | |
df = pd.read_csv('large_file.csv') | |
n = 49000 # Max number of rows you want each chunk to have | |
chunks = [df[i:i+n].copy() for i in range(0,df.shape[0],n)] | |
k = 1 | |
for chunk in chunks: | |
chunk.to_csv('data/chunk_{}.csv'.format(k), index=False) |
@font-face { | |
font-family: "Fira Code Nerd Font"; | |
font-style: normal; | |
font-weight: 200; | |
src: url('https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/FiraCode/Light/complete/Fura%20Code%20Light%20Nerd%20Font%20Complete.ttf') format('truetype'); | |
font-variant-ligatures: none; | |
} | |
@font-face { | |
font-family: "Fira Code Nerd Font"; | |
font-style: normal; |
Host github.com-jiggneshhgohel
HostName github.com
User git
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_work_gmail
AddKeysToAgent yes
Host csexperimental.abc.com
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
Git Hubflow Workflow: | |
Sync Branch: | |
git hf update - this will update master and develop and sync remote branches with local ones (be sure not to put commits into develop or master as it will push these up) | |
git hf push - this will push your commits in your local branch to the matching remote branch | |
git hf pull - this will pull the remote commits into your local branch (don't use if the remote branch has been rebased - use git pull origin "your-branch" instead) | |
Feature Branch: | |
gif hf feature start "my-feature" - this will create a feature branch on origin and local will be based off the latest develop branch (make sure to git hf update before or you will get an error if local develop and remote develop have divereged) | |
git hf feature finish "my-feature" - this will delete the local and remote branches (only do this after a PR has been merged) |
#!/usr/bin/env python | |
""" | |
LICENSE http://www.apache.org/licenses/LICENSE-2.0 | |
""" | |
import argparse | |
import datetime | |
import sys | |
import time | |
import threading |
Create the repository on GitHub/Bitbucket. Once created, clone the created repository to your local machine using:
git clone [email protected]:username/repository.git
CD into the repository folder and run the init command to enable to hub flow tools:
cd repo_name