Skip to content

Instantly share code, notes, and snippets.

@fffergal
fffergal / -
Created November 19, 2014 21:51
INSERT INTO news_cuttings (title, download, date_added) VALUES ('Adopt a strategic approach to cereal disease control - FarmBusiness', 'downloads/cuttings/FB_18.04.14.jpg', '2014-04-18');
INSERT INTO news_cuttings (title, download, date_added) VALUES ('Mike Forshaw on ProCam careers - Agronomist & Arable Farmer', 'downloads/cuttings/AAF_11.04.14.jpg', '2014-04-11');
INSERT INTO news_cuttings (title, download, date_added) VALUES ('Crop production in a climate change future - Agronomist & Arable Farmer', 'downloads/cuttings/AAF_11.04.14KT.pdf', '2014-04-11');
INSERT INTO news_cuttings (title, download, date_added) VALUES ('What shapes company culture? - Agronomist & Arable Farmer', 'downloads/cuttings/AAF_11.04.14RI.jpg', '2014-04-11');
INSERT INTO news_cuttings (title, download, date_added) VALUES ('Mike Forshaw on ProCam careers - FarmBusiness', 'downloads/cuttings/FB_04.04.14.jpg', '2014-04-04');
INSERT INTO news_cuttings (title, download, date_added) VALUES ('Early spray is needed to control yellow rust as
@fffergal
fffergal / gist:7902825
Created December 11, 2013 00:12
Sphinx extension for adding titles to autodoc classes.
from sphinx.ext.autodoc import ClassDocumenter
class TitledClassDocumenter(ClassDocumenter):
def add_directive_header(self, *args, **kwargs):
title_lines = [
self.object_name,
'=' * len(self.object_name),
'',
]
diff --git a/StockManager/src/stockmanager/AddItemScreen.form b/StockManager/src/stockmanager/AddItemScreen.form
index f9524b1..504b59a 100644
--- a/StockManager/src/stockmanager/AddItemScreen.form
+++ b/StockManager/src/stockmanager/AddItemScreen.form
@@ -2,11 +2,16 @@
<Form version="1.3" maxVersion="1.8" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">
<Properties>
- <Property name="defaultCloseOperation" type="int" value="2"/>
+ <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
hey hey hey