Skip to content

Instantly share code, notes, and snippets.

View nikilarigela's full-sized avatar
🏠
Working from home

Nikil Arigela nikilarigela

🏠
Working from home
View GitHub Profile
@nikilarigela
nikilarigela / keybase.md
Created December 16, 2020 06:19
keybase.md

Keybase proof

I hereby claim:

  • I am nikilarigela on github.
  • I am nikil0110 (https://keybase.io/nikil0110) on keybase.
  • I have a public key ASB0uiNntEY3KXwDQCagoxhh-5yty0McsmB-PC7Pw8qkuQo

To claim this, I am signing this object:

<!DOCTYPE html>
<!-- saved from url=(0043)https://www.tierarztpraxis-in-kreuzberg.de/ -->
<html
lang="de"
style=""
class=" diy-js diy-no-touch diy-csstransforms diy-csstransforms3d diy-csstransitions diy-localstorage"
>
<head
prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# business: http://ogp.me/ns/business#"
>
@nikilarigela
nikilarigela / RNFetchBlobReq
Last active December 31, 2019 11:31
rn-fetch-blob -> android -> src -> java -> RNFetchBlobReq.java
package com.RNFetchBlob;
import android.app.DownloadManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.database.Cursor;
import android.net.Uri;
import android.os.Build;
class AsyncImage extends Component {
constructor(props) {
super(props);
this.state = { loaded: false };
}
onLoad = () => {
this.setState(() => ({ loaded: true }));
};
@nikilarigela
nikilarigela / react.gradle
Created July 3, 2019 12:00
react-navigation assests fix
``doLast {
def moveFunc = { resSuffix ->
File originalDir = file("$buildDir/generated/res/react/release/drawable-${resSuffix}");
if (originalDir.exists()) {
File destDir = file("$buildDir/../src/main/res/drawable-${resSuffix}");
ant.move(file: originalDir, tofile: destDir);
}
}
moveFunc.curry("ldpi").call()
moveFunc.curry("mdpi").call()
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>