Skip to content

Instantly share code, notes, and snippets.

View wcastand's full-sized avatar
🥝
i don't know what's happening

William wcastand

🥝
i don't know what's happening
View GitHub Profile
@wcastand
wcastand / CV.js
Created April 13, 2019 12:49
CV for carbon
const basic_infos = () => ({
firstname: 'William',
lastname: 'Castandet',
age: '27',
location: 'London - UK',
email: '[email protected]',
phone: '+44 7 76 22 111 57',
github: 'wcastand',
npm: 'wcastand'
})
{"app_name":"GreenGotdev","timestamp":"2023-06-14 12:02:31.00 +0200","app_version":"1.10.12","slice_uuid":"066f2f63-77b8-3dd6-8811-86d4a2f4a188","build_version":"1","platform":7,"bundleID":"com.green-got.dev","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.3 (22E252)","roots_installed":0,"name":"GreenGotdev","incident_id":"83D3D656-8069-4FEC-BC42-1BAE38CC867F"}
{
"uptime" : 430000,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookAir10,1",
"coalitionID" : 105181,
"osVersion" : {
"dependencies": {
"@bacons/mdx": "^0.1.1",
"@expo-google-fonts/be-vietnam": "^0.2.0",
"@expo/vector-icons": "^13.0.0",
"@gorhom/portal": "1.0.14",
"@hookform/resolvers": "3.3.1",
"@intercom/intercom-react-native": "6.0.1",
"@react-native-community/datetimepicker": "7.2.0",
"@react-navigation/native": "^6.1.7",
"@react-navigation/native-stack": "^6.9.13",
[
"./plugins/intercom.plugin.js",
{
iosApiKey: "ios key",
androidApiKey: "android key",
appId: "app id",
}
],
export const useOneTimeLoggedQuery = <Data = any, Variables extends AnyVariables = AnyVariables>(
document: TypedDocumentNode<Data, Variables>,
variables?: Variables,
opts?: Partial<OperationContext>,
) => {
const [state, setState] = useState<[NonNullable<Data> | undefined, Error | undefined]>([undefined, undefined])
const [client, isLogged] = useAuthSession(useShallow((s) => [s.client, s.isLogged]))
const isConnected = isLogged