Skip to content

Instantly share code, notes, and snippets.

View hacker-DOM's full-sized avatar

Dom hacker-DOM

View GitHub Profile
const reshape = R.curry((shape, object) =>
R.mapObjIndexed(
fn => R.is(Array, fn) ? R.pipe(...fn)(object) : fn(object),
shape
)
)
const reshape2 = R.curry((shape, object) =>
R.map(
fn => R.is(Array, fn) ? R.pipe(...fn)(object) : fn(object),
shape
)
)
const user = {
id: 12,
name: `Bob`,
age: 18
}
reshape2({
key: R.prop(`id`),
value: [R.prop(`name`), R.toUpper]
},
var mapObjIndexed = _curry2(function mapObjIndexed(fn, obj) {
return _reduce(function(acc, key) {
acc[key] = fn(obj[key], key, obj);
return acc;
}, {}, keys(obj));
});
@hacker-DOM
hacker-DOM / dom_gho.csv
Created July 5, 2023 20:54
no "stargazerCount" column (Visidata)
createdAt description diskUsage hasWikiEnabled homepageUrl isArchived name nameWithOwner pushedAt stargazerCount url visibility
2018-09-05T21:56:35Z Static Analyzer for Solidity 52481 true https://blog.trailofbits.com/2018/10/19/slither-a-solidity-static-analysis-framework/ false slither crytic/slither 2023-07-05T20:04:41Z 4317 https://github.com/crytic/slither PUBLIC
2021-08-31T19:03:08Z Parallelized, coverage-guided, mutational Solidity smart contract fuzzing, powered by go-ethereum 816 true https://www.trailofbits.com/ false medusa crytic/medusa 2023-07-05T18:29:11Z 101 https://github.com/crytic/medusa PUBLIC
2019-04-08T17:48:03Z Abstraction layer for smart contract build systems 1097 true false crytic-compile crytic/crytic-compile 2023-07-05T15:55:00Z 120 https://github.com/crytic/crytic-compile PUBLIC
2023-02-22T17:26:54Z Pre-built security properties for common Ethereum operations 409 true false properties crytic/properties 2023-07-05T14:54:37Z 143 https://github.com/crytic/properties PUBLIC