Skip to content

Instantly share code, notes, and snippets.

View sergio1990's full-sized avatar
🇺🇦

Serhii Herniak sergio1990

🇺🇦
View GitHub Profile
@sergio1990
sergio1990 / betfair_request_ssoid.rb
Last active December 22, 2016 17:24
Request ssoid for accesing API-NG betfair.com
require "net/https"
require "uri"
crt = File.read("client-2048.crt")
key = File.read("client-2048.key")
app_key = "YOUR_APP_KEY"
username = "YOUR_USERNAME"
password = "YOUR_PASSWORD"
@sergio1990
sergio1990 / 02.make
Created October 23, 2013 18:19
qt5 make output on Mac OS 10.9
This file has been truncated, but you can view the full file.
cd qtbase/ && ( test -e Makefile || /private/tmp/qt5-NNzL/qt-everywhere-opensource-src-5.1.1/qtbase/bin/qmake /private/tmp/qt5-NNzL/qt-everywhere-opensource-src-5.1.1/qtbase/qtbase.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
cd src/ && ( test -e Makefile || /private/tmp/qt5-NNzL/qt-everywhere-opensource-src-5.1.1/qtbase/bin/qmake /private/tmp/qt5-NNzL/qt-everywhere-opensource-src-5.1.1/qtbase/src/src.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
cd qmake/ && ( test -e Makefile.qmake-docs || /private/tmp/qt5-NNzL/qt-everywhere-opensource-src-5.1.1/qtbase/bin/qmake /private/tmp/qt5-NNzL/qt-everywhere-opensource-src-5.1.1/qtbase/qmake/qmake-docs.pro -o Makefile.qmake-docs ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.qmake-docs
make[2]: Nothing to be done for `first'.
cd tools/bootstrap/ && ( test -e Makefile || /private/tmp/qt5-NNzL/qt-everywhere-opensource-src-5.1.1/qtbase/bin/qmake /private/tm
@sergio1990
sergio1990 / 01.configure
Created October 23, 2013 18:17
qt5 configure output on Mac OS 10.9
+ cd qtbase
+ /private/tmp/qt5-NNzL/qt-everywhere-opensource-src-5.1.1/qtbase/configure -prefix /usr/local/Cellar/qt5/5.1.1 -system-zlib -confirm-license -opensource -nomake examples -release -L/opt/X11/lib -I/opt/X11/include -arch x86_64
This is the Qt Open Source Edition.
You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You have already accepted the terms of the license.