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
For 12.04, 12.10 and 13.10 (11.04 not affected) | |
sudo apt-get update | |
sudo apt-get upgrade | |
Check that | |
dpkg -l | grep openssl | |
returns | |
ii openssl 1.0.1-4ubuntu5.12 Secure Socket Layer (SSL)... | |
After upgrade do |
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
<?xml version="1.0" encoding="utf-8"?> | |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> | |
<SOAP-ENV:Header xmlns:xrd="http://x-road.ee/xsd/x-road.xsd“> | |
<xrd:consumer>10239452</xrd:consumer> | |
<xrd:producer>land-cadastre</xrd:producer> | |
<xrd:userId>EE30101010007</xrd:userId> | |
<xrd:id>3aed1ae3813eb7fbed9396fda70ca1215d3f3fe1</xrd:id> | |
<xrd:service>land-cadastre.cuAddres.v1</xrd:service> | |
<xrd:issue/> | |
</SOAP-ENV:Header> |
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
namespace :boot2docker do | |
desc 'Start VM from any states' | |
task :start do | |
%x(boot2docker start > /dev/null 2>&1) | |
end | |
desc 'Setup shell' | |
task :shellinit => [:start] do | |
# NOTE: this does not set the env, so we have to do something different | |
# %x($(boot2docker shellinit > /dev/null 2>&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
Using Volvo Leg; | |
- 6x Cellpower CPT200 6V 200Ah AGM deep cycle batteries | |
- Kellycontroller KBL36301 motor controller | |
- Motenergy ME0907 brushless motor (~ 383$, rated speed 3000rpm) | |
- F3618 36V 18A battery charger | |
- Volvo 110S saildrive leg | |
- Eliche Radice 14×7 folding propeller | |
From (http://jaap.orca-st.com/2011/11/saildrive-with-electric-motor/) |
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
> For communication between two components that don't have a parent-child relationship, you can set up your own global event system. | |
Simplest possible solution; nodejs own events; | |
var events = require('events'); | |
var eventEmitter = new events.EventEmitter(); | |
eventEmitter.on('event', function(x) { | |
console.log(x); | |
}); |
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
# Trying out https://github.com/petkivim/x-road-adapter-example using ruby | |
require 'savon' | |
xroad_header = { | |
"xrd:service": { | |
"id:xRoadInstance": "FI-DEV", | |
"id:memberClass": "XXX", | |
"id:memberCode": "XXX", | |
"id:subsystemCode": "XXX", |
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
- Tila: Nykytila. | |
- Tiimi: Otetaan joukko kehittäjiä jotka eivät ole olleet palveluväylän kanssa tekemisissä/ole siihen kytköksissä. | |
- Korvaus: Projekti on vähän työläs, että jokin korvaus tästä lienee paikallaan? | |
- Tavoite: Tehdä simppeli palvelu(=service) ja sille klientti palveluväylän päälle. Toteutuskieli avoin | |
(toki toivottavaa että muuta kuin java). Jos/kun tarvitaan serveriä niin voidaan sponssata sellaista aws/upcloud akselilta. | |
Ja toivoen niin että koko helahoito läpi, eli alkaa siitä kun asennetaan/plugataan turvapalvelin kiinni ja päättyy siihen että | |
palvelu hyrrää ja kutsut toimii. | |
- Tuki: Annetaan se tuki mitä nykyään on eli dokumentaatio/palveluväylä sposti. | |
Osallistujia pyydetään antamaan jatkuvaa palautetta siitä mitä tekä tekevät, mikä toimii, mikä ei. |
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
'use strict'; | |
var React = require('react-native'); | |
var { | |
AppRegistry, | |
StyleSheet, | |
Text, | |
View, | |
} = React; | |
var Drawer = require('react-native-drawer'); |
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
Winston WB-LYP300AHA. 386.65e @ http://www.ev-power.eu. | |
Weight: 10kg. Capacity 300ah. Nominal voltage of the cell is 3,2 V. Therefore 16 needed for 48v. | |
300AHr * 48V * 0.8 = 11.52kWh (LiFePO4 batteries can be discharged to 80%) | |
Battery cost: 6186e | |
WB-LYP160AHA. 203.45€ * 16= 3255e. | |
300Ahr * 48v *0.8 = 6.1kWh. | |
| Peukert’s exp (LiFePO4) | 1.03 | 1.03 | 1.03 | 1.03 | 1.03 | 1.03 | | |
| Hour Rating | 20 | 20 | 20 | 20 | 20 | 20 | |
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
require 'fluent/plugin/parser' | |
require 'csv' | |
module Fluent | |
module Plugin | |
class CSV2Parser < ValuesParser | |
Plugin.register_parser('csv2', self) |
OlderNewer