Skip to content

Instantly share code, notes, and snippets.

View dave4506's full-sized avatar
💭
Working on some crazy shit.

David Sun dave4506

💭
Working on some crazy shit.
View GitHub Profile
pDSIG�=��GDEFQDQ�,�GSUB���[��JSTFm*i�LTSHsE�?E�,OS/2 �2k�VPCLT�{>C�6VDMXP�j�J��cmapg�M�p�cvt �p�vm0fpgmw'��gd�gasp Pglyf��Y τhdmx.oQ��|(head�9��|6hheam��$hmtxʢs@sD�kern7a96�`loca��81�maxp � �� name�g<`
post;�U�Ӑ2prep�q�\d
���{��_<���'*�=�����g:L >�NC���3:((?c/B
����3�3�f z��Mono@ ����Q3>�@�����FN�
>�^�
>��,&| �
�
�� b. f�
��\�R�A/2� Iabh E$
a� 1i 3�
@dave4506
dave4506 / keybase.md
Created October 3, 2019 15:02
Keybase proof

Keybase proof

I hereby claim:

  • I am dave4506 on github.
  • I am dave4506 (https://keybase.io/dave4506) on keybase.
  • I have a public key ASDYc-TtaLf0X8IJlfkg8M6htyA9OkhYawPU4e-FzYcwfwo

To claim this, I am signing this object:

@dave4506
dave4506 / parseOrders.sol
Created June 4, 2019 18:24
Dydx's parseOrders functionality to take bytes and convert back to 0x signed orders
function parseOrders(
bytes memory orderData,
address makerToken,
address takerToken
)
private
pure
returns (Order[] memory)
{
uint256 numOrders = parseNumOrders(orderData);
@dave4506
dave4506 / Code.gs
Created February 11, 2019 00:24
Post Request to a google sheets
function doPost(e){
return handleResponse(e);
}
// Enter sheet name where data is to be written below
var SHEET_NAME = "SHEET_NAME";
var SCRIPT_PROP = PropertiesService.getScriptProperties(); // new property service
function handleResponse(e) {