Skip to content

Margus Roo –

If you're inventing and pioneering, you have to be willing to be misunderstood for long periods of time

  • Cloudbreak Autoscale fix
  • Endast

iPhone4 4.3.1 how to boot in to tethered mode

Posted on March 26, 2011 by margusja

[Sat Mar 26 16:20:12 root@IRack ./tetheredboot -i /Users/margusja/Desktop/tetheredboot2/iBSS.n90ap.RELEASE.dfu -k /Users/margusja/Desktop/tetheredboot2/kernelcache.release.n90
Initializing libpois0n
No matching processes were found
Waiting for device to enter DFU mode
Device must be in DFU mode to continue
opening device 05ac:1227…
Found device in DFU mode
Checking if device is compatible with this jailbreak
Checking the device type
Identified device as iPhone3,1
Preparing to upload limera1n exploit
Resetting device counters
Sending chunk headers
Sending exploit payload
Sending fake data
libusb:error [darwin_transfer_status] transfer error: timed out
Exploit sent
Reconnecting to device
Waiting 2 seconds for the device to pop up…
opening device 05ac:1227…
Uploading /Users/margusja/Desktop/tetheredboot2/iBSS.n90ap.RELEASE.dfu to device
[==================================================] 100.0%
libusb:error [darwin_reset_device] ResetDevice: device not responding
libusb:error [darwin_close] USBDeviceClose: no connection to an IOService
Waiting 10 seconds for the device to pop up…
opening device 05ac:1281…
Setting to configuration 1
Setting to interface 0:0
Uploading /Users/margusja/Desktop/tetheredboot2/kernelcache.release.n90 to device
[==================================================] 100.0%
libusb:error [darwin_transfer_status] transfer error: device not responding (value = 0xe00002ed)
Exiting libpois0n

Posted in AppleLeave a comment

Convert latin1 to UTF-8 in MySQL

Posted on March 15, 2011 - March 15, 2011 by margusja

mysqldump -u root -p –default-character-set=latin1 -c –insert-ignore –skip-set-charset -r dump.sql latin1_dbname
file dump.sql
Non-ISO extended-ASCII HTML document text, with very long lines
iconv -f ISO8859-1 -t UTF-8 dump.sql > dump_utf8.sql
file dump_utf8.sql
UTF-8 Unicode HTML document text, with very long lines
perl -pi -w -e ‘s/CHARSET=latin1/CHARSET=utf8/g;’ dump_utf8.sql
mysqladmin -u user -p –default-character-set=utf8 create utf8_dbname; või mysql käsurealt: CREATE DATABASE `utf8_dbname` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
mysql -u user –max_allowed_packet=16M -p –default-character-set=utf8 utf8dbname < dump_utf8.sql

Posted in LinuxLeave a comment

Icecast stress test

Posted on March 11, 2011 - March 11, 2011 by margusja

Tükk aega mõtelesin, millega arendatavat icecast serverit testida. Leidsin streamripper nimelist tööriista.

Mul on 7-me kanaliga icecast server.


#!/bin/sh

URL=http://server:8000/channel.m3u
for i in 1 2 3 4 5 6 7 8 9 10
do
streamripper $URL -r &
sleep 5
done

 

 

Järgmine kord teen väikese skripti ka.

Posted in IT, LinuxLeave a comment

Eesti IT-maastiku hetkeline olukord

Posted on March 10, 2011 - March 10, 2011 by margusja

Posted in Fun, ITLeave a comment

Säästumarket suure loadi all

Posted on March 10, 2011 - March 10, 2011 by margusja

Käisin lõunal poes.

Säästukas rabas kahe CPU-ga. Samas ikka oli keskmine load ligi 20 per CPU. Masendav oli see, et kaks CPU slotti oli vaba veel.

Posted in FunLeave a comment

Keemia põhitõed

Posted on March 7, 2011 - March 28, 2011 by margusja

Molaarmassi arvutamine
index X elemendi aatomimass + element n

Näiteks M(H2O) e H2O molaarmass on 2×1+16=18g/mol

Õhu molaarmass 29g/mol

 

F                                                H                     F                                                H
I                                                  I                      I                                                  I
F – B(elektrofiil) + (nukleofiil) N – H <-> F-B (elektrofiil) – (nukleofiil) N-H  ehk siin on näha põhjus, miks BF(3)+NH(3)
I                                                  I                      I                                                  I
F                                                 H                    F                                                H

Posted in LinuxLeave a comment

How to create huge CPU load e kuidas tekitada suurt CPU koormust

Posted on February 23, 2011 - May 12, 2011 by margusja


md5sum < /dev/urandom


openssl speed

Posted in LinuxLeave a comment

Kuidas kopeerida root kasutaja all nii, et originaal failiõigused jääks alles kasutades tar käsku

Posted on February 22, 2011 by margusja

tar cf – * | ( cd /target; tar xfp -)

Posted in LinuxLeave a comment

curl and how to test web page header

Posted on February 22, 2011 by margusja


[Tue Feb 22 11:11:27 margusja@IRack curl -I margus.roo.ee
HTTP/1.1 200 OK
Date: Tue, 22 Feb 2011 09:20:45 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.14
X-Pingback: http://margus.roo.ee/xmlrpc.php
Vary: Accept-Encoding,User-Agent
Content-Type: text/html; charset=UTF-8

[Tue Feb 22 11:11:35 margusja@IRack

Posted in LinuxLeave a comment

DAS SAN NAS

Posted on February 19, 2011 - February 19, 2011 by margusja
  • DAS – Directly Attached Stprage
  • SAN – Storage area Network
  • NAS – Network Attached Storage

Posted in LinuxLeave a comment

Posts navigation

Older posts
Newer posts

The Master

Categories

  • Apache
  • Apple
  • Assembler
  • Audi
  • BigData
  • BMW
  • C
  • Elektroonika
  • Fun
  • Hadoop
  • help
  • Infotehnoloogia koolis
  • IOT
  • IT
  • IT eetilised
  • Java
  • Langevarjundus
  • Lapsed
  • lastekodu
  • Linux
  • M-401
  • Mac
  • Machine Learning
  • Matemaatika
  • Math
  • MSP430
  • Muusika
  • neo4j
  • openCL
  • Õpetaja identiteet ja tegevusvõimekus
  • oracle
  • PHP
  • PostgreSql
  • ProM
  • R
  • Turvalisus
  • Varia
  • Windows
Proudly powered by WordPress | Theme: micro, developed by DevriX.