This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This file will be sourced in init.sh | |
# https://raw.githubusercontent.com/ai-dock/comfyui/main/config/provisioning/default.sh | |
# Packages are installed after nodes so we can fix them... | |
#DEFAULT_WORKFLOW="https://..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This file will be sourced in init.sh | |
# https://raw.githubusercontent.com/ai-dock/comfyui/main/config/provisioning/default.sh | |
# Packages are installed after nodes so we can fix them... | |
#DEFAULT_WORKFLOW="https://..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "DEM00000001":"true", "DEM00000001":"false", "DEM00000001":"false", "DEM00000001":"true", "DEM00000001":"false", "DEM00000001":"true", "DEM00000001":"false", "DEM00000044":"false", "DEM00000047":"false", "DEM00000071":"false", "DEM00000082":"true", "DEM00000085":"false", "DEM00000160":"true", "DEM00000163":"false", "DEM00000947":"false", "DEM00001568":"false", "DEM00001570":"false", "DEM00001934":"false", "DEM00001934":"false", "DEM00001934":"false", "DEM00001987":"false", "DEM00002035":"false", "DEM00002035":"true", "DEM00002247":"false", "DEM00002305":"false", "DEM00002451":"true", "DEM00002484":"false", "DEM00002489":"false", "DEM00002555":"false", "DEM00002600":"true", "DEM00002615":"false", "DEM00002623":"true", "DEM00002653":"true", "DEM00002663":"false", "DEM00002668":"false", "DEM00002707":"false", "DEM00002720":"true", "DEM00002767":"false", "DEM00002767":"false", "DEM00002997":"false", "DEM00003014":"true", "DEM00003127":"true", "DEM00003198":"false", "DEM00003268":"false", "DEM00003286":"false", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package android.example.com.firestore | |
import android.content.Intent | |
import android.os.Bundle | |
import android.os.Parcel | |
import android.os.Parcelable | |
import android.widget.Toast | |
import androidx.appcompat.app.AppCompatActivity | |
import com.google.firebase.firestore.FirebaseFirestore | |
import com.google.firebase.firestore.GeoPoint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.inject.Singleton; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
@Singleton | |
public class YouTubeHelper { | |
final String youTubeUrlRegEx = "^(https?)?(://)?(www.)?(m.)?((youtube.com)|(youtu.be))/"; | |
final String[] videoIdRegex = { "\\?vi?=([^&]*)","watch\\?.*v=([^&]*)", "(?:embed|vi?)/([^/?]*)", "^([A-Za-z0-9\\-]*)"}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun sendImageToGIST(fileName:String, content: String) { | |
val contentJSON = JSONObject() | |
contentJSON.put("content", content) | |
val fileJSON = JSONObject() | |
fileJSON.put("${fileName}_${System.currentTimeMillis()}.json", contentJSON) | |
val dataJsonObject = JSONObject() | |
dataJsonObject.put("description", "Created via API 3 FROM Android App") | |
dataJsonObject.put("public", true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"week": { | |
"items": 326.0, | |
"orders": 0.0 | |
}, | |
"total_score": { | |
"note": "Great! Keep Up!", | |
"color": "#007CF0", | |
"value": "98.54%", | |
"arrow_flag": 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.exa.nanashopper.util | |
import android.content.Context | |
import android.content.res.Configuration | |
import androidx.core.content.ContextCompat | |
import java.util.* | |
/** | |
* ResourceProvider helper class use make access to Android Resource without need to deal with context direct | |
* That will bw help inside ViewModel classes should not, though, hold a reference to Activities, Fragments, or Contexts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Live Template By Ahmed AbuQamar --> | |
<template name="td" value="timber.log.Timber.d("$METHOD_NAME$: $content$");" description="Timber.d(String)" toReformat="true" toShortenFQNames="true"> | |
<variable name="METHOD_NAME" expression="methodName()" defaultValue="" alwaysStopAt="false" /> | |
<variable name="content" expression="" defaultValue="" alwaysStopAt="true" /> | |
<context> | |
<option name="JAVA_STATEMENT" value="true" /> | |
</context> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.annotation.SuppressLint; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.net.ConnectivityManager; | |
import android.net.NetworkInfo; | |
import android.os.AsyncTask; | |
import android.text.TextUtils; | |
import android.util.Log; |
NewerOlder