Skip to content

Instantly share code, notes, and snippets.

View cumbreras's full-sized avatar
🇸🇬

Edgar Cumbreras cumbreras

🇸🇬
View GitHub Profile
@cumbreras
cumbreras / improve_fonts.md
Created November 28, 2020 12:05 — forked from j1cs/improve_fonts.md
Improve fonts archlinux

Improve Fonts

Newest

Make your Arch fonts beautiful easily! This is what I do when I install Arch Linux to improve the fonts.

You may consider the following settings to improve your fonts for system-wide usage without installing a patched font library packages (eg. Infinality):

Install some fonts, for example:
sudo pacman -S ttf-dejavu ttf-liberation noto-fonts

" ======================================================================================================================
" 1.0 Colors Term
" ======================================================================================================================
"{{{
if (empty($TMUX))
if (has("nvim"))
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif
@cumbreras
cumbreras / osx_bootstrap.sh
Created May 10, 2018 09:31 — forked from codeinthehole/osx_bootstrap.sh
Script to install stuff I want on a new OSX machine
#!/usr/bin/env bash
#
# Bootstrap script for setting up a new OSX machine
#
# This should be idempotent so it can be run multiple times.
#
# Some apps don't have a cask and so still need to be installed by hand. These
# include:
#
# - Twitter (app store)
"workbench.colorCustomizations": {
"activityBar.background": "#000C02",
"editor.background": "#131d30",
"sideBar.background": "#000C12",
"list.dropBackground": "#000C22",
"statusBar.background": "#1D1F23",
"dropdown.background": "#000C12",
"tab.activeBackground": "#000C12",
"scrollbar.shadow": "#000C22",
"panel.background": "#000C22",
# ~/.tmuxinator/cw.yml
name: cw
root: ~/projects/cw/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
@cumbreras
cumbreras / gist:1d57dc44890b24cab9033754037cbcef
Created July 12, 2016 14:13
Unsuccessful lookup population through API
FIRST APPROACH:
account = {
attributes: { type: 'Account', referenceId: 'dummy-reference' },
Name: 'TestingCompany',
Website: 'http://www.testingwebsite.com',
BillingPostalCode: '11031',
AnnualRevenue: '43000',
CW_Industry__c: { CW_UUID__c: '6b4f1c52-3659-48d9-8dd0-5660ee9c4cfc' },
CW_Subindustry__c: { CW_UUID__c: '9b825489-7184-4a17-aa99-d886e7bbaae1' },
@cumbreras
cumbreras / gist:ebbea4544817b57bef17c7ea62948488
Last active June 17, 2016 14:40
Property as CanaryAMS__Property__c example from API
=> {"attributes"=>{"type"=>"CanaryAMS__Property__c", "url"=>"/services/data/v37.0/sobjects/CanaryAMS__Property__c/a0CR0000003gexJMAQ"},
"Id"=>"a0CR0000003gexJMAQ",
"OwnerId"=>"00536000002GJOFAA4",
"IsDeleted"=>false,
"Name"=>"Avd Americas 101",
"RecordTypeId"=>"01236000000vvYNAAY",
"CreatedDate"=>"2016-06-17T14:33:18.000+0000",
"CreatedById"=>"00536000002GJOFAA4",
"LastModifiedDate"=>"2016-06-17T14:33:18.000+0000",
"LastModifiedById"=>"00536000002GJOFAA4",
# ~/.tmuxinator/cw.yml
name: cw
root: ~/projects/cw/
windows:
- qs-nvim:
pre: wd qs
panes:
- n