Miralinux Blog

  • Home
  • Linux
    • Scripts
    • CentOS
  • Apple
  • Microsoft
    • Features
    • Office
    • Windows
  • Learning
  • Games
  • Multimedia
    • XBMC
  • Other
    • About WordPress
  • Links
    • General
    • Software
      • Autocad
    • Hardware
      • BIOS
    • Linux
    • WiKieS

Software AutoHotkey

Posted on 2013/06/13 by arno Posted in Software

Links

AutoHotkey | Docs | Hotkeys | Commands-Send

[ Xahlee ] AutoHotkey Tutorial | Syntax Problems | Key Notations | Examples

Mac Keyboard | fnkey

Apple Keyboard Autohotkey script (Apple user on a windows desktop with apple keyboard)

[SyntaxHighlighting] | autohotkey

My Current Config

<span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a</span></pre>
; semicolon, such as this one, are comments. They are not executed.

; This script has a special filename and path because it is automatically
; launched when you run the program directly. Also, any text file whose
; name ends in .ahk is associated with the program, which means that it
; can be launched simply by double-clicking it. You can have as many .ahk
; files as you want, located in any folder. You can also run more than
; one .ahk file simultaneously and each will get its own tray icon.

; SAMPLE HOTKEYS: Below are two sample hotkeys. The first is Win+Z and it
; launches a web site in the default browser. The second is Control+Alt+N
; and it launches a new Notepad window (or activates an existing one). To
; try out these hotkeys, run AutoHotkey again, which will load this file.

#z::Run www.autohotkey.com


; 0) Spotlite search combination activates windows menu.
#space:: LWin

; 1) Swap Windows (Command) and Alt keys
; These button locations are reversed on Mac keyboards
;LAlt::LWin
;LWin::LAlt
RWin::AppsKey

; 2) Map F13 to Print screen
; Mac keyboards don't have a print-screen button!
; On mac keyboard the Clear button is Numlock
+F3::Send #^{TAB}
+F4::Send !^{TAB}
+F10::Send {Volume_Mute}
+F11::Send {Volume_DOwn 3}
+F12::Send {Volume_Up}

F13::PrintScreen
F14::ScrollLock
F15::Pause

F16::Insert
F17::Run Notepad
F18::Run Calc
F19::Run Calc
; Remapping control key shortcuts
;
; copy, paste, save, select all etc
#c::^c
#x::^x
#v::^v
#s::^s
#a::^a
#z::^z
#b::^b
#i::^i
; -- iTunes
;+F7::
;IfWinExist, ahk_class iTunes
;ControlSend, ahk_parent, ^{LEFT} ; < previous ;return ;+F8:: ;IfWinExist, ahk_class iTunes ;ControlSend, ahk_parent, {SPACE} ; play/pause toggle ;return ;+F9:: ;IfWinExist, ahk_class iTunes ;ControlSend, ahk_parent, ^{RIGHT} ; > next
;return

; -- WinAmp
+F7::
PostMessage, 0x111,40044,,,ahk_class Winamp v1.x
return

+F8::
SendMessage, 0x400,0,104,,ahk_class Winamp v1.x
if errorlevel = 0
{
SendMessage, 0x111,40045,,,ahk_class Winamp v1.x
}
else
{
SendMessage, 0x111,40046,,,ahk_class Winamp v1.x
}
return

+F9::
PostMessage, 0x111,40048,,,ahk_class Winamp v1.x
return

; Note: From now on whenever you run AutoHotkey directly, this script
; will be loaded. So feel free to customize it to suit your needs.

; Please read the QUICK-START TUTORIAL near the top of the help file.
; It explains how to perform common automation tasks such as sending
; keystrokes and mouse clicks. It also explains more about hotkeys.

BitCoins

Posted on 2013/06/02 by arno Posted in Uncategorized

http://en.wikipedia.org/wiki/Bitcoin#External_links

https://en.bitcoin.it/wiki/Software#PC_apps

https://en.bitcoin.it/wiki/Trade

 

CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.2.0

 

mySQL

Posted on 2013/05/25 by arno Posted in Uncategorized

Create User !

mysql --user=root mysql -p

GRANT ALL PRIVILEGES ON *.* TO monty@localhost IDENTIFIED BY 'something' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO monty@"%" IDENTIFIED BY 'something' WITH GRANT OPTION;

https://kb.mediatemple.net/questions/788/HOWTO%3A+GRANT+privileges+in+MySQL#dv

Hardware Raspberry Pi

Posted on 2013/05/06 by arno Posted in Uncategorized

Links

http://www.tclcode.com/opentherm/index.html#intro http://www.domotiga.nl/projects/domotiga/wiki/OpenTherm

http://it.mouser.com/Search/Refine.aspx?Keyword=raspberry+pi&Ns=Pricing%7c0&FS=True

Raspberry PI

QUICK START GUIDE

RPi Easy SD Card Setup

RaspberryPi.org – downloads

Installing OpenELEC on Raspberry Pi

RPi_Easy_SD_Card_Setup

