fbandroid/first-party/java/androidsdk/
fbandroid/libraries/soloader/
fbandroid/libraries/textlayoutbuilder/
fbandroid/xplat/yoga/BUCK # xplat ??
fbobjc/EndToEndTests/WebDriverAgent/src/
fbobjc/VendorLib/IGListKit/src/ # Instagram
fbobjc/VendorLib/ComponentKit/src/
fbobjc/ios-sdk/AccountKit/samples/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// --- Configuration --- | |
// Replace with your Rossum API credentials and base URL. | |
const ROSSUM_API_TOKEN = 'YOUR_API_TOKEN'; // Replace with your actual API token | |
const BASE_URL = 'https://api.elis.rossum.ai/v1'; // Adjust if you have a dedicated instance URL | |
// --- Script Mode --- | |
// Set to true to simulate changes without writing to the API. | |
// Set to false to perform live changes. | |
const DRY_RUN = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def parse_float_or_none(s): | |
""" | |
Attempts to convert a string to a float, handling various decimal and thousands separators. | |
Recognizes comma (','), dot ('.'), and space (' ') as potential separators. | |
Interprets: | |
- "1 234,56" as 1234.56 | |
- "1.234,56" as 1234.56 | |
- "1,234.56" as 1234.56 | |
- "1234,56" as 1234.56 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"patterns": [ | |
{ | |
"//": "Vendor, UAB (dates '24.11.30' read as '2030-11-24' but should be '2024-11-30')", | |
"condition_field_id": "company_match__RegistrationNumber", | |
"condition_field_value": "123456789", | |
"source_field_id": "date_issue", | |
"source_field_format": "YY.MM.DD", | |
"target_field_id": "date_issue_normalized" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.hECNM { | |
--sx-error-lighter: 247, 212, 214; | |
} | |
._4wLsl0 { | |
--sx-error-light: 255, 26, 26; | |
} | |
._4Coem6 { | |
--sx-error: 238, 0, 0; | |
} | |
.zPcsP { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"client:root": { | |
"__id": "client:root", | |
"__typename": "__Root", | |
"allAvailableBookingComHotels(search:{\"checkin\":\"2020-02-13\",\"checkout\":\"2020-02-15\",\"cityId\":\"SG90ZWxDaXR5Oi0zNzI0OTA=\",\"roomsConfiguration\":[{\"adultsCount\":2}]})": { | |
"__ref": "client:root:allAvailableBookingComHotels(search:{\"checkin\":\"2020-02-13\",\"checkout\":\"2020-02-15\",\"cityId\":\"SG90ZWxDaXR5Oi0zNzI0OTA=\",\"roomsConfiguration\":[{\"adultsCount\":2}]})" | |
} | |
}, | |
"client:root:allAvailableBookingComHotels(search:{\"checkin\":\"2020-02-13\",\"checkout\":\"2020-02-15\",\"cityId\":\"SG90ZWxDaXR5Oi0zNzI0OTA=\",\"roomsConfiguration\":[{\"adultsCount\":2}]})": { | |
"__id": "client:root:allAvailableBookingComHotels(search:{\"checkin\":\"2020-02-13\",\"checkout\":\"2020-02-15\",\"cityId\":\"SG90ZWxDaXR5Oi0zNzI0OTA=\",\"roomsConfiguration\":[{\"adultsCount\":2}]})", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Once upon a time, | |
you join a company and you have to rhyme. | |
This story begins at the end of last year, | |
when I was in Mexico and changing career. | |
Pipedrive seemed to be quite a good choice, | |
but I also had to hear my internal voice. | |
Should I go or should I stay, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @flow strict | |
function terminate(help, error) { | |
console.error('%s\n\n%s', help, error); | |
process.exit(1); | |
} | |
/** | |
* Goal of this parser is to create less awkward tool for working with command line. You just | |
* have to write a help screen and the rest is responsibility of this parser. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fs from 'fs'; | |
import path from 'path'; | |
import fetch from '@kiwicom/fetch'; | |
// See: https://gist.github.com/lmarkus/8722f56baf8c47045621 | |
import { emoji } from './emoji.json'; | |
(async function() { | |
for (const [name, link] of Object.entries(emoji)) { | |
const downloadLink = link; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @flow strict | |
import isObject from './isObject'; | |
// Inspiration (modified and fixed stability): | |
// https://github.com/facebook/relay/blob/87930e12ed9694865d3a70dda564c0711e2890fd/packages/relay-runtime/util/stableCopy.js | |
/** | |
* @see http://www.ecma-international.org/ecma-262/6.0/#sec-sortcompare | |
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort |
NewerOlder