src/curve.h:4:10: fatal error: 'gmp.h' file not found
Solution:
CFLAGS=-I`brew --prefix gmp`/include LDFLAGS=-L`brew --prefix gmp`/lib pip install ecdsa fastecdsa sympy
const supabase = useMemo(() => { | |
return createClient( | |
process.env.NEXT_PUBLIC_SUPABASE_URL!, | |
process.env.NEXT_PUBLIC_SUPABASE_KEY!, | |
{ | |
global: { | |
headers: { | |
telegram_init_data: initDataRaw || "", | |
}, | |
}, |
src/curve.h:4:10: fatal error: 'gmp.h' file not found
Solution:
CFLAGS=-I`brew --prefix gmp`/include LDFLAGS=-L`brew --prefix gmp`/lib pip install ecdsa fastecdsa sympy
// SPDX-License-Identifier: MIT | |
// ^ recommended, included machine readable in bytecode metadata | |
// Software Package Data Exchange is an open standard | |
pragma solidity ^0.8.7; | |
// ^ floating pragma, min 0.8.7 max excluding 0.9.0 | |
// same as complex pragma: pragma solidity >=0.8.7 <0.9.0; | |
// major.breakingchanges.bugfixes | |
// only makes the compiler check for compatibility and throws error if not matching! | |
// should only be floating during development, fixed everywhere during testing & deployment |
import Foundation | |
func main() { | |
print("Starting") | |
// GCD works by dispatching chunks of code (represented by closures, and called 'blocks') onto things called 'dispatch | |
// queues'. These queues run the blocks, either on the main thread or in a background thread. (Queues don't correspond | |
// to threads on a one-to-one basis; GCD is responsible for spinning up threads to service queues.) | |
// Here's a variable representing shared state I want to manipulate from different threads. |
enum APIError : ErrorType { | |
// Can't connect to the server (maybe offline?) | |
case ConnectionError(error: NSError) | |
// The server responded with a non 200 status code | |
case ServerError(statusCode: Int, error: NSError) | |
// We got no data (0 bytes) back from the server | |
case NoDataError | |
// The server response can't be converted from JSON to a Dictionary | |
case JSONSerializationError(error: ErrorType) | |
// The Argo decoding Failed |
#Getting Started
##Webpage:
<html>
<head>
<title>Testing with Ruby and Selenium WebDriver</title>
</head>
<body bgcolor="antiquewhite">
var x: Int? = 0 | |
// Lets me unwrap x and also check a condition on it | |
func fooGuard() { | |
guard let x = x where x > 0 else { | |
return | |
} | |
// Do stuff with x | |
x.value |
import Foundation | |
import CoreLocation | |
let beaconManagerDidEnterRegionsNotification = "beaconManagerDidEnterRegionsNotification" | |
let beaconManagerDidExitRegionsNotification = "beaconManagerDidExitRegionsNotification" | |
let beaconManagerUserInfoEnteredRegionsKey = "enteredRegions" | |
let beaconManagerUserInfoExitedRegionsKey = "exitedRegions" | |
class BeaconManager: NSObject, CLLocationManagerDelegate { | |
private var manager = CLLocationManager() |