This file contains hidden or 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
STRAVA_CLIENT_SECRET=Your client Secret | |
STRAVA_ACCESS_TOKEN=Your Access Token | |
STRAVA_CLIENT_ID=Your client ID | |
STRAVA_REDIRECT_URI=Something you won't need | |
COOKIE=Cookie from website |
This file contains hidden or 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
[ | |
{ | |
"Id": "221", | |
"Name": "LivePhish+", | |
"Version": "1.1", | |
"Uri": "https://sonos.nugs.net/soap/livephish", | |
"SecureUri": "https://sonos.nugs.net/soap/livephish", | |
"ContainerType": "SoundLab", | |
"Capabilities": "6675", | |
"Auth": "UserId", |
This file contains hidden or 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
diff --git a/src/synaptics.c b/src/synaptics.c | |
index 550b31c..1af7879 100644 | |
--- a/src/synaptics.c | |
+++ b/src/synaptics.c | |
@@ -1796,7 +1796,7 @@ SynapticsDetectFinger(SynapticsPrivate * priv, struct SynapticsHwState *hw) | |
/* palm detection */ | |
- if ((hw->z > para->palm_min_z) && (hw->fingerWidth > para->palm_min_width)) | |
+ if (hw->z > para->palm_min_z) |
This file contains hidden or 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
FROM go_clean | |
RUN mkdir -p /go/src | |
VOLUME /mnt | |
COPY ./src/jamendo /go/src/jamendo | |
COPY ./src/soap /go/src/soap | |
COPY ./src/sonos /go/src/sonos | |
COPY ./static /static |
This file contains hidden or 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
FROM ubuntu | |
MAINTAINER Pascal Opitz, [email protected] | |
RUN apt-get update && apt-get install -y \ | |
build-essential \ | |
curl \ | |
git \ | |
make | |
# Get and compile go |
This file contains hidden or 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
package main | |
import "io" | |
import "os" | |
import "os/exec" | |
import "log" | |
import "net/http" | |
const TRANSCODER_FORMAT = "mp3" |
This file contains hidden or 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
package main | |
import ( | |
"encoding/xml" | |
"fmt" | |
) | |
const data = `<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> | |
<soapenv:Header> | |
<ns:credentials> |
This file contains hidden or 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
requirejs = require('requirejs').config({ | |
baseUrl: (function(){ | |
var dir_tokens = __dirname.split('/'); | |
dir_tokens.pop(); | |
dir_tokens.push('lib'); | |
return dir_tokens.join('/'); | |
})(), | |
//Pass the top-level main.js/index.js require | |
//function to requirejs so that node modules | |
//are loaded relative to the top-level JS file. |
This file contains hidden or 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
<?php | |
namespace Testapp\Controller; | |
use Silex\Application; | |
use Silex\ControllerProviderInterface; | |
use Silex\ControllerCollection; | |
use Testapp\Form; | |
class Test implements ControllerProviderInterface |
This file contains hidden or 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
An example of how to use Pimple DI with ZF 1.x |
NewerOlder