Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Nikil Arigela nikilarigela

🏠
Working from home
View GitHub Profile
View 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:

View widgetfile.html
<!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 Dec 31, 2019
rn-fetch-blob -> android -> src -> java -> RNFetchBlobReq.java
View RNFetchBlobReq
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;
View AsyncImage
class AsyncImage extends Component {
constructor(props) {
super(props);
this.state = { loaded: false };
}
onLoad = () => {
this.setState(() => ({ loaded: true }));
};
@nikilarigela
nikilarigela / react.gradle
Created Jul 3, 2019
react-navigation assests fix
View react.gradle
``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()
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>