Skip to content

Instantly share code, notes, and snippets.

View zzFluke's full-sized avatar
🐉

Pavlo Lozovskiy zzFluke

🐉
  • Softserve
  • Austin TX
View GitHub Profile
@zzFluke
zzFluke / CreateCustomField.xml
Created March 17, 2022 22:13 — forked from wadewegner/CreateCustomField.xml
Examples of HTTP requests and responses for Salesforce SOAP and Metadata API calls.
POST https://na15.salesforce.com/services/Soap/m/29.0/00Di0000000icUB HTTP/1.1
SOAPAction: create
Content-Type: text/xml; charset=utf-8
Host: na15.salesforce.com
Content-Length: 894
Expect: 100-continue
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:apex="http://soap.sforce.com/2006/08/apex" xmlns:cmd="http://soap.sforce.com/2006/04/metadata" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
@zzFluke
zzFluke / latency.markdown
Created March 21, 2021 14:39 — forked from hellerbarde/latency.markdown
Latency numbers every programmer should know

Latency numbers every programmer should know

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns             
Compress 1K bytes with Zippy ............. 3,000 ns  =   3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns  =  20 µs
SSD random read ........................ 150,000 ns  = 150 µs

Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs

@zzFluke
zzFluke / 80-keychron.rules
Created August 12, 2019 13:57 — forked from ercoppa/80-keychron.rules
K2 Keychron Ubuntu 18.04
SUBSYSTEMS=="input", ATTRS{name}=="Keychron K2", RUN+="echo 0 | tee /sys/module/hid_apple/parameters/fnmode"
@zzFluke
zzFluke / toscana
Last active June 15, 2019 22:34
Маршрут по Тоскані
Маршрут по Тоскані:
Вт 2 липня:
10-11 Ліворно - Сніданок та оренда машини
11-12 Піза - Ланч та екскурсії
16-17 Лукка - Снеки та екскурсія (*** треба знайти, що дивитись ***)
20-21 - Флоренція (або Ф"єзоле) - Вечеря та ночівля (***треба знайти готель ***)
Ср 3 липня:
all-day - Екскурсії по Флоренції та 2га ніч