Skip to content

Instantly share code, notes, and snippets.

Dirk van Wijk DirkWillem

Block or report user

Report or block DirkWillem

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View bottomtabbarbug.dart
import 'package:flutter/material.dart';
void main() {
runApp(new MaterialApp(home: new TestApplication()));
}
class TestApplication extends StatelessWidget {
final PageController _pageController = new PageController(initialPage: 1);
final int _pageIndex = 1;
View wiringpi_apa102.cpp
#include <wiringPi.h>
#include <wiringPiSPI.h>
#include <iostream>
#include <stdint.h>
int main() {
wiringPiSetup();
if(wiringPiSPISetup(0, 6000000) < 0) {
std::cerr << "wiringPiSPISetup failed" << std::endl;
}
View audio.cpp
#include "audio.hpp"
#include <algorithm>
#include <iostream>
AudioHandler::AudioHandler() {
//Initialize SDL mixer
if(Mix_OpenAudio(44100, MIX_DEFAULT_FORMAT, 2, 2048) < 0) {
std::cerr << "Mix_OpenAudio Error: " << Mix_GetError() << std::endl;
return;
View gorilla_closure_middleware.go
package main
import (
"fmt"
"net/http"
"github.com/gorilla/mux"
)
type httpHandlerFunc func(http.ResponseWriter, *http.Request)
You can’t perform that action at this time.