Skip to content

Instantly share code, notes, and snippets.

View marcelbuesing's full-sized avatar

Marcel marcelbuesing

  • Esslingen, Germany
View GitHub Profile
use std::env;
use tokio_02 as tokio;
use tokio::runtime::Handle;
use futures_util_03::compat::Future01CompatExt;
use librespot::core::authentication::Credentials;
use librespot::core::config::SessionConfig;
use librespot::core::session::Session;
use librespot::core::spotify_id::SpotifyId;
@marcelbuesing
marcelbuesing / gitlab-ci.yml
Created November 21, 2017 15:27
Nightly rust cargo cross compile with openssl
build-nightly:
image: rustlang/rust:nightly
before_script:
- dpkg --add-architecture armhf
- apt-get update && apt-get install --no-install-recommends -y gcc-arm-linux-gnueabihf libc6-armhf-cross libc6-dev-armhf-cross libssl-dev:armhf
# Install OpenSSL
- export CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc
- export OPENSSL_INCLUDE_DIR=/usr/include/openssl/
- export OPENSSL_LIB_DIR=/usr/lib/arm-linux-gnueabihf/
# Rustup configuration
@marcelbuesing
marcelbuesing / openpgp.txt
Created October 2, 2017 06:58
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:fcb6279333e64942dd701c0703f06f8179d5549d]
@marcelbuesing
marcelbuesing / openpgp.txt
Created October 2, 2017 06:57
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:fcb6279333e64942dd701c0703f06f8179d5549d]
@marcelbuesing
marcelbuesing / openpgp.txt
Created October 2, 2017 06:57
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:fcb6279333e64942dd701c0703f06f8179d5549d]
@marcelbuesing
marcelbuesing / openpgp.txt
Created October 2, 2017 06:57
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:fcb6279333e64942dd701c0703f06f8179d5549d]
@marcelbuesing
marcelbuesing / keybase.md
Last active November 22, 2019 14:46
keybase.md

Keybase proof

I hereby claim:

  • I am marcelbuesing on github.
  • I am marcelbuesing (https://keybase.io/marcelbuesing) on keybase.
  • I have a public key ASBXZhjCq6D2jahZukcvTse-oxUPWlGym6uiuq0cEDSBjAo

To claim this, I am signing this object:

@marcelbuesing
marcelbuesing / html
Last active July 14, 2016 06:43
WebCrypto
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The HTML5 Herald</title>
<meta name="description" content="The HTML5 Herald">
<meta name="author" content="SitePoint">
// Generated by typings
// Source: definitions/index.d.ts
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/nedb/nedb.d.ts
// Type definitions for NeDB
// Project: https://github.com/louischatriot/nedb
// Definitions by: Stefan Steinhart <https://github.com/reppners>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module "nedb" {
@marcelbuesing
marcelbuesing / gist:0cbb05c2a03b554a8c96
Last active August 29, 2015 14:14
Add missing producedure
/* For Shards */
DROP TABLE [__ShardManagement].[ShardMapManagerLocal]
DROP TABLE [__ShardManagement].[ShardMappingsLocal]
DROP TABLE [__ShardManagement].[ShardsLocal]
DROP TABLE [__ShardManagement].[ShardMapsLocal]
DROP PROCEDURE [__ShardManagement].[spAddShardLocal]
DROP PROCEDURE [__ShardManagement].[spBulkOperationShardMappingsLocal]
DROP PROCEDURE [__ShardManagement].[spFindShardMappingByKeyLocal]