This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # ---------------------------------------------------------------------------- | |
| # Written by Joakim Reinert <http://digital-adventures.de> | |
| # (c) 2012 Joakim Reinert under GNU GPL v3.0+ | |
| # Last updated on: Apr/29/2012 by Joakim Reinert | |
| # ---------------------------------------------------------------------------- | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package logic; | |
| import java.lang.reflect.InvocationTargetException; | |
| import java.util.HashSet; | |
| public class TileFactory<T extends AbstractTile> { | |
| private TilesSet<T> tiles; | |
| private Class<T> clazz; | |
| public TileFactory(Class<T> clazz) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| digraph G { | |
| D [shape="circle"]; | |
| A [shape="circle"]; | |
| S [shape="circle"]; | |
| C [shape="circle"]; | |
| B [shape="circle"]; | |
| E [shape="circle"]; | |
| root=S; | |
| S -> A [weight="1",label="1"]; | |
| S -> B [weight="2",label="2"]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| digraph G { | |
| B [shape="circle"]; | |
| A [shape="circle"]; | |
| D [shape="circle"]; | |
| C [shape="circle"]; | |
| E [shape="circle"]; | |
| S [shape="circle"]; | |
| root=S; | |
| S -> A [label="1"]; | |
| S -> B [label="2"]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package gui; | |
| import java.awt.Component; | |
| import java.awt.event.ActionEvent; | |
| import java.awt.event.ActionListener; | |
| import java.io.IOException; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| import java.util.Vector; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (isset($_POST['api_key'])) | |
| $api_key = $_POST['api_key']; | |
| else | |
| send_error_response('You need to provide your api key'); | |
| if (isset($_POST['api_sig'])) | |
| $api_sig = $_POST['api_sig']; | |
| else | |
| send_error_response('You need sign your calls'); | |
| if (isset($_POST['session'])) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SQL: [223] INSERT INTO food (name, carbs, fat, protein, alcohol, serving, serving_type, category, api_key, hash, brand) | |
| VALUES(:name, :carbs, :fat, :protein, :alcohol, :serving, :serving_type, :category, :api_key, :hash, :brand) | |
| Params: 11 | |
| Key: Name: [9] :category | |
| paramno=-1 | |
| name=[9] ":category" | |
| is_param=1 | |
| param_type=1 | |
| Key: Name: [13] :serving_type | |
| paramno=-1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| +-------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |
| | Table | Create Table | | |
| +-------+------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $host = 'localhost'; | |
| $user = 'bla'; | |
| $pass = 'bla'; | |
| $db = 'opendiet'; | |
| if (isset($_POST['api_key'])) | |
| $api_key = $_POST['api_key']; | |
| else | |
| send_error_response('You need to provide your api key'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2012-07-16 20:20:50 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for /home/jokke/workspace/OpenDiet/AndroidManifest.xml: Markup im Dokument nach dem Root-Element muss ordnungsgemäß formatiert sein. | |
| [2012-07-16 20:20:50 - OpenDiet] Error in an XML file: aborting build. |
OlderNewer