Skip to content

Instantly share code, notes, and snippets.

Duane Bekaert Marneus68

Block or report user

Report or block Marneus68

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
@connerbrooks
connerbrooks / cgd-werc.service
Last active Jan 8, 2018
cgd for swerc or werc with systemd
View cgd-werc.service
[Unit]
Description=Job that runs cgd for my cool swerc site.
[Service]
Type=simple
ExecStart=/home/cbrooks/develop/bin/cgd -f -c /home/cbrooks/swerc/bin/werc.rc
@OsandaMalith
OsandaMalith / obfuscated.cpp
Last active May 19, 2019
Obfuscating a String using C++
View obfuscated.cpp
/??/
* Title: Obfuscating a String using C++
* by @OsandaMalith
*??/
/
??=include <iostream>
??=include <string>
??=include <stdlib.h>
@TjWallas
TjWallas / AndroidVimeo.java
Created Apr 22, 2013
Embedding Vimeo Videos using WebView on Android
View AndroidVimeo.java
//Auto playing vimeo videos in Android webview
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.getSettings().setAppCacheEnabled(true);
mWebView.getSettings().setDomStorageEnabled(true);
// how plugin is enabled change in API 8
if (Build.VERSION.SDK_INT < 8) {
mWebView.getSettings().setPluginsEnabled(true);
} else {
mWebView.getSettings().setPluginState(PluginState.ON);
@btoone
btoone / curl.md
Last active May 6, 2020
A curl tutorial using GitHub's API
View curl.md

Introduction

An introduction to curl using GitHub's API.

The Basics

Makes a basic GET request to the specifed URI

curl https://api.github.com/users/caspyin
@joergschiller
joergschiller / a2dp_sink_ubuntu_linux.md
Created Jan 24, 2012
A2DP Sink on Ubuntu Linux with bluez (streaming bluetooth stereo audio from smartphone to pc)
View a2dp_sink_ubuntu_linux.md

Howto Enable and Use A2DP Sink on Ubuntu Linux with Bluez

  1. Add Enable=Source to /etc/bluetooth/audio.conf right after [General].

  2. Find address in form XX:XX:XX:XX:XX:XX of phone with hcitool scan.

  3. Pair and trust smartphone with sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX and sudo bluez-test-device trusted XX:XX:XX:XX:XX:XX yes.

  4. Create loopback in pulseaudio connection bluetooth a2dp source with alsa sink:

@kinopyo
kinopyo / gist:1062397
Created Jul 3, 2011
How to install coffee-script, and how to enable textmate bundler to compile coffeescript
View gist:1062397
# don't forget to update your port tree first
sudo port selfupdate
# install coffee script using macport
sudo port install nodejs
node -v
# install npm - the Node Package Manager
git clone http://github.com/isaacs/npm.git
cd npm
You can’t perform that action at this time.