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 requests | |
def check(pubkey): | |
url = f"https://airdrop.pyth.network/api/grant/v1/amount_and_proof?ecosystem=solana&identity={pubkey}" | |
response = requests.get(url) | |
if response.status_code == 200: | |
jsondata = response.json() | |
amount = jsondata.get('amount') | |
if amount: |
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/sh | |
# Redirect output to stderr. | |
exec 1>&2 | |
# enable user input | |
exec < /dev/tty | |
staged=' -U0' | |
cached=' --cached' | |
# CHECK |
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
<section> | |
<h1>Opprett en konto</h1> | |
<div> | |
Brukernavn kan være hva som helst, men passord må inneholde følgende: 2 | |
store bokstaver, 2 spesialtegn (ek s: @!& osv) og minst 1 tall. | |
</div> | |
<div> | |
Har du allerede en bruker? | |
<a use:link href="/user/login">Klikk her</a> | |
for å logge inn. |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDkijMG0isGDySEhbWvVNzjbLSYNwzP2MoL9f4towJqVCIQz9gDpfHUe3HasRUQ4EPxOHpPZ3XrIhBQBGYC5KgoLsN6DMKxwObcigSHbMDbGe5Hw/yxAI1stU2hNN1nzm3/R6fXxoCpL0PCXmOJLSRsjjy+OCwIuKJdJWmkq+4FIluQWJwT3gSFE+gYW6UMjzXhZAUIsbNw4ifU+uzq1xqXVohbsSn70MeKKwKmkaAGQVUMl/YejyR9/ppGhnyOJKqICkRqvh/9G8L4jS5m/gUwttu5zR0Lvm04HygRsWUO9oOlHVPy11gMLF2VK/WQn1twz0HQadYDwDaqy8K9eNPF [email protected] |
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
# -*- encoding: UTF-8 -*- | |
import qi as qi | |
import sys | |
import argparse | |
class RobotName(object): | |
def __init__(self, app): | |
""" | |
Initialisation of qi framework and event detection. |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Player : MonoBehaviour | |
{ | |
public float moveForce = 14f; | |
public float maxSpeed = 25f; | |
public float jumpForce = 0.5f; | |
[HideInInspector] |
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
{ | |
"short_name": "My PWA", | |
"name": "My first Progressive Web App", | |
"description": "My first Progressive Web App is a very simple starter app", | |
"start_url": "./?utm_source=web_app_manifest", |
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
using System; | |
using System.Linq; | |
namespace ConsoleApplication | |
{ | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
var bestProduct = 0L; |
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
GET / | |
POST /current-records/_search | |
{ | |
"query": { | |
"match": { | |
"object.title.edgeCompletion": "morgen" | |
} | |
}, | |
"_source": "object.title" |
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 | |
PORT=$(( 8000 + ( RANDOM % 1000 ) + 1 )) | |
echo http://localhost:$PORT | |
python -m SimpleHTTPServer $PORT |
NewerOlder