Skip to content

Instantly share code, notes, and snippets.

View kadikraman's full-sized avatar
💚

Kadi Kraman kadikraman

💚
View GitHub Profile
@kadikraman
kadikraman / requirements.md
Created May 15, 2025 14:53
Fine-tuning for the "Native Feel"

Fine-tuning for the Native Feel

AppJS 2025 workshop, by @kadikraman and @bycedric

We're excited you chose to join us on this journey on fine tuning for the native feel with Expo. In this workshop we will focus on creating experiences for a great "Platform Feel" for iOS, Android and Web!

Requirements

For this workshop, we will not be using Expo Go. But you don't need to have any native build tools installed either - we'll provide the dev client for you to install on your own phone, and we'll be enhancing this app together.

@kadikraman
kadikraman / eas-build-cheat-sheet.md
Created November 12, 2024 23:21
The most commonly used commands for building apps with the EAS CLI

EAS Build Cheat Sheet

The most commonly used commands for building apps with the EAS CLI

New Project

  • eas init - create a new project on expo.dev
  • eas build:configure - create eas.json with default configuration

Builds

  • eas build --profile development - development client, JS is loaded from your local machine
import {
Canvas,
Skia,
Image as SkiaImage,
} from '@shopify/react-native-skia';
import { useEffect, useState } from 'react';
const data = `<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
@kadikraman
kadikraman / .eslintrc.js
Created May 1, 2024 12:50
Example of disallowing logical operators in JSX
module.exports = {
// other rules
rules: {
'no-restricted-syntax': [
'error',
{
selector:
"JSXElement > JSXExpressionContainer > LogicalExpression[operator!='??']",
message: 'Use ternary operator instead',
},
@kadikraman
kadikraman / checkout-from-fork.sh
Created February 13, 2021 21:30
Checkout a PR locally from a work
# 123 is the PR number
git fetch origin pull/123/head:pr/123 && git checkout pr/123
git reset --hard upstream/master
docker run -e "ACCEPT_EULA=true" -e "MSSQL_PID=Express" -e "SA_PASSWORD=suchpass123@" -p 1433:1433 microsoft/mssql-server-linux
kill $(ps aux | grep flow | grep -v grep | awk '{print $2}')

Keybase proof

I hereby claim:

  • I am kadikraman on github.
  • I am hellokadi (https://keybase.io/hellokadi) on keybase.
  • I have a public key ASDG7VvFroU2sJhdL6yt4kkk9EtOy4Q_FMzBXl3wKe5UbAo

To claim this, I am signing this object: