Skip to content

Instantly share code, notes, and snippets.

View andrew-starosciak's full-sized avatar
🏠
Working from home

Andrew Starosciak andrew-starosciak

🏠
Working from home
View GitHub Profile
@andrew-starosciak
andrew-starosciak / difference.js
Created August 25, 2022 20:38 — forked from Yimiprod/difference.js
Deep diff between two object, using lodash
/**
* Deep diff between two object, using lodash
* @param {Object} object Object compared
* @param {Object} base Object to compare with
* @return {Object} Return a new object who represent the diff
*/
function difference(object, base) {
function changes(object, base) {
return _.transform(object, function(result, value, key) {
if (!_.isEqual(value, base[key])) {
// Browser Extensions
uBlock Origin (https://github.com/gorhill/uBlock)
privacy badger (https://www.eff.org/privacybadger)
Chrome Tabs (https://www.one-tab.com/)
JSON Viewer (https://github.com/tulios/json-viewer)
Browser Themeing (https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne?hl=en)
- https://userstyles.org/
// Code Editor - vs code
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install php
sudo apt-get install php7.0-curl php7.0-intl php7.0-json php7.0-mcrypt php7.0-mysql
sudo apt-get install nginx
sudo apt install supervisor
# Nginx setup
sudo rm /etc/nginx/sites-enabled/default
sudo cp /etc/nginx/sites-available/default /etc/nginx/sites-available/core_letterheads_com
sudo vim /etc/nginx/sites-available/core_letterheads_com

Mac OS X 10.10.2 Front End Developer Tools

We are going to setup sublime-cli + brew + nvm + rvm + sass + grunt + bower + imagemagick

Wrap these tools into zsh + iterm2

It is really nice to run sublime from terminal on a directory or file

Check to make sure cli is working (this should open sublime)