RPi_Low-level_peripherals  – Pinouts

RPi_VerifiedPeripherals

Searches

Can i get audio input through the gpio

Projects sites

http://www.hunterthornsberry.com/raspberrypi.html
AirPi – turn a raspberry pi into an airplay receive
Live-streaming-mp3-audio-with-darkice-and-icecast2-on-raspberry-pi

PiFace / Gertboard

PiFace | Install WiringPi | gpio command | example blink
(for example project first start ‘gpio load spi’)

Openelec – XBMC

http://docs-europe.electrocomponents.com/webdocs/109e/0900766b8109e8f7.pdf

Audio input

http://asliceofraspberrypi.blogspot.nl/2013/02/adding-audio-input-device.html

Serial interface

http://elinux.org/RPi_Serial_Connection http://www.hobbytronics.co.uk/raspberry-pi-serial-port http://www.trainelectronics.com/RaspberryPi/

Raspberry Pi and the Serial Port

source: http://www.hobbytronics.co.uk/raspberry-pi-serial-port By default the Raspberry Pi’s serial port is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port, it means you can’t use the Serial Port in your programs. To be able to use the serial port to connect and talk to other devices (e.g. Arduino), the serial port console login needs to be disabled. Needless to say you will need some other way to login to the Raspberry Pi, and we suggest doing this over the network using an SSH connection. Disable Serial Port Login To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited The first and main one is /etc/inittab This file has the command to enable the login prompt and this needs to be disabled. Edit the file and move to the end of the file. You will see a line similar to T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100 Disable it by adding a # character to the beginning. Save the file. #T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100 Disable Bootup Info When the Raspberry Pi boots up, all the bootup information is sent to the serial port. Disabling this bootup information is optional and you may want to leave this enabled as it is sometimes useful to see what is happening at bootup. If you have a device connected (i.e. Arduino) at bootup, it will receive this information over the serial port, so it is up to you to decide whether this is a problem or not. You can disable it by editing the file /boot/cmdline.txt The contents of the file look like this dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait Remove all references to ttyAMA0 (which is the name of the serial port). The file will now look like this dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait Reboot In order you enable the changes you have made, you will need to reboot the Raspberry Pi sudo shutdown -r now Test the Serial Port A great way to test out the serial port is to use the minicom program. If you dont have this installed run sudo apt-get install minicom Connect your PC to the Raspberry Pi serial port using an appropriate serial port adapter and wiring, then open Putty or a similar serial terminal program on PC side. Setup a connection using the serial port at 9600 baud. Now run up minicom on the Raspberry Pi using minicom -b 9600 -o -D /dev/ttyAMA0 What you type into the minicom terminal screen should appear on the serial PC terminal and vice versa.

Feature Microsoft Update, Chkdsk spreading like a virus

Posted on 2013/04/16 by arno Posted in Uncategorized

After processing the updates from yesterdays (4/9/2013) update Tuesday all of my machines now run Check Disc at every boot.

http://community.spiceworks.com/topic/324874-chkdsk-spreading-like-a-virus

http://social.technet.microsoft.com – [KB2839011]- folowup

KB2823324 is causing the issue.  We run all Dells, mostly Latitudes.  I’m not sure its going to effect other machines, but I cant imagine why it wouldn’t.

For those who need a quick result you can run this on the PC affected

wusa.exe /uninstall /kb:2823324 /quiet /norestart

OR remotely use

Psexec -d -s \\remotemachine wusa.exe /uninstall /kb:2823324 /quiet /norestart

Apple iOS iPhone iPad

Posted on 2013/02/17 by arno Posted in Uncategorized

 

Apple Help | Podcasts

http://www.letsunlockiphone.com/what-is-iphone-baseband/

http://www.imore.com/siri-ultimate-guide

iPhone Jailbreak 6 cydia

Posted on 2013/02/12 by arno Posted in Uncategorized

Links

http://jaxov.com/2013/01/how-to-install-vshare-app/
http://jaxov.com/2012/10/top-10-cydia-repos-2013/
http://www.igeeksblog.com/ifunbox-the-best-installous-alternative-to-install-ipa-files/

Source repos

deb http://ihacksrepo.com/ ./
deb http://repo.insanelyi.com/ ./
deb http://repo.hackyouriphone.org/ ./
deb http://cydia.xsellize.com/ ./
deb http://sinfuliphonerepo.com/ ./
deb http://apt.modmyi.com/ stable main
deb http://cydia.zodttd.com/repo/cydia/ stable main

Packages

Unsorted:
com.sull.repoicons
com.touchrev.mariolibraryring
com.wraith.lpin
com.wrightscs.batterycenter
net.r-ch.fcsb

FAIL:
net.howett.cydelete
com.xsellize.gridlock
com.xsellize.graviboard
net.crazy.updateskiller

Disabled:
com.mywi4
com.mywi4.ondemand
com.intelliborn.mywi5
com.xsellize.flowtation
com.xsellize.unlockfx
winterboard

Tools Backup / System:
com.bigboss.aptbackup
com.zokunei.openbackup
net.scott-wallace.iphone.appbackup
openssh
applist
com.sinfuliphone.appsync456

Packages:
com.filippobiga.springtomize2
com.aaronash.barrel
com.alexzielenski.zeppelin
com.aspectosoftware.wififofum

Tools System extra:
be.rud0lf77.appcent
com.aerialx.ishshit
com.crashx.unrestrictor3g
jp.rono23.removebackground jp.rono23.removebackgroundapp
org.thebigboss.doubleat
com.ashman.popupblocker
org.thebigboss.updatehiderios5

Apps:
SBSettings:
sbsettings
sbsettings-vpn
sbsettingstoggles
com.sbsdefaulthdtheme
org.thebigboss.sbsairplanetoggle
com.modmyi.serioussbsettingshd

Tweaks GUI:
com.iphonerepocenter.intelsmssound
com.modmyi.anonymous com.modmyi.bananadance com.modmyi.inteltexttone com.modmyi.itcrowdsounds com.modmyi.itrondaftpunk

com.xsellize.bulletin

com.xsellize.disturbedringtones
com.xsellize.iphoneringtonefromad
com.xsellize.matrixringtonesv1
com.xsellize.matrixringtonesv2
com.xsellize.matrixringtonesv3
com.xsellize.matrixringtonesv5

com.xsellize.drakefear
com.xsellize.igottafeeling
com.xsellize.imperialmarch
com.xsellize.lovetheway
com.xsellize.nintendo
com.xsellize.rockthatbody
com.xsellize.xsecurity
com.zimm.libdisplaystack

pincrush
syslogd
vim
wget

System:
gsc.accelerometer
gsc.accessibility
gsc.additional-text-tones
gsc.all-features
gsc.any-telephony
gsc.app-store
gsc.application-installation
gsc.armv6
gsc.armv7
gsc.auto-focus-camera
gsc.bluetooth
gsc.cellular-data
gsc.contains-cellular-radio
gsc.encode-aac
gsc.encrypted-data-partition
gsc.enforce-googlemail
gsc.fcc-logos-via-software
gsc.gamekit
gsc.gas-gauge-battery
gsc.gps
gsc.h264-encoder
gsc.hardware-keyboard
gsc.hiccough-interval
gsc.homescreen-wallpaper
gsc.hw-encode-snapshots
gsc.international-settings
gsc.io-surface-backed-images
gsc.load-thumbnails-while-scrolling
gsc.location-services
gsc.magnetometer
gsc.microphone
gsc.mms
gsc.multitasking
gsc.music-store
gsc.nike-ipod
gsc.not-green-tea
gsc.opengles-1
gsc.opengles-2
gsc.peer-peer
gsc.photo-adjustments
gsc.photo-stream
gsc.proximity-sensor
gsc.ringer-switch
gsc.sms
gsc.stand-alone-contacts
gsc.still-camera
gsc.telephony
gsc.telephony-maximum-generation
gsc.tv-out-crossfade
gsc.unified-ipod
gsc.video-camera
gsc.voice-control
gsc.voip
gsc.volume-buttons
gsc.wifi
gsc.youtube
gsc.youtube-plugin

Dependecies:
com.sinfuliphone.repoprep

Junk:
com.greensnow.customizefacebook
com.sinfuliphone.autoappkiller

iPhone Jailbreak 6 Notes

Posted on 2013/02/11 by arno Posted in Uncategorized

Apple iOS 5.x.x

Apple iOS Firmware releases list

  • http://ios.e-lite.org/
  • http://www.redmondpie.com/jailbreak-ios-6.1.1-untethered-using-redsn0w-evasi0n-tutorial/
  • http://theiphonewiki.com/wiki/index.php?title=Firmware
  • Chart Shows How Many Days Each iOS Version

How To Jailbreak iPhone, iPad And iPod Touch

Tips

A faster way to install Cydia applications after jailbreaking

source: http://hints.macworld.com/article

Updates the repositories. Equivalent to refreshing in Cydia.
# apt-get update

Installs any updates available.
# apt-get upgrade

Search the repositories
# apt-cache search

Install a package. If there are dependencies, you will be prompted to continue.
# apt-get install

Uninstall a package
# apt-get remove

Lists all installed packages
# dpkg –l

Respring your device from the command line
# respring

Links

how to access your iDevice via SSH if you forget the password

Remeha interface

Posted on 2013/02/03 by arno Posted in Hardware, Tweaks

source: http://blog.hekkers.net/2011/03/14/remeha-interface-revisited/
source: http://blog.hekkers.net/2010/10/03/monitoring-the-remeha-calenta/
source: http://www.barrydegraaff.tk/2012/11/remeha-recom-interface-simplified.html

Remeha is a USB connector with built-in FTDI chip. This cable can be very handy – if you don’t need Ethernet or don’t like soldering, this will probably be the easiest/best/quickest option for you.

The wireing is a 4p4c (RJ14) modular_connector:

In the photo the wireing is as follows:

1 – red – +5V
2 – yellow – RXD
3 – orange – TXD
4 – black – GND

