Skip to content

Instantly share code, notes, and snippets.

View yashwanth2804's full-sized avatar
🎯
Focusing

kambala yashwanth yashwanth2804

🎯
Focusing
View GitHub Profile
package spark.Movies;
import java.io.Serializable;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.spark.SparkConf;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.util.AccumulatorV2;
Dataset<Row> ff = spark.read()
.option("inferSchema",true)
.option("header", "true")
.csv("/home/hasura/Desktop/SparkData/emp.csv");
Dataset<Row> ff1 = ff;
//ff.join(ff1, ff.col("empid").equalTo(ff1.col("mid"))).show();
ff.as("a")
:root{
--primary-color: red;
}

Starter

Starter is the simplest possible hook: it just accepts all transactions and logs that it is running.

to test:

  • in the develop pane, compile starter.c
  • in the deploy pane, deploy it to Alice account
  • set up payment transaction from Alice to Bob
  • run it and see in the debug stream 'Accept.c: Called.'

Option 1: Command-line download extension as zip and extract

extension_id=jifpbeccnghkjeaalbbjmodiffmgedin   # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc" 
unzip -d "$extension_id-source" "$extension_id.zip"

Thx to crxviewer for the magic download URL.

import { useState } from 'react'
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
type TeamMember = {
id: number
name: string
imageUrl: string
description: string
}