An implementation of a linked list in C99.
Node* root = (Node *) calloc(1, sizeof(Node));
fill(root, 10);
print(root);
reverse(root);
FROM ringo/scientific:6.6 | |
MAINTAINER [email protected] | |
# Prerequisities | |
RUN yum install -y \ | |
wget \ | |
zlib-devel && \ | |
yum groupinstall -y \ | |
"Development Tools" \ |
import os | |
from PySide import QtGui | |
# Use this to locate your widget; it will return the | |
# widget currently under your cursor. | |
# parent = QtGui.qApp.widgetAt(QtGui.QCursor.pos()) | |
# parent.objectName() | |
# Use this once you know the name of it, in this case "toolBar1" | |
# We can find it as a child of the main window. |
"""Full Example | |
From https://pyblish.gitbooks.io/pyblish-by-example/content/chapters/02-quickstart.html | |
Usage: | |
Copy and run this entire file in your Maya Script Editor | |
""" | |
import os |
"""Illustration of how to retrieve the shape under the mouse cursor | |
Usage: | |
Run `start()` to start listening for when the mouse stops and to display a tooltip | |
Run `stop()` to stop listening | |
""" | |
from maya import cmds | |
from PySide import QtGui, QtCore |
import types | |
# Mocked Pyblish module | |
pyblish = types.ModuleType('pyblish') | |
pyblish.api = types.ModuleType('api') | |
pyblish.api.CollectorOrder = 0 | |
pyblish.api.ValidatorOrder = 1 | |
pyblish.plugin = types.ModuleType('plugin') | |
pyblish.logic = types.ModuleType('logic') |
/* Getopt for GNU. | |
NOTE: getopt is now part of the C library, so if you don't know what | |
"Keep this file name-space clean" means, talk to drepper@gnu.org | |
before changing it! | |
Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001 | |
Free Software Foundation, Inc. | |
This file is part of the GNU C Library. | |
The GNU C Library is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Lesser General Public |
An elaboration of QML SceneGraph 1
python main.py --amount 100