Skip to content

Instantly share code, notes, and snippets.

openapi: 3.0.4
info:
title: SoundCloud Public API Specification
contact:
name: API issue tracker
url: https://github.com/soundcloud/api
version: 1.0.0
termsOfService: https://developers.soundcloud.com/docs/api/terms-of-use
servers:
- url: https://api.soundcloud.com
openapi: 3.0.4
info:
title: SoundCloud Public API Specification
contact:
name: API issue tracker
url: https://github.com/soundcloud/api
version: 1.0.0
termsOfService: https://developers.soundcloud.com/docs/api/terms-of-use
servers:
- url: https://api.soundcloud.com
#include<atomic>
template<class T = uint64_t> requires std::integral<T>
class read_write_semaphore {
std::atomic<T> reading;
T max = std::numeric_limits<T>::max();
bool writer_acquire() {
auto expected = reading.load();
T desired;
@tobq
tobq / bikes.md
Created September 18, 2020 12:32
@tobq
tobq / pom.xml
Last active February 7, 2020 11:03
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>tobi</groupId>
<artifactId>reinforcement</artifactId>
<version>1.0-SNAPSHOT</version>
<build>