Skip to content

Instantly share code, notes, and snippets.

View bfatemi's full-sized avatar
🎯
In my zone

Bobby Fatemi bfatemi

🎯
In my zone
View GitHub Profile
@bfatemi
bfatemi / pr31_action_plan.md
Created November 15, 2025 16:14
PR #31 Complete Action Plan - 19 Issues

$(cat /tmp/pr_action_plan.md)

Artalytics®, Pixelsense®, the Artalytics logo, and any related marks are
trademarks or pending trademarks of Artalytics Inc.
Use of these marks is subject to the following rules:
* You may use the marks solely to identify this software as produced by
Artalytics Inc.
* You may not modify the marks or combine them with other graphics without
prior written permission.
@bfatemi
bfatemi / CLA.md
Last active August 10, 2025 01:53

Artalytics Contributor Assignment Agreement

Thank you for contributing to Artalytics Inc. By submitting any Contribution (as defined below), you agree to these terms:

1. Definitions

  • “Contribution” means any original work of authorship, including modifications or additions to an existing work, that you intentionally submit to Artalytics Inc. via pull request, issue, or other communication.
  • “You” or “Your” means the individual or entity making the Contribution.

2. Assignment of Rights

You hereby irrevocably assign, convey, and transfer to Artalytics Inc. (“Company”) all right, title and interest worldwide in and to your Contribution, including all copyrights, patents, and other intellectual-property rights therein.

@bfatemi
bfatemi / .bash_profile
Last active October 8, 2021 02:20
bashprofile
alias startpg="sudo service postgresql start"
alias stoppg="sudo service postgresql stop"
alias startrs="sudo service rstudio-server start"
alias stoprs="sudo service rstudio-server stop"
alias aptupdate="sudo apt update && sudo apt upgrade -y"
alias aptclean="sudo apt clean && sudo apt autoclean && sudo apt autoremove -y"
@bfatemi
bfatemi / response.json
Last active August 2, 2021 22:14
reporting/products
[
{
"productId": 0,
"sku": "string",
"productName": "string",
"internalName": "string",
"description": "string",
"masterCategory": "string",
"categoryId": 0,
"category": "string",
@bfatemi
bfatemi / response.json
Last active August 2, 2021 22:13
/reporting/transactions
[
{
"transactionId": 0,
"customerId": 0,
"employeeId": 0,
"transactionDate": "2021-08-02T21:01:20.947Z",
"voidDate": "2021-08-02T21:01:20.947Z",
"isVoid": true,
"subtotal": 0,
"totalDiscount": 0,
@bfatemi
bfatemi / initr.sh
Last active February 16, 2021 07:40
R new install
#!bin/bash
sudo apt-get install -y \
dirmngr \
gnupg \
apt-transport-https \
ca-certificates \
software-properties-common \
libpq-dev \
libssl-dev \
ALTER TABLE greenkong_blaze_members
ALTER COLUMN member_group TYPE JSON
USING member_group::json;
@bfatemi
bfatemi / .gitignore
Created February 21, 2020 23:05
Template gitignore
# History files
.Rhistory
.Rapp.history
# Session Data files
.RData
# User-specific files
.Ruserdata
@bfatemi
bfatemi / clip2vec
Created October 17, 2019 20:32
reads multi-line and delimited text from the clipboard and inserts as values of a vector assignment, at the cursors position.
clip2Vec <- function(toPosition = TRUE, sep = " "){
cb <- clipr::read_clip()
txt <- str_c(
"vec <- c('",
str_replace_all(
string = str_squish(str_flatten(str_subset(cb, ".+"), sep)),
pattern = sep,
replacement = str_c("\',\n", str_dup(' ', 9), "'")
),
"')\n\n"