Skip to content

Instantly share code, notes, and snippets.

Dušan Juretić djuretic

Block or report user

Report or block djuretic

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
@djuretic
djuretic / Dockerfile
Created Mar 20, 2018
PHP 5.6 Apache with SqlServer support in Docker
View Dockerfile
FROM php:5.6-apache
RUN apt-get update && apt-get install -y freetds-common freetds-bin freetds-dev unixodbc
RUN ln -s /usr/lib/x86_64-linux-gnu/libsybdb.a /usr/lib/
RUN docker-php-ext-install mssql
@djuretic
djuretic / voltage.ino
Created Jul 27, 2014
Microview voltage
View voltage.ino
#include <MicroView.h>
void setup(){
uView.begin();
uView.clear(PAGE);
pinMode(A0, INPUT);
digitalWrite(A0, HIGH);
}
void loop(){
@djuretic
djuretic / vocabs.py
Created Oct 8, 2013
Skritter API: get vocabs
View vocabs.py
from base64 import b64encode
from pprint import pprint
# pip install requests
import requests
# Configuration variables, see examples on http://beta.skritter.com/api/v0/docs/authentication
OAUTH_CLIENT_NAME = ''
OAUTH_CLIENT_SECRET = ''
# which account do you want to access?
USER_NAME = ''
You can’t perform that action at this time.