Nikkei 225 index, NKY
Source: Nikkei 225 index – IndexQ.org
Nikkei 225 index, NKY
Source: Nikkei 225 index – IndexQ.org
Posted in etf
Posted in etf
idee: renommierter indexersteller
ziel: absolute return index finden, möglichst wirtschaftskrisen-resistent, langfristinvestment.
problem: erstellt sehr viele indizes, historische charts nötig, kritische drittinfos finden
zwischenergebis: msci world ist gut, hatte aber extreme schwankungen anl weltwirtschaftskrise 2009, msci world min volatility scheint besser geeignet.
Posted in etf
Laws derived from usenet-discussions, i.e. if a thread grows big enough for sure one is to compare a poster to the nazis and so on:
http://www.bruhaha.de/laws.html
google translation:
In the discussions in the Usenet there are always certain reactions, which signify the end of the actual discussion, for the objection is the expression of complete helplessness and lack of argument. These reactions can be systematically assigned to the so-called "Usenet Laws", although there have also been some very few extensions.
Posted in The Net
Typical Con: You are not allowed to do that, because jada jada..
Typical Pro: Depends on the jurisdiction youre in and the purpose your question serves jada jada..
My answer: shut the fuck up, thats not what i wanted to know, go mind your own bussines. stop patronizing.
Another useless question that always arises when someone wants to have information about a subject that might also have to do with criminal activities (such as discussion about knifes, drugs i.e.). Typical thread-killer.
Proposed standard-answer: It is everybodies own concern to behave right and commit no crime. Mind your own bussines. Only because of a request for information do not judge that the person would commit illegal activites. Rather ask which scientific interest the thread-starter has, so you could help him with your own scientific knowledge. If you dont have one, mute.
Also of interest:
https://en.wikipedia.org/wiki/Presumption_of_innocence
install ssh server on android. full list of keyboard-codes here:
http://stackoverflow.com/questions/7789826/adb-shell-input-events
sorry, the indents are lost cause of wpress editor..
#!/usr/bin/env python
import paramiko
import termios, fcntl, sys, os
hostname = '192.168.x.x'
port = 22
username = 'user'
password = 'password'
ssh = paramiko.SSHClient()
ssh.load_system_host_keys()
ssh.connect(hostname, port, username, password)
def volume_down():
stdin, stdout, stderr = ssh.exec_command("input keyevent 25")
stdin.write('lol\n')
stdin.flush()
out= stdout.read
print out
def volume_up():
stdin, stdout, stderr = ssh.exec_command("input keyevent 24")
stdin.write('lol\n')
stdin.flush()
out= stdout.read
print out
def read_single_keypress():
"""Waits for a single keypress on stdin.
This is a silly function to call if you need to do it a lot because it has
to store stdin's current setup, setup stdin for reading single keystrokes
then read the single keystroke then revert stdin back after reading the
keystroke.
Returns the character of the key that was pressed (zero on
KeyboardInterrupt which can happen when a signal gets handled)
"""
import termios, fcntl, sys, os
fd = sys.stdin.fileno()
# save old state
flags_save = fcntl.fcntl(fd, fcntl.F_GETFL)
attrs_save = termios.tcgetattr(fd)
# make raw - the way to do this comes from the termios(3) man page.
attrs = list(attrs_save) # copy the stored version to update
# iflag
attrs[0] &= ~(termios.IGNBRK | termios.BRKINT | termios.PARMRK
| termios.ISTRIP | termios.INLCR | termios. IGNCR
| termios.ICRNL | termios.IXON )
# oflag
attrs[1] &= ~termios.OPOST
# cflag
attrs[2] &= ~(termios.CSIZE | termios. PARENB)
attrs[2] |= termios.CS8
# lflag
attrs[3] &= ~(termios.ECHONL | termios.ECHO | termios.ICANON
| termios.ISIG | termios.IEXTEN)
termios.tcsetattr(fd, termios.TCSANOW, attrs)
# turn off non-blocking
fcntl.fcntl(fd, fcntl.F_SETFL, flags_save & ~os.O_NONBLOCK)
# read a single keystroke
try:
ret = sys.stdin.read(1) # returns a single character
except KeyboardInterrupt:
ret = 0
finally:
# restore old state
termios.tcsetattr(fd, termios.TCSAFLUSH, attrs_save)
fcntl.fcntl(fd, fcntl.F_SETFL, flags_save)
return ret
while 1:
key=read_single_keypress()
#print int(key)
if key=="0":
sys.exit()
if key=="\x1b": #ESC
sys.exit()
if key=="\x03": #ctrl-c
sys.exit()
if key=="+":
volume_up()
if key=="-":
volume_down()
print 'key is',key
s.close()
Posted in misc
Tagged android, buttons, keyboard events, python, remote control, ssh, volume
sshpass -p ” ssh root@x.x.x.x(android ip) ‘input keyevent 25’
sshpass -p ” ssh root@x.x.x.x(android ip) ‘input keyevent 24’
shell command:
input keyevent 24
(sshpass to provide password under linux, ommit if not needed)
“Software Restriction Policies” verhindern die Ausführung von Schadsoftware im Userkontext. Windows Backup schützt vor Datenverlust.
Windows Backup
1. Administratorkonto mit Passwort einrichten
2. UAC auf höchste Stufe einstellen
3. Alle User auf “Standard”-User einstellen, keine Admin-Rechte bei den Usern
-> das verhindert noch nicht User-Trojaner, ermöglicht aber die Erstellung eines Backup, dass der User (somit auch ein User-Virus) nicht zerschießen kann
–> weiters sind UAC Fragen ab sofort passwortgesichert, das hilft gegen Userfehler, wie der irrtümlichten Bestätigung einer UAC Abfrage
4. Windows Backup (Start-Suchen-“Sicherung”) einrichten. Darauf achten, dass das Ziellaufwerk des Backup als Dateisystem NTFS hat (nicht ein FAT; sonst werden die Dateirechte nicht gesetzt)
–> Das System ist damit so gesichert, dass das Backup von einem User-Schädling nicht kompromitiert werden kann.
SRP – Software Restriction Policy – nur installierte Programme ausführen (Programme Verzeichnisse)
5. Software Restriction Policy einstellen: Es sollen nur noch Programme aus dem Windows- und den Programme-Verzeichnissen ausgeführt werden.
Grund dafür ist, dass diese Verzeichnisse nur mit Administratorrechten beschrieben werden, somit nur vom Admin installierte Programme dort abgelegt wurden. downloads, Mail-Attachments etc landen in einem Ordner unter %SystemDrive%/User/ und sind damit ausgesperrt. Damit kann aus Mail-Attachments etc. kein Schädling mehr gestartet werden (die in irgendeinem User-Verzeichnis zwischengespeichert werden vor Ausführung, zb temp). Programme-Verzeichnisse sind nur für den Administrator beschreibbar (siehe unter Punkt 3.).
-Start-Ausführen: secpol.msc – rechte Maustaste – als Administrator starten
-Policy auf “alles blocken” einstellen, Pfadausnahmen hinzufügen für : Windows, Programme, Program Files
Preventing computer malware by using Software Restriction Policies.
https://technet.microsoft.com/en-us/library/cc507878.aspx
->explizite Pfadfreigaben für die Verzeichnisse: Programme, Program Files hinzufügen
->Wenn unbedingt notwendig, weitere Pfadfreigaben aus dem Userkontext hinzufügen, falls notwendig (Dropbox); Achtung, Unterverzeichnisse werden mitfreigegeben
-> keinesfalls %temp%, Downloads-folder oä zu den Ausnahmen hinzufügen, genau dort werden zumeist User-Viren etc gespeichert
Weiterführende Links:
http://schneegans.de/computer/safer/
add1.: Auf Wiki wird empfohlen UAC überhaupt auf automatisch ablehnen zu stellen und damit für administrative Aufgaben den Kontenwechsel zu erzwingen: https://de.wikipedia.org/wiki/Benutzerkontensteuerung#H.C3.BCrde_oder_B.C3.BCrde.3F
Add2.: Auf Dateiattributebene kann das Ausführen ebenfalls verhindert werden. Das Ausführen-Recht ist unter Windows aber mit anderen Rechten verknüpft, sodass an Dateien/Verzeichnissen nicht einfach das Ausführen-Recht vom User weggenommen werden kann, ohne dass der User notwendige Funktionen verliert.
features whislist:
-send any file type
-direct voice recording
-no more 400KB message limit
-signal app open as tab in chrome instead own window
-app version that dont access adress-book at all for paranoid people
beta signal desktop sign in:
https://whispersystems.org/blog/signal-desktop/
support:
ein problem ist dieser glaube, dass die menschenrechte die durchsetzung von recht und ordnung behindern. das ist eines sozialisten komplett unwürdig, da meiner meinung nach eine extreme rechtsaussenposition. gerade um gerechtigkeit zu ermöglichen haben wir die menschenrechte, nicht trotz oder so. sie sind auch kein luxus, sondern eine errungenschaft des zivilisatorischen fortschritts. sich auf die ebene der steinzeitmenschen zurückzubegeben soll genau wobei helfen?
in:
Regierung begründet Maßnahme mit Ausnahmezustand
Posted in The Net
Paris, Anschläge – Beide Links lesen und selber dazu eine Meinung bilden: http://www.ekathimerini.com/203434/article/ekathimerini/news/holder-of-syrian-passport-found-in-paris-attack-sought-asylum-in-serbia …http://efganidoenmez.at/2015/05/25/weckruf-salafistische-terroristen-werden-seit-jahren-in-eu-beitrittskandidatenlaendern-in-stellung-gebracht-beispiel-mazedonien/ …
Posted in austrian_politics, Uncategorized
Those records are routinely sold to law enforcement customers, according to the Intercept’s reporting, and most damningly, include inmate conversations with lawyers that are meant to be protected by the privacy of attorney-client privilege.
Source: SecureDrop Leak Tool Produces a Massive Trove of Prison Docs | WIRED
Posted in The Net
Fefe bringts auf den Punkt:
” “Pseudo-Anonymous”. Von Software vorgetragene Anfeindungen und Revolutionsaufrufe. Ach, eigentlich: Von Software vorgetragenes Irgendwas reicht schon. WTF. Wenn das eh als Text vorliegt, dann erspar mir die Zeitverschwendung mit Youtube und schreib es als Text irgendwo hin, wo ich es überfliegen kann, ohne mich mit deinem Selbstdarsteller-Bullshit auseinandersetzen zu müssen.
Empörungsrekordversuche und prätenziöse “JEDES. WORT. WIRD. BEI. UNS. EINZELN. BETONT.”-Getue. Aber auch generell kann ich Leute nicht leiden, die in ihren Sätzen einstudierte Betonungen drin haben, damit das dramatischer klingt. Wenn dein Content ohne Theatralik nicht interessant genug ist, ist es auch mit Theatralik nicht interessant genug. Das ist mir besonders bei der Gamergate- und “Männerrechtler”-Ecke negativ aufgefallen. Wenn das nur 5 Minuten sind: Geschenkt. Aber da gibt es so Leute, die eine halbe Stunde lang dramatische Stimmlage haben und empörungsschwanger die fiesen Feministen anklagen. Kann ich überhaupt gar nicht ertragen, sowas. Würde ich auch in die Gegenrichtung nicht ertragen können, aber da habe ich sowas noch nicht gesehen.
Ankündigungen. Leute, die minutenlang ankündigen, was sie alles aufklären werden in diesem Video. Das finde ich auch unerträglich, wenn das dann wirklich später aufgeklärt wird. Aber im Allgemeinen kommt danach nichts.”
Posted in The Net
generic:
first, find all files recursively (not directories) beginning from the actual directory:
find . -type f
then move those files after they have been found:
find . -type f -exec mv \{\} . \;
Â
for mp3:
find /path/to/mp3s -name *.mp3 -exec mv \{\} /path/to/target/dir \;
Posted in The Net
use:
/usr/bin/pasuspender /bin/true
to reload the thing.
https://askubuntu.com/questions/372409/no-sound-audio-after-resuming-from-sleep
best guide ever:
http://ubuntuforums.org/showthread.php?t=843012
essentially:
in /etc/modprode.d/alsa-base there are some lines added “prevent bogus sound drivers from loading” – just exlude usb-sound from there and x7 works again.
Investigating the needed software, state of affairs is:
Android Calendar and Contact Sync is possible via ActiveSync. There is a open source replacement for ActiveSync which claims to be compatible, which is z-push.
Overview of Active Sync enabled Linux Software:
http://serverfault.com/questions/35842/exchange-server-replacement-that-runs-on-linux
Nice to have would be:
-easy install and setup – one package, no separate config of database or external programs needed
-lightweight
Now evaluating:
–Kolab Groupware, claims to have ActiveSync
Posted in PrivateCloud
Tagged active sync, android sync, exchange alternative, z-sync
Norway – good speeds from the middle or Europe to Norway. Norwegian people rejected data retention some time ago. Good location for a proxy/web-out vpn endpoint.
Seafile – can sync multiple folders, contrary to dropbox. Community Edition is somewhat fiddlish to configure, consider using the Pro edition which is free but limited to some users
Owncloud – seems to have CalDAV Calender sync support, according to Seafile forum lacks synch speed
Posted in PrivateCloud
Tagged alternatives, dropbox, ersatz, owncloud, private cloud, seafile
-install postfix
-echo “<name>@<externalserver>” > /root/.forward
Das Posting ist unsachlich.
Laut Duden ist Sachlichkeit:
Kühle, Neutralität.
http://www.duden.de/rechtschreibung/Sachlichkeit
Sachlichkeit bedeutet, nicht emotional zu reagieren, neutral zu bleiben.
Sachlichkeit erreicht man durch Wissenschaftlichkeit
Warum ist Sachlichkeit in einer Diskussion notwendig?
Da die Diskussion sonst zu einer Debatte wird.
https://de.wikipedia.org/wiki/Diskussion#Diskussionsstile
https://de.wikipedia.org/wiki/Debatte
Posted in The Net
Shell script for bitcoind to know how far it has already synced. Show the newest block that is synced.
Get Time of newest Block:
Open Dolphin
In dolphin, enable previews then go to
Settings, Configure Dolphin.
General, Previews
Put a check in Video File
The Thumbnails created by Dolphin will be shown in Thunar too! Works for GoPro Mp4 files.
for manual fiddling: see the config files in /usr/share/thumbnailers – I think those are only used by thunar not dolphin.
tweet your consent to #blockthebudget
tell your epm to support the campaign:
http://www.europarl.europa.eu/meps/en/map.html
more infos:
… nobody can claim to not have known …
Posted in Uncategorized
Tagged blockthebudget, eu, euroopean-union, mare nostrum, refugees
http://www.heise.de/thema/Fukushima
i.e.:
Fukushima: 300 Tonnen hochradioaktives Wasser ausgetreten
http://www.heise.de/newsticker/meldung/Fukushima-300-Tonnen-hochradioaktives-Wasser-ausgetreten-1939057.html
ever tried to change rights of multiple folders by moving them into a subfolder and changing rights of subfolder? when moving back the folders to their original location they re-inherit from the parent folder by default. seems that the gui has no feature to turn off inheritance for subsequent folders.
use this command to turn off inheritance of rights from parent folders.
icacls *.* /inheritance:d
Posted in adds, domain, folder rights, sbs, The Net
Tepco hat das AKW auch zwei Jahre nach dem Unfall noch nicht unter Kontrolle, wovon auch eine überwältigende Mehrheit der Japaner überzeugt ist
http://support.microsoft.com/dhttp://blog.fefe.de/?ts=a8c8bfacefault.aspx?scid=kb%3ben-us%3b981939
http://blog.korteksolutions.com/the-sbsmonitoring-database-is-nearing-maximum-size-on-sbs-2008/
complete bullshit of a problem.
not yet succeeded, will keep you posted
update: no fix found yet. no more small business server. wait, what? ms does not do sbs anymor? haha, just a name change..
Posted in The Net
Tagged 4gb, exceed, sbs, sbs2008, sbsmonitoring, size limit, too big
Video rocks
if you get the status message “low internal memory” your phone memory has gone from ca 337mb free memory to something like <70mb free ram. it is not a problem with the internal sd-memory, but the limited amount of ram of the galaxy, which was advertised of having 512mb ram, but effectively one can only use 337mb, as system processes or else use the other space.
the message is due to running processes that consume a lot of memory, usually resident daemons that a user installs, such as keyboard apps or else.
one thing you can do to get rid of the message, is to stop those services. if you need them running, try moving them to the sd-card, so they consume less internal ram.
to see the memory consumption which triggers the message go to
settings and see the memory indicator there.
another thing you can do, if youre using a mod, is moving things out of /datadata, see this script:
http://forum.xda-developers.com/showthread.php?t=1444333
another thing that presumeably could be done to increase the threshold value for the message beeing triggered. still to be found out if there is such a setting somewhere in android/cyanogenmod.
update 09/21/2012: Message seems to be gone in Cyanogenmod10 (currently only nightly buidl available for the i9000)
update 19/07/2013: no more message since Cyanogenmod10 – 10.1
ls -l -R | awk ‘/^-/ && $1=$1’ OFS=”,” >filename
only path and files
ls -LR > tester
for windows use cygwin
“Artikel 142. (1) Der Verfassungsgerichtshof erkennt über die Anklage, mit der die verfassungsmäßige Verantwortlichkeit der obersten Bundes- und Landesorgane für die durch ihre Amtstätigkeit erfolgten schuldhaften Rechtsverletzungen geltend gemacht wird.
(2) Die Anklage kann erhoben werden:
a)
gegen den Bundespräsidenten wegen Verletzung der Bundesverfassung: durch Beschluss der Bundesversammlung;
b)
gegen die Mitglieder der Bundesregierung und die ihnen hinsichtlich der Verantwortlichkeit gleichgestellten Organe wegen Gesetzesverletzung: durch Beschluss des Nationalrates;”
vgl. art 53 abs 3 b-vg
• Schwarzseher • profil online.pdf
Some essential steps to get openvpn-roadwarrior-clients to use the openvpn-server as a default gateway for internet access (using centos):
set ip_forward to 1 on the server to enable traffic forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
poke some holes and paths into iptables:
(assuming your openvpn-server is bound to 10.8.0.0 and eth0 is your server´s inet-interface)
(make sure your openvpn uses network adresses no one other uses otherwise you get routing problems when your clients are in a wlan that uses the same ip´s as your tunnel)
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT iptables -A FORWARD -j REJECT iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
make those iptables rules survive reboot:
put rules in
rc.local
make dns requests beeing answered by your server to the clients: install dnsmasq
put openvpn ip in dnsmasq config as listening interface
modify openvpn.conf (forget server.conf) on the server, add the following if not yet present:
(the following assumes you got a working server-conf already! push-command will modify clients routing tables)
#assign ip and port to server server 10.8.0.0 255.255.255.0 port 1234 #ping clients to avoid tunnel breakdowns which would lead to traffic changing ip all of a sudden keepalive 10 120 #not sure which one of those two is effecitve, so left both push "redirect-gateway def1 bypass-dhcp" push "redirect-gateway def1" #make clients use dnsmasq push "dhcp-option DNS 10.8.0.1" #make clients use vpn-server as network gateway; this avoids the need to fidle with your clients routing tables, if redirect-gateway didnt do what it should push "route 10.8.0.0 255.255.255.0" #add the following if your clients should be able to reach each other client-to-client #following are disabled, many suggest some of them, dont know if really useful #tun-mtu 1492 #fragment 1300 #mssfix #adjust following to your needs - a lot is logged in /var/log/messages anyway status /var/log/openvpn.log verb 4
simple client config for openvpn (windows) or tunnelblick (mac) suffices:
#never tcp, tcp over tcp is bullshit proto udp dev tap ns-cert-type server tls-client client mssfix remote <ip of server> <port of server> ca <path/file> cert <path/file> key <path/file>
if using android as a client (cyanogenmod got openvpn built in) be sure to convert your keys to a p12 file by converting and renaming to .p12, for win i.e.:
(first import certificate into certmgr then export then rename to .p12)
http://www.abtevrythng.com/2010/06/adding-cer-certificates-on-your-android.html
or this in linux
openssl pkcs12 -export -in client.crt -inkey client.key -certfile ca.crt -name client -out certs.p12
http://forum.xda-developers.com/showthread.php?t=1061946&page=1173
my cyanogenmod 7.1 need a “modprobe tun” to make openvpn work (even when using tap), so be sure to make that on boot:
http://wiki.cyanogenmod.com/wiki/OpenVPN
Posted in The Net
Tagged android, default gateway, dnsmasq, gateway, iptables, ip_forward, nat, network gateway, openvpn, tunnelblick
Musts&good2have
– openvpn client ( best with standard key file support instead of only pks-files (cm7))
-no grafix stutter
– root access
-iptables gui
-console
-wlan hotspot
-modem function
-os update online from within previous os version without loss of data/apps
-browser: always loas last site (back button) from cache
http://www.newscientist.com/article/mg20126951.700-electronic-cigarettes-a-safe-substitute.html (with costs / kostenpflichtig)
german translation (free):
Posted in e-smoke
Tagged arzneimittel, dampfen, e-rauchen, e-smoke, e-zigarette, ego-t, eintzug, medizinprodukte, nicorette, nikotin, propylenglycol, rauchen, raucherentwöhnung, vegetal glycerine
Lasst euch nicht verscheissern, macht euch schlau, es ist NICHT verboten:
http://www.smok-e.de/index.php?option=com_content&view=article&id=6&Itemid=9
Posted in e-smoke
Tagged arzneimittel, dampfen, e-rauchen, e-smoke, e-zigarette, ego-t, medizinprodukte, nicorette, nikotin, rauchen