This file contains hidden or 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
<template> | |
<div> | |
<button v-if="isReady" @click="launchWidget">Start KYC Verification</button> | |
<div v-else> | |
<p>Loading Wallet Connection...</p> | |
</div> | |
<div id="zkme-widget"></div> | |
</div> | |
</template> |
This file contains hidden or 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
openapi: "3.0.0" | |
info: | |
version: 1.0.0 | |
title: Ticketmaster Classifications API | |
description: Fetches classification details from Ticketmaster | |
servers: | |
- url: https://app.ticketmaster.com | |
paths: | |
/discovery/v2/classifications: | |
get: |
This file contains hidden or 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
#h1 Problems with marketplace when using erc-1555 tokens. | |
- [x] Task 1 | |
- [ ] Task 2 | |
- [ ] Task 3 |
This file contains hidden or 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 java.io.* | |
import java.math.* | |
import java.security.* | |
import java.text.* | |
import java.util.* | |
import java.util.concurrent.* | |
import java.util.function.* | |
import java.util.regex.* | |
import java.util.stream.* | |
import kotlin.collections.* |
This file contains hidden or 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 analytics | |
def on_error(error, items): | |
print("An error occurred:", error) | |
analytics.write_key = '0XP3g01Vs3vFPzQ0GL7fwWDmqaQs6Jv0' | |
analytics.debug = False | |
# analytics.on_error = on_error | |
analytics.identify('[email protected]', { |
This file contains hidden or 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 | |
## fix the folder permissions for the html directory | |
sudo chown -R root:www /var/www | |
sudo chmod 2775 /var/www | |
find /var/www -type d -exec sudo chmod 2775 {} + | |
find /var/www -type f -exec sudo chmod 0664 {} + | |
## fix the httpd.conf so clean urls work | |
sudo sed -i '151s/.*/ AllowOverride All/' /etc/httpd/conf/httpd.conf | |
sudo service httpd restart |
This file contains hidden or 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 | |
## update the server and then install the lamp stack | |
sudo yum update -y | |
## install PHP 55 | |
## this also installs apache as it's a dependecy in amazons version of php55 | |
sudo yum install -y php55 php55-bcmath php55-gd php55-xml php55-mbstring php55-mcrypt php55-soap php55-xml | |
## install mysql | |
#sudo yum install -y mysql-server |
This file contains hidden or 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
public interface RecyclerItemClicked{ | |
void onRecyclerItemClicked(int position); | |
void onRecyclerLongClicked(int position); | |
} |
This file contains hidden or 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
public class MyViewHolder extends RecyclerView.ViewHolder{ | |
private View view; | |
public MyViewHolder(View itemView) { | |
super(itemView); | |
this.view = itemView; | |
} | |
public View getView(){ |
This file contains hidden or 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
@EViewGroup(R.layout.viewholder) | |
public class FeedViewHolder extends RelativeLayout{ | |
@ViewById(R.id.tvName) | |
TextView tvName; | |
public FeedViewHolder(Context context, AttributeSet attrs, int defStyleAttr) { | |
super(context, attrs, defStyleAttr); |
NewerOlder