Skip to content

Instantly share code, notes, and snippets.

View alexandrtovmach's full-sized avatar

Alexandr Tovmach alexandrtovmach

View GitHub Profile

Pre-screen

  1. Conventional commits

General

  • lodash/underscore?
  • moment.js/date-fn?
  • prettier/eslint?
  • webpack/parcel?
  • docker?
  • You have legacy code, and you need to make it great, how and in what ordrer you'd work on it?

android/app/build.gradle

--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -80,6 +80,8 @@ import com.android.build.OutputFile
 
 project.ext.react = [
     enableHermes: true,  // clean and rebuild if changing
+    entryFile: "index.js",
+    bundleAssetName: "app.bundle",
[{"id":1,"departureCity":"Lviv","arriveCity":"London","departureDate":"2022-07-05T06:53:31Z","flightDurationMinutes":143,"flightCompany":"Stark-MacGyver","flightCompanyLogo":"http://dummyimage.com/464x413.png/cc0000/ffffff","price":1870.7,"priceCurrency":null},
{"id":2,"departureCity":"Lviv","arriveCity":"Odesa","departureDate":"2022-07-04T03:10:56Z","flightDurationMinutes":73,"flightCompany":"Quitzon Group","flightCompanyLogo":"http://dummyimage.com/457x425.png/5fa2dd/ffffff","price":3596.9,"priceCurrency":null},
{"id":3,"departureCity":"Minsk","arriveCity":"Athens","departureDate":"2021-03-18T20:54:38Z","flightDurationMinutes":41,"flightCompany":"Conn-Huel","flightCompanyLogo":"http://dummyimage.com/442x463.png/ff4444/ffffff","price":3418.6,"priceCurrency":null},
{"id":4,"departureCity":"Barcelona","arriveCity":"Kyiv","departureDate":"2021-05-27T13:40:52Z","flightDurationMinutes":296,"flightCompany":"Kautzer, Dare and Bogan","flightCompanyLogo":"http://dummyimage.com/479x496.png/ff4444/ffffff","price":2936.
const success = [
571898, 2593681, 2387784, 2338311, 2158351, 2280352, 2220290, 1866000,
2349083, 3077927, 364449, 3143258, 572764, 976417, 3131696, 2175715, 3116562,
2625009, 2292050, 2587270, 2593799, 572713, 2214492, 299497, 2174964, 2394445,
2625013, 1546711, 3143474, 383463, 2252664, 2299862, 1223864, 3097811,
2608001, 2684667, 2411833, 2833757, 2598584, 2384129, 2336875, 2313657,
2286729, 2235190, 2219297, 2199961, 3106172, 2269279, 2414659, 2594686,
2365495, 348905, 2897584, 2808943, 2895573, 2322401, 2381265, 2237464, 632906,
2284749, 2239837, 415623, 2426089, 2982412, 3032509, 3071140, 3037074,
2953838, 572129, 2411496, 2975061, 2183134, 2944038, 2781492, 948233, 2355239,
{
"name": "Master CoWs Token List",
"timestamp": "2024-03-27T16:30:00Z",
"version": {
"major": 0,
"minor": 0,
"patch": 1
},
"logoURI": "https://ipfs.cow.fi/ipfs/QmYK6v8knxT7ZfmS6FPpd9u1dKLxtZMKSrdQtur4ofShM3?pinataGatewayToken=MzQoKxPtVypjPgvG7fN47-FynJlKEStEQTyI-uG15v8jeAL5zpLuUj8pqWwhEu1T",
"tokens": [