This file contains 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
{ | |
"minimum-stability":"dev", | |
"repositories": [ | |
{ | |
"type": "vcs", | |
"url": "ssh://git@stash.staempfli.com:7999/stmagento/demotheme.git" | |
}, | |
{ | |
"type": "package", | |
"package": { |
This file contains 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 | |
$storageFile = __DIR__ . '/commitstrip.lock'; | |
$url = "http://www.commitstrip.com/en/feed/"; | |
$content = file_get_contents($url); | |
$xml = new SimpleXmlElement($content); | |
$item = $xml->channel->item[0]; | |
$title = (string)$item->title; | |
$link = (string)$item->link; | |
$date = (string)$item->pubDate; |
This file contains 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/bash | |
VERSION='1.0' | |
BASE_URL='http://www.magentocommerce.com/downloads/assets' | |
FILE="magento-$1.tar.gz" | |
DIRECTORY='magento' | |
if [[ -z "$1" ]]; then | |
echo "Please set a Magento CE version by using: mageload.sh 1.X.X.X" |
This file contains 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 | |
require_once 'app/Mage.php'; | |
$app = Mage::app(); | |
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); | |
$default = 100; | |
$api = new Mage_Catalog_Model_Product_Api(); | |
$attr_api = new Mage_Catalog_Model_Product_Attribute_Set_Api(); | |
$attribute_sets = $attr_api->items(); |
This file contains 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
/* | |
ntp_rtc_pomodoro | |
Needed Hardware | |
An Arduino or compatible board like: | |
http://arduino.cc/en/Main/ArduinoBoardEthernet | |
8 Digit Segment-Display with MAX7219 | |
http://www.play-zone.ch/de/8-zeichen-segment-display-mit-max7219.html |
This file contains 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
/* | |
rtc_8segement | |
Real Time Clock with 8 Digit Segment-Display | |
Needed Hardware | |
An Arduino or compatible board like: | |
http://www.play-zone.ch/de/elektronik-kit-zubehoer/avr-arduino-freeduino/boards-kompatibel/freaduino-v1-2-mit-atmega328-100-arduino-kompatibel.html |
This file contains 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
/* | |
ardREST | |
A REST API for the Arduino Ethernet board | |
inspired by RESTduino | |
Created by: | |
01/24/2012 by Marcel Hauri, http://m83.ch | |
Original idea by: Jason J. Gullickson's RESTduino |
This file contains 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
/* | |
A REST-style interface for the Arduino Ethernet Board. | |
Based on RESTduino: https://github.com/jjg/RESTduino | |
Adapted for the Arduino Ethernet Board | |
by Marcel Hauri | http://m83.ch | twitter.com/mhauri | |
*/ | |
#include <SPI.h> |
NewerOlder