Skip to content

Commit

Permalink
chore: update tracker and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vighnesh153 committed Feb 5, 2024
1 parent 6bce56e commit 35d7ba9
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 13 deletions.
35 changes: 23 additions & 12 deletions GUIDE_AND_TRACKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ Visit
- rubiks cube
- mermaid js like clone but in code instead of a DSL
- visualize windmill problem: https://www.youtube.com/watch?v=M64HUIJFTZM
- Kotlin:
- Asynchronous Programming With Kotlin Coroutines: https://kotlinlang.org/docs/coroutines-guide.html
- Kotlin Web Development with Ktor: https://ktor.io/learn/
- (Java baggage) Reactive Spring Boot With Coroutines and Virtual Threads
- https://medium.com/androiddevelopers/cancellation-in-coroutines-aa6b90163629
- Image compression
- 404 page
- https://floatui.com/components/404-pages
- https://tailwindui.com/components/marketing/feedback/404-pages
Expand Down Expand Up @@ -137,15 +143,15 @@ Visit
- https://github.com/astro-community/astro-compress
- Add IP address of the command executor in the adb remote logs
- Seed data in vighnesh153.com_next13
- Brainf*ck interpreter
* https://github.com/vighnesh153/brainf.ck-interpreter
- Brainf\*ck interpreter
- https://github.com/vighnesh153/brainf.ck-interpreter
- Groups/Permissions
- When completely banning user, remember to remove their session from users to log them out
- Svelte Query: https://sveltequery.vercel.app/overview
- https://github.com/vighnesh153/my-favourite
- Interview stuff
- Project: /Users/rvighnesh/practice/interview-hilbert-curve
- Cool js packages
- Cool js packages
- https://unjs.io/packages
- Blog:
- Create a blog page under `vighnesh153.com/blog`
Expand Down Expand Up @@ -215,7 +221,9 @@ Visit
- Fetching a meaning of a word

```js
fetch('https://corsanywhere.herokuapp.com/https://en.wiktionary.org/w/index.php?title=overflow&action=raw')
fetch(
"https://corsanywhere.herokuapp.com/https://en.wiktionary.org/w/index.php?title=overflow&action=raw"
)
.then((res) => res.text())
.then(console.log);
```
Expand Down Expand Up @@ -427,7 +435,10 @@ Why? There are 1000s of url shorteners out there. Well, none of them are made by
"vitest": "^0.33.0"
},
"keywords": [],
"repository": { "type": "git", "url": "[email protected]:vighnesh153/vighnesh153-monorepo.git" }
"repository": {
"type": "git",
"url": "[email protected]:vighnesh153/vighnesh153-monorepo.git"
}
}
```

Expand All @@ -445,9 +456,9 @@ Why? There are 1000s of url shorteners out there. Well, none of them are made by

```js
module.exports = {
extends: ['vighnesh153/ts-base.eslintrc.cjs'],
extends: ["vighnesh153/ts-base.eslintrc.cjs"],
parserOptions: {
project: './tsconfig.json',
project: "./tsconfig.json",
tsconfigRootDir: __dirname,
},
};
Expand All @@ -470,21 +481,21 @@ dist
- tsup.config.js

```ts
import { defineConfig } from 'tsup';
import { defineConfig } from "tsup";

export default defineConfig(() => ({
entry: {
main: './src/index.ts',
main: "./src/index.ts",
},
splitting: false,
clean: true,
minify: true,
treeshake: true,
format: ['cjs', 'esm'],
format: ["cjs", "esm"],
outExtension({ format }) {
let js: string | undefined;
if (format === 'cjs') js = `.cjs`;
if (format === 'esm') js = `.js`;
if (format === "cjs") js = `.cjs`;
if (format === "esm") js = `.js`;
return { js };
},
}));
Expand Down
26 changes: 26 additions & 0 deletions docs/android/keep-in-minds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
### Vector drawables

Vector drawables (svg as xml) were introduced in API 21. If your minSdk is lower than 21, then the vector drawables are also converted to pngs during build process so that they can run on older devices as well. So, use androidx support library to do this for you

1. **Step 1**: Add the following to the app's build.gradle file

```kotlin
android {
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
}
```

1. **Step 2**: Add an app namespace to the layout

```xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
>
<!-- ... -->
</LinearLayout>
```

1. **Step 3**: Replace `android:src` with `app:srcCompat` in `ImageView`
2 changes: 1 addition & 1 deletion golang-tools/interpreters/monkey-lang/lexer/lexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type Lexer struct {
input string
position int // current position in input
readPosition int // current reading position in input (after current char)
currentCharacter byte // character character under examination
currentCharacter byte // current character under examination
}

func NewLexer(input string) *Lexer {
Expand Down

0 comments on commit 35d7ba9

Please sign in to comment.