Skip to content

Instantly share code, notes, and snippets.

View z-a-f's full-sized avatar
🏠
Working from home

Zafar z-a-f

🏠
Working from home
  • Hoofs and Horns, Inc.
  • Mountain View, CA
View GitHub Profile
# Original CSV file
original_csv_file = 'filename.csv'
# Columns that need to be separated
# For this example, we have 3 subfiles, with these columns
# File 1: 0, 2, 4
# File 2: 1, 3, 5
# File 3: 0, 5
subfile_columns = [
[0, 2, 4],
[1, 3, 5],
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 2,
"final_space": true,
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [

Code Review Rules

As we review more code, it is worth spelling out the expectations for the code review.

Etiquette

  • Review the codes ASAP — this unblocks a lot of people. In fact I believe that code review is number one priority, as there are potentially a lot of people are immediately affected by it.
  • Assume good intentions!!!
  • Offer alternative implementations, but assume that the author considered them already.
  • Most comments in the review are opinions. However, you cannot just brush them off — the resolution is reached through discussion.
@z-a-f
z-a-f / .latexmkrc
Last active September 20, 2021 06:49
#!/bin/env perl
# This file was shamelessly copied from
# https://collaborating.tuhh.de/alex/latex-git-cookbook/-/blob/4174942b6674588d016189c708327dccbaac5b8d/.latexmkrc
# Shebang is only to get syntax highlighting right across GitLab, GitHub and IDEs.
# This file is not meant to be run, but read by `latexmk`.
# ======================================================================================
# Perl `latexmk` configuration file
@z-a-f
z-a-f / .ghstackrc
Last active September 9, 2021 07:39
[ghstack]
github_url = github.com
github_oauth = ghp_<...>
github_username = z-a-f
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.