9863-rj14-pinoutRemeha Interface connector RC11 (4P4C) pinout
using 4p flatcable
# 1 Ground (Black)
# 2 Device RXD* (Red)
# 3 Device TXD* (Green)
# 4 VCC (5v) (Yellow)

 

FTDI USB/TLL Interface
Farnell TTL-232R-5v-WE
# 1 Ground (Black)
# 2 CTS# (Brown)
# 3 VCC (v5) (Red)
# 4 Interface TXD* Orange
# 5 Interface RXD* Yellow
# 6 RTS# Green

*Remember to cross connect the datalines (TXD<>RXD)

Remeha FTDI Interface

Worms

Posted on 2013/02/03 by arno Posted in Games

Worms Armageddon

WormKit  | What is WormKit?

Firewall Subnets

Posted on 2012/12/13 by arno Posted in Linux

Vodafone

http://as.robtex.com/as15480.html#bgp

KPN

 

t-prutsMobile

 

Links – BIOS

Posted on 2012/09/19 by arno Posted in Links

Power Management

PCI Express – Active State Power Management (ASPM)

We have one project in progress for the PCI Express subsystem, PCI Express (PCIe) Active State Power Management. Our goal with this project is to allow you to select PCIe ASPM dynamically, based on your changing power versus performance preference.

PCIe ASPM technology allows PCIe hardware to transition the link to lower power states. The link is the physical interface between the PCI endpoint and the PCI switch. When ASPM is enabled, we can reduce power consumption even when the devices are in a fully powered on state (D0). This technology is specified in the PCI Express Specification, which is available to PCI SIG members. A white paper about this technology can be found here.

While ASPM can be enabled by the BIOS, it is often enabled only for mobile systems because the latency to transition from lower to fully powered state can cause a drop in performance. However, depending on the administrator’s power policy, the OS should be able to switch this feature on or off at will, depending on whether the administrator wants to favor power over performance or vice versa.

Advanced

Intel – Trusted Execution Technology (TXT)

Malware Protection with Intel® TXT

Intel® Trusted Execution Technology (Intel® TXT) is a hardware security solution that protects IT infrastructures against software-based attacks by validating the behavior of key components within a server or PC at startup.

Using an infrastructure based in the Intel processor and known as the “root of trust,” Intel® TXT checks the consistency in behaviors and launch-time configurations against a verified benchmark called a “known good” sequence. The system can then quickly assess and alert against any attempts to alter or tamper with a system’s launch-time environment.

VMware

Posted on 2012/08/30 by arno Posted in Uncategorized

HCL – Hardware compatibility

Intel® Server Adapters Will my Intel® Ethernet Adapter work with VMware*?

Tunneling a vSphere Client connection over SSH

Projects

Home LAB VMware

Scripts

ghettoUPSHostShutdown.pl

Hardware Health Alerting with ESXi | ESXi-5

Learning

VMware Certification

Links

Kaspersky Anti-Virus, VMware ESX(VMware vSphere Client), OSX (thumbprint mismatches)

VMI Paravirtualization support, list of OS’s

Baloon Memory (pdf)

 Downloads

ESX/ESXi Patches

Apple OS X 10.8.0 Mountain Lion

Posted on 2012/08/13 by arno Posted in Apple, Mac OSX

New Features

Webwereld: Nieuwe commandline-programma’s in Mountain Lion

Hardware review – OCZ Vertex 3/4

Posted on 2012/07/25 by arno Posted in Uncategorized Leave a comment

OCZ Vertex 4 sata-iii 2.5″ SSD | support forum | download fw

OCZ Vertex 3 sata-iii 2.5″ SSD | support forum | download fw

Reviews

http://www.guru3d.com/article/ocz-vertex-4-ssd-review/
http://www.anandtech.com/show/5719/ocz-vertex-4-review-256gb-512gb/

http://www.hardwarecanucks.com/forum/hardware-canucks-reviews/52963-ocz-vertex-4-512gb-ssd-review.html
http://hexus.net/tech/reviews/storage/37357-ocz-vertex-4-ssd-256gb-512gb/

Tweaks

Agility 3 Stutter fix
Intel-Enterprise-drivers-seem-to-solve-Vertex-3-BSOD

OCZ – Windows 7 Ultimate Tweaks & Utilities

 

Apple OSX my experiances

Posted on 2012/07/19 by arno Posted in Apple, Mac OSX, Uncategorized

Mac mini

2011 Mac Mini Hard Drive Upgrade Video

Ervaringen met OS X 10.7.4 – 10.8.4

Hier mijn ervaringen met OS X 10.7.4 op een Mac mini (mid 2011) i5-2.5Ghz

(Mac mini Server specificaties)
De omschakeling van Windows naar OS X is behoorlijk wennen, maar wel de moeite waard 🙂
Ik heb vaak de momenten van dat het toch ook soms zo voor de hand liggend is en dat het gewoon werkt.
Snelheid van deze mac mini is wat moeilijk in te schatten vanwege dat het te kort hiervoor mee gewerkt heb.
Wel is het zo dat deze soms een “rechter muis knop” een seconde duurt voordat het menu naar voren komt.
Bij de aankoop (2011) van de Mac mini stond OS X 10.7.x Lion, nu (juli 2012) staat OS X 10.8.x Mountain Lion op het moment van uitkomen.
In deze versie zijn er een aantal (200+) veranderingen,
met name de “cloud” functies wat je documenten op internet centraal opslaat en toegankelijk maakt vanaf de meeste apple apparaten

Toetsenbord layout

– Nederlands / VS-Internationaal
Hierbij is de vraag hoe je toetsenbord gewend bent, zelf heb ik al sinds 1983 een VS-Internationale indeling, hiervan wil ik ook niet meer afwijken.
het is aan te raden om ook je windows machines waar je veel op werkt ook te voorzien van een apple keyboard om er sneller aan te kunnen wennen.

Standaard wordt overal een Nederlandse indeling gebruikt en verkocht, meestal hebben ze geen vs-internationaale indeling.
Het verschil zit hem in de  <enter>, <back-slash>, <insert>, <delete> en Numerieke blok.
Normaal toetsenbord met numeriek blok hiervan komt de indeling overeen met een PC Toetsenbord,
dit vindt ik zelf prettiger werken dan een Bluetooth keyboard.
De layout van een Bluetooth keyboard komt overeen met de MacBooks (laptops) van Apple.

Werkgeheugen

Standaard word de mac met een relatief lage hoeveelheid geheugen (4Gb) geleverd, uitbreiden hiervan kost bij Apple aanzienlijk ( extra 4Gb = € 100).
Zelf heb ik een upgrade naar 8Gb (Kingston geheugen) vrijwel direct uitgevoerd.
Dit was het aangegeven maximum door Apple, uit MacTracker (zie software)
staat dat 16Gb ook mogelijk is, ook specificaties van Intel Processor geeft dit aan.
Vandaag heb ik een upgrade besteld naar totaal 16Gb besteld bij mycom.nl voor €91 inc.BTW
Het geheugen dat in gebruik is met een aantal applicaties open is bij mij 5Gb, zelf heb ik het vermoeden dat het geheugen vrij snel vol loopt.

Harddisk

Standaard zit er één harddisk in de mac mini, er is plek voor twee, een ander type kabeltje is verkrijgbaar.
Hiermee kunnen er twee SATA600 harddisks worden aangesloten (bijv. een SSD)
Deze is verkrijgbaar bij Visual Information Services (UK), de store heet AppleMacParts
Deze upgrade zal het systeem zeer snel maken vanwege dat SSD de SATA600 poort volledig benut. Nadeel is dat dit vrij prijzig is.
Bij het installeren van software valt op dat je de installatie lokatie ook op een ander volume (schijf) kan installeren
wat de noodzaak om een grote SSD (+480Gb) niet noodzakelijk maakt.

Software

Ervaringen met software die niet door mac is gemaakt is dat de standaard invoer wijze soms niet hetzelfde is.
Tip. Promo’s van MacUpdate – http://www.mupromo.com (bij hun heb ik een 10 software pakketen waaronder KeyQue en Parallels gekocht)
KeyQue, snel én eenvoudig weergeven van globale en programma snelkoppelingen.
TimeMachineEditor, als je een back-up systeem TimeCapsule in je netwerk hebt zitten dan kan je hiermee de interval tijd aanpassen.
Flux, pas de kleur temperatuur aan van het scherm, aan de hand van de tijd van de dag. Wat het beeld rustiger maakt.
Carbon copy cloner, Om OS X systeem te klonen naar een andere harddisk.
MacTracker, Apple apparaten specificaties, alles in één programma.

Apple:

iTunes, Werkt nog even sloom als we gewend zijn.
Update: v11.0 is stukken verbeterd maar ook een grote verandering in het interface.
De sidebar is terug te halen met <alt>-<command>-“S”
Mail, werkt fijn is zeer basic, als je Microsoft Outlook gewend ben zal je het een beetje missen.

Virtualisatie (Machines)

Windows, Linux of andere besturingen systemen draaien op een Apple OS X.
Voor zover heb ik VMware en Parallels geprobeerd, wat mij direct opviel is dat de bediening van de software.
Bij Parallels veel meer mac gericht is én ook een betere ondersteuning heeft van het aansturen van de grafische presentatie.
Over het algemeen werkt het niet super soepel, maar het is wel werkbaar om specifieke windows software te kunnen gebruiken.
Tot nu toe heb ik het nog niet uitvoerig gebruikt en kan hierdoor er ook nog niet veel over vertellen.
Tweaks – Hints
Disable dashboard (source)
$ defaults write com.apple.dashboard mcx-disabled -boolean Yes
$ killall Dock
Parallels – turn of Ads (source)
$ defaults write com.parallels.Parallels\ Desktop ProductPromo.ForcePromoOff -bool YES
Where does $LANG variable gets set in Mac OS X? (http://apple.stackexchange.com)
[ Terminal > Preferences > Settings > [profile] > Advanced ] Set locale environment variables on startup
Then the locale will default to “C” with no language specified, and most programs will then default to English.

Hide any program’s dock icon (source)

sudo chmod 464 /Applications/System Preferences.app/Contents/Info.plist
edit or add KEY "NSUIElement" and change STRING variable to "1".
<key>NSUIElement</key>
<string>1</string>

Software

Linux

TimeMachine, Onder linux kan je deze “emuleren” met “netatalk” service.
FileServer, http://joserocks.com/2012/10/how-to-set-up-centos-6-as-a-replacement-os-x-file-server/ (link downstairs)
AirVideoServer, (java) een centraal video streaming service, op ipad/iphones met app “Air Video” kan je dan kijken.
AirPrintServer, (linux) Link 1, Link 2

OS X

TimeMachineEditor, RHEL/CentOS/SLS6 software for Mac OS X Leopard, Snow Leopard and Lion that lets you change the default one-hour backup interval of Time Machine.

Lion Diskmaker, Mac OS X 10.6, 10.7 and OS X 10.8 to burn a DVD or build a bootable drive.

Reminders, Making the Most of Reminders and Notes in OS X Mountain Lion

File Server, Howto CentOS 6 As a replacement osx file-server

Windows

MagicMouse utility

Links

Apple Software Volume Licensing
Apple OS X keyboard shortcuts and characters
http://hints.macworld.com

References

How to Set Up CentOS 6 as a Replacement OS X File Server

source: http://joserocks.com/2012/10/how-to-set-up-centos-6-as-a-replacement-os-x-file-server/

So, Apple has abandoned the XServe.  There is not 1U product that is available that Apple is making to take its place.  Yeah, I don’t get it either, but whatever.  Apple obviously knows what they are doing at this point.  After failing to convince our network guys to take up precious space in the server room with a Mac Pro tower, I was told that we will be replacing our Mac OS X file servers with 1U Dell servers running Red Hat Linux.  Ok, it’s been a while since I have used Red Hat servers (I’ve used Ubuntu in the recent past) however, I decided that it couldn’t be that much different.  Trouble is, I couldn’t find a straight-forward how-to about setting this up on Red Hat (or CentOS…this is what I used to ensure this was going to work.  Since CentOS is the free implementation of Red Hat, I will refer to it for the remainder of this article).  I wanted to use the AFP (Apple File Protocol)  implementation on CentOS, so I won’t have to change scripts, server connections, and backup programs on all of our Mac clients just to satisfy a new server setup.  Below are the steps I used to achieve this.  My hope is that other people who want to do this same thing, will not have to cobble together information from different sources to do this, and that this article will help them.  This article will take you through the entire process, from server OS install to AFP/Bonjour  configuration.   If you don’t care about server set up, and just need the good stuff, skip to step 11 below.

****WARNING****

This is only meant to be a BASIC GUIDE to set up a CentOS or Red Hat Linux server to replace a Mac OS X file server.  There are some huge security issues not addressed in this guide.  Please use common sense and do your research before you roll this out in an important environment.  This guide ONLY addresses the basics of how to setup a Linux server that caters to the AFP protocol and Macs connecting to it natively.

****End of Warning****

Alright, crack the knuckles.  Let’s get started.

These instructions are tested and verified for CentOS Linux Server edition 6. May work on other Linux distros.

1.) The first step is to visit CentOS.org and download the CentOS 6.  I went with the minimal edition.

http://mirror.mojohost.com/centos/6/isos/

Pick your platform (32-bit or 64-bit) and download the ISO.  Burn the ISO to a CD (not covered in this tutorial, but this information can be easily found via Google or whatever search engine you prefer).

2.) Install CentOS minimal install with CD.

Follow all of the prompts.  For the purposes of this tutorial, I did not install any additional services during the install.

3.) OK, after the install, the network card must be enabled.  They aren’t kidding when they call this a minimal install!

  • navigate to /etc/sysconfig/network-scripts/
  • vi ifcfg-eth0    ## your network card may be called something else.  Most defaults will be eth0.
  • Change ONBOOT=”no” to ONBOOT=”yes” save changes and exit
  • ifconfig eth0 up
  • service network restart  ## just to make sure your network daemon restarts your eth0 connection.

4.) Alright, now to install some basics

  • Install the following with yum (yum install xxxx)
  • wget
  • sudo
  • nano
  • ntp
  • gcc
  • make
  • perl
  • kernel-headers
  • system-config-network-tui

5.) It’s probably a good idea to create a non-root user.  Ubuntu has spoiled me so, I am used to sudoing all of my root commands.  This way, I (usually) never accidentally do anything that I don’t mean to do as root:

  • useradd monkeyman
  • passwrd monkeyman

6.) Ok, now you need to add your new user to the sudoers file:

  • visudo (the /etc/sudoers file must be edited with visudo command)
  • Add the following line to the bottom of the file:
  • monkeyman ALL=(ALL) ALL

A quick break down of the above line is as follows:

monkeyman : name of user to be allowed to use sudo
ALL : Allow sudo access from any host/IP address
(ALL) : Allow sudo command to be executed as any user.
ALL : Allow all commands to be executed

Groups and domain users can be added as well.  For example:

single domain users:

DOMAIN_NAME\\monkeyuser ALL=(ALL) ALL   ## where “DOMAIN_NAME” is your domain name and “monkeyuser” is the name of a user on your domain.

or a group:

%DOMAIN_NAME\\monkeytribe ALL=(ALL) ALL  ## where “monkeytribe” is the name of a group of users on your Active Directory domain.

note the % sign must be present for group designations.

Got that?  Good.  I hope that is clear enough.  I remember trying to figure some of that out for hours the first time I tried to set it up.
7.) Save the file and exit the editor.

8.) Disable SELinux:

  • SELinux is the extra security layer that is utilized by CentOS.  It is really well implemented however, Like-Wise Open will not install with this enabled.  So it’s got to go.
  • sudo nano /etc/selinux/config
  • set the “SELINUX” status line to disabled.  SELINUX=disabled
  • reboot    ## I know, you should be able to just restart a service.  However, SELinux tells you to reboot after turning it off.  As a side note, you could set this setting to “permissive” however, you will get a lot of weird messages when you do certain things.  These messages are only informative, but screw it, they annoy me.  So, I just turn it off.  Security admins, you can start screaming.   I don’t care.  This is just a “brief” how-to, remember?

9.) Once you get rebooted, it’s time to install like-wise open (now called pbis-open), so we can get this bad boy on our domain:

  • Look, freaking go to http://www.powerbrokeropen.org/, register and legally get their software.  It’s free, and all you have to give them is a first name, last name, and your email address.  However, for the sake, and out of pity, for those *nix admins that might be reading this at 2 am, who just want to go home, go to sleep, and let their tired, broken hands rest for a few hours, here is the link to get the software:
  • wget http://download.beyondtrust.com/PBISO/7.0.4/918/pbis-open-7.0.4.918.linux.x86.rpm.sh
  • (this is the current path as of the writing of this article, and may change in the future. Check http://www.powerbrokeropen.org for more information)
  • sudo chmod a+x (pbis-open file name)     ## got to get this thing in a state that we can execute it.
  • sudo ./(pbis-open file name)     ## and now we install it.
  • reboot    ## just do it, OK!  If you want to restart every service that needs restarting, do it and stop complaining!

10.) Ok, once we have PBIS-Open installed, it’s time to join our server to the domain

  • sudo domainjoin-cli join DOMAIN_NAME monkeyuser     ## where DOMAIN_NAME is your domain name, and monkeyuser is a user on your domain with admin rights to add machines to your domain.
  • success message should appear

11.) Alright, at this point, we should be added to the domain, and have a basic server platform to get what we need done.  Now comes the main part of this article.  Download and install netatalk and avahi (the AFP and Bonjour pieces needed for Macs to see AFP shares on Linux):

  • Enable EPEL (Extra Packages for Enterprise Linux)
  • (again as current of this writing: sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm)  ## this will add EPEL to your yum repository.
  • sudo yum install netatalk     ## this will create the AFP fileserver on your linux server
  • sudo yum install avahi.i686  ## this is essentially the open source version of ZeroConf, better known in the Apple world as Bonjour.
  • sudo nano /etc/netatalk/afpd.conf
  • Uncomment and add this to the bottom of the file:
  • – -tcp -noddp -uamlist uams_dhx.so,uams_dhx2_passwd.so -nosavepassword -setuplog “default log_info /var/log/afpd.log”

12.) Time to define your AFP shares:

  • sudo nano /etc/netatalk/AppleVolumes.default
  • Scroll to the bottom and add the share location:
  • In this case, the share is a folder called “Storage” that was created in “/opt/Storage)

# End of File

/opt/Storage “Storage” cnidscheme:dbd

13.) Make services start at boot time.   Netatalk and avahi-daemon will need to be configured to start at boot. Do this with chkconfig:

  • sudo chkconfig netatalk on
  • sudo chkconfig avahi-daemon on
  • reboot

Mac computers should now see a share on the Linux server that it thinks is a natural AFP share, called “Storage”. Be aware that you may have to modify the permissions to your share (in this case “/opt/Storage”) so that users can read and write to it.  In this tutorial, there is no firewall on the server.  However, your sever probably will be using one.  Make sure TCP port 548 is open so Mac clients can see the shares and authenticate correctly.  One more side note, I read somewhere that a space in your AFP share declaration (“Storage Sever” as opposed to “StorageServer” or just plain “Storage”) may cause some strange things with your Mac clients not being able to connect to your AFP share.  I did not experience this, but just something to check if you run into issues.

And that, is just about it. Again, this is just a bare-bones how-to, but hopefully it will get some of you guys and gals where you need to be.  I would not have been able to do this without some how-tos and resources.  I ‘d like to thank the people below for the information that they originally posted, and helped me to cobble enough information to do this on CentOS 6.

Jose would like to thank:

Barry Price:
http://www.barryprice.co.uk/2012/05/04/apple-file-server-on-ubuntu-12-dot-04/

Did this with Ubuntu and gave me an idea where to start for CentOS 6

rathelm:
http://rathelm.wordpress.com/2012/02/03/cent-os6-2-and-netatalk-2-2-0/

pointed me in the right direction for the EPEL packages for CentOS 6

Beyondtrust.com and the people that originally developed Like-Wise Open (now PBIS Open)
http://www.powerbrokeropen.org/

Chris Colotti
http://www.chriscolotti.us/technology/how-to-get-started-with-centos-minimal/

Gave me some direction on getting basic services needed for CentOS.  There is seriously almost nothing on the minimal install!

Happy Installing (and maintaining, and updating, and tweaking, and optimizing, and recovering…)!

Support – Disktools Western Digital

Posted on 2012/07/16 by arno Posted in Uncategorized Leave a comment

Mobile harddisk power adapters

Disk Tools

http://www.osforensics.com/tools/mount-disk-images.html

Protected: Hardware T bak

Posted on 2012/07/15 by arno Posted in Uncategorized

This content is password protected. To view it please enter your password below:

Links – AutoCAD

Posted on 2012/07/02 by arno Posted in Learning, Links Leave a comment

 

http://www.we-r-here.com/cad/tutorials/index.htm

 

iPhone paths

Posted on 2012/07/01 by arno Posted in Apple

Call history database – /var/mobile/Libary/CallHistory/call_history.db
SMS history – /private/var/mobile/Library/SMS

Synced folders:
Notes – /private/var/mobile/Library/Notes
Favorites – /?

Synced Folders/Exchange:
Calender – /private/var/mobile/Library/Calendar
Contacts – /private/var/mobile/Library/AddressBook
Mail – /?

* This is where you’ll find Contacts, Notes and Calls:
“private/var/mobile/Library”
* This is where you’ll find your captured photos of the Camera Roll:
“private/var/mobile/Media/DCIM/100APPLE”
* This is where you’ll find your Memos:
“private/var/mobile/Media/Recordings”
* This is where you’ll find the Backups of the Mobile Substrate files:
“Library/MobileSubstrate”
* This is where you’ll find your Cydia’s Sources:
“private/etc/apr/sources.list.d” Or “var/lib/apt/lists”
* This is where you’ll find your Cydia’s Applications:
“private/var/stash/Applications/xxxx”
* This is where you’ll find your AppStore’s Applications:
“private/var/mobile/Applications/xxxx/” (Use Applinks to decrypt the names of the Folders)
* This is where you’ll find your Winterboard Themes:
“private/var/stash/Themes/xxxxx”
* This is where you’ll find your Ringtones:
“private/var/stash/Ringtones/xxxx”
* This is where you’ll find Files related to the system’s sounds:
“System/library/Audio/UISounds”
* This is where you’ll find your SBSetting’s Themes:
“private/var/mobile/Library/SBSettings/Themes”
* This is where you’ll find your videos captured using Cycorder:
“var/mobile/Media/videos”
* This is where you’ll find your videos captured using iPhone Video Recorder:
“var/mobile/Media/iphonevideorecorder3g”
* This is where you’ll find your videos downloaded using MxTube:
“var/mobile/Media/mxtube”
* This is where you’ll find files related to your Contacts:
“/var/Mobile/Library/AdressBook”
* This is where you’ll find files related to the Calendar:
“/var/Mobile/Library/Calendar”
* This is where you’ll find files related to the Notes:
“/var/Mobile/Library/Notes”
* This is where you’ll find files related to the bookmarks of Safari:
“/var/Mobile/Library/Safari/Bookmarks”
* This is where you’ll find files related to the Mail:
“/var/Mobile/Library/Mail”
* This is where you’ll find files related on the Call History:
“/var/Mobile/Library/CallHistory”
* This is where you’ll find files related on the SMS:
“private/var/mobile/Library/SMS”
* This is where you’ll find the files downloaded using MewSeek:
“/var/mobile/Media/MewSeek/Downloads”
* This is where you’ll find your videos captured using DisplayRecorder:
“private/var/mobile/Library/KeyBoard/DisplayRecorder”
* This is where you’ll find your messages of BiteSMS:
“/private/var/mobile/Library/BiteSMS/BiteSMS.db”
* This is where you’ll your favorites of the Maps.app:
“/private/var/mobile/Library/Maps/Bookmarks.plist”

sources: http://us.hackyouriphone.org/interesting-paths-for-ifile-and-ssh.html

Apple
« Previous Page
Next Page »
  • Login
  • Mother of all Portals
  • .Handy .Handig
  • Links – wikis – wikies

Archives

  • June 2022
  • October 2021
  • June 2021
  • September 2016
  • April 2016
  • March 2016
  • November 2014
  • September 2014
  • August 2014
  • July 2014
  • April 2014
  • March 2014
  • November 2013
  • October 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • February 2013
  • December 2012
  • September 2012
  • August 2012
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
CyberChimps ©2025