A [Homebrew] formula for installing [PulseAudio] on OS X.
Tested on 10.10.
Summary of changes:
- change module-detect => module-coreaudio-detect
- comment out module-console-kit
| int fnet_stm32_set_hw_addr(fnet_netif_t *netif, unsigned char * hw_addr) | |
| { | |
| unsigned i; | |
| (void)netif; | |
| ////MACDriver *ethif = (MACDriver *)((fnet_eth_if_t *)(netif->if_ptr))->if_cpu_ptr); | |
| //MACConfig *config = ETHD1.config; | |
| //fnet_mac_addr_t *mac_ptr = config->mac_address; | |
| fnet_mac_addr_t *mac_ptr = ETHD1.config.mac_address; | |
| for (i = 0; i < 6; i++) |
| set(IQmol_Main_HEADERS | |
| Main/AboutDialog.h | |
| Main/FragmentTable.h | |
| Main/HelpBrowser.h | |
| Main/IQmolApplication.h | |
| Main/MainWindow.h | |
| Main/PeriodicTable.h | |
| Main/PreferencesBrowser.h | |
| Main/ToolBar.h | |
| Main/Viewer.h |
A [Homebrew] formula for installing [PulseAudio] on OS X.
Tested on 10.10.
Summary of changes:
Make sure you have no uncommitted changes in your openafs git work directory (or git clone to a separate directory) then,
git checkout openafs-stable-1_6_18 && git clean -q -f -d -x && ./regen.sh && ./configure --enable-debug --enable-transarc-paths && make -j6 aklog
sudo cp ./src/aklog/aklog /usr/local/bin/aklog-1.6.18| #!/bin/sh | |
| # Bootstrapping bash vcsh externally | |
| # https://github.com/RichiH/vcsh/issues/202 | |
| # /bin/sh "$(curl -fsSL whatever.dom/vsch_bash.sh)" | |
| wget https://raw.githubusercontent.com/RichiH/vcsh/master/vcsh | |
| chmod +x vcsh | |
| ./vcsh clone https://github.com/jhgorse/bash.git bash # Perhaps a recursive clone some day | |
| ./vcsh bash submodule init | |
| ./vcsh bash submodule update |
| # Compare tcsh, zsh, and bash load times | |
| echo 'echo 0' > ~/script | |
| time tcsh -i < ~/script ; time zsh -i -c ~/script ; time bash -i < ~/script |
| #export DEBIAN_FRONTEND=noninteractive | |
| MARKER_FILE="/usr/local/etc/marker_file_1" | |
| # Provision once | |
| if [ -f "${MARKER_FILE}" ]; then | |
| exit 0 | |
| fi | |
| # Do stuff here | |
| # ... |
| # http://search.cpan.org/~gwadej/Device-USB-0.36/lib/Device/USB.pm#SYNOPSIS | |
| # https://github.com/gwadej/perl-device-usb | |
| # cpanm install Device::USB | |
| # bash$ cpanm --local-lib=~/.perl5 local::lib && eval $(perl -I ~/.perl5/lib/perl5/ -Mlocal::lib) | |
| use lib ("~/perl5/lib/perl5/darwin-thread-multi-2level"); | |
| use Device::USB; | |
| my $usb = Device::USB->new(); |
| #!/usr/bin/env ruby | |
| # rvm use default | |
| #### install for macOS | |
| # \curl -sSL https://get.rvm.io | bash -s stable --ruby | |
| # source $HOME/.rvm/scripts/rvm | |
| # rvm use default | |
| # gem install hidapi | |
| require "hidapi" |
| #define HID_REPORT_DESCRIPTOR_SIZE 0x0044 | |
| typedef unsigned char hid_report_descriptor[HID_REPORT_DESCRIPTOR_SIZE]; | |
| code const device_descriptor DEVICEDESC = | |
| { | |
| 18, // bLength | |
| 0x01, // bDescriptorType | |
| 0x1001, // bcdUSB | |
| 0x00, // bDeviceClass | |
| 0x00, // bDeviceSubClass |