baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

Magento: Adjusting next invoice number, next order number

Synchronizing invoice and order numbers: Same order invoice number Plugin: This plugin will synchronize invoice numbers with order numbers: https://www.magentocommerce.com/magento-connect/same-order-invoice-number-by-fooman.html By installing this plugin, you’re done. For going back to separated invoice/order numbers, simply go to System -> Configuration -> Extended and disable the “Fooman_SameOrderInvoiceNumber” module. Manually adjusting the next invoice/order number in mySQL: Edit […]

GNU/Linux Elementary OS: replace default archiver

Typical scenario for what i want: downloading a .zip file, double click to “extract in place”. Done. In Elementary OS however, the default archiver keeps bugging me with stupid dialogs like which directory to extract to, it’s not automatically closing after it has finished extracting the archive, … in short: it’s PITA. After installing the […]

GNU/Linux: show battery cycles count (etc.) on MacBook Pro Mid-2012 on command line (CLI)

battery cycle count: cat /sys/class/power_supply/BAT0/cycle_count charging/discharging status: cat /sys/class/power_supply/BAT0/status charge full (current capacity): cat /sys/class/power_supply/BAT0/charge_full charge full (design capacity): cat /sys/class/power_supply/BAT0/charge_full_design current charge: cat /sys/class/power_supply/BAT0/charge_now current charge (in percent): cat /sys/class/power_supply/BAT0/capacity battery model: cat /sys/class/power_supply/BAT0/model_name battery manufacturer: cat /sys/class/power_supply/BAT0/manufacturer battery temperature sensor: cat /sys/class/power_supply/BAT0/temp list all parameters: ls -la /sys/class/power_supply/BAT0/

Which HDD brand to buy? HGST. Period.

Over the last years, we’ve only been spending money on HGST drives when talking about “conventional” HDDs. Kept recommending HGST to ppl over and over again. Once again, that choice has been confirmed, here is why: https://www.backblaze.com/blog/hard-drive-reliability-q4-2015/ (For SSDs, Crucial is the way to go … can’t prove it – yet.)

Spotify: How to fix error “Can’t play current track?”

I’ve had a Spotify Premium for a couple of months, and back then i’ve also enabled “high quality streaming” in my settings. After downgrading back to a free account, i kept getting an error message “Can’t play current track?” and the problem is you don’t really know what the problem is. In my case, this […]

Previous Posts Next posts