Skip to content

Instantly share code, notes, and snippets.

@ultramcu
ultramcu / Hierarchies.qml
Created June 30, 2013 14:55
QML element hierarchies
/*
QML element hierarchies
Author : MaIII Themd
Website : http://miiniq.blogspot.com
FB : http://www.facebook.com/PiShared
Env : Qt 5.0.2 clang 64 bit OSX 10.8.4
*/
@ultramcu
ultramcu / QMLandJavascript
Created June 30, 2013 20:47
Using QML and Javascript
/*
Using QML and Javascript
Author : MaIII Themd
Website : http://miiniq.blogspot.com
FB : http://www.facebook.com/PiShared
Env : Qt 5.0.2 clang 64 bit OSX 10.8.4
*/
import QtQuick 2.0
@ultramcu
ultramcu / objIdAndNavigating
Created July 1, 2013 14:28
QML Objects ID and Navigating the Objects Tree
/*
Objects ID and Navigating the Objects Tree
Author : MaIII Themd
Website : http://miiniq.blogspot.com
FB : http://www.facebook.com/PiShared
Env : Qt 5.0.2 clang 64 bit OSX 10.8.4
*/
@ultramcu
ultramcu / textbox_delegate
Created July 2, 2013 18:19
Textbox and Delegate C#
public delegate void delegate_write_output(String s); private void write_output(string str) { if (txt_output.InvokeRequired) { txt_output.Invoke(new delegate_write_output(write_output), new object[] { str }); } else { txt_output.AppendText(str + "\r\n"); } }
/***********************
*Author Ultra MCU
* Website : http://miiniq.blogspot.com/
* */
#include <bcm2835.h>
#include <stdio.h>
void main()
{
bcm2835_init();
@ultramcu
ultramcu / image_animation_I.qml
Created July 3, 2013 18:44
Element Image and Animation part I (NumberAnimation)
/*
Element Image and Animation part I (NumberAnimation)
Author : MaIII Themd
Website : http://miiniq.blogspot.com
FB : http://www.facebook.com/PiShared
Env : Qt 5.0.2 clang 64 bit OSX 10.8.4
*/
@ultramcu
ultramcu / qml_parallel_ani.qml
Created July 10, 2013 18:50
QML PropertyAnimation ParallelAnimation
/*
QML Animation
- NumberAnimation
- PropertyAnimation
- SequentialAnimation
- ParallelAnimation
Author : MaIII Themd
Website : http://miiniq.blogspot.com
FB : http://www.facebook.com/PiShared
@ultramcu
ultramcu / qml_sequential_animation.qml
Created July 10, 2013 18:59
QML SequentialAnimation PropertyAnimation
/*
QML Animation
- NumberAnimation
- PropertyAnimation
- SequentialAnimation
- ParallelAnimation
Author : MaIII Themd
Website : http://miiniq.blogspot.com
FB : http://www.facebook.com/PiShared
@ultramcu
ultramcu / nginx.conf
Created July 11, 2013 06:02
example nginx config file
server {
listen 80;
root /var/www/html;
index index.php index.html index.htm;
# Make site accessible from http://localhost/
server_name miiniq.com;
location = /robots.txt { access_log off; log_not_found off; }
location ~ ~$ { access_log off; log_not_found off; deny all; }
@ultramcu
ultramcu / qml_fontloader.qml
Created July 17, 2013 06:42
QML FontLoader
/*
QML FontLoader
Author : MaIII Themd
Website : http://miiniq.blogspot.com
FB : http://www.facebook.com/PiShared
Env : Qt 5.0.2 clang 64 bit OSX 10.8.4
*/
import QtQuick 2.0