This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Драйвера Drivers на asus USB-N13 и tp link WN823 для ubuntu 16.04 | |
### http://askubuntu.com/questions/290452/installing-workaround-realtek-drivers-for-edimax-but-getting-error | |
### https://github.com/dz0ny/rt8192cu | |
git clone https://github.com/dz0ny/rt8192cu.git | |
cd rt8192cu | |
sudo make dkms | |
# Then, to unload the built-in driver that doesn't work (rtl8192cu) and load your new driver (8192cu) | |
sudo modprobe -r rtl8192cu | |
sudo modprobe 8192cu | |
# To keep using your new driver instead of the built-in one, add this to the end of /etc/modprobe.d/blacklist.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def self.bulk_import(data, table_name, field_list, options={}) | |
with = options[:with] ? " WITH #{options[:with]}" : '' | |
self.with_connection(options[:connection]) do |c| | |
#this is in a transaction... | |
conn = c.raw_connection | |
conn.set_error_verbosity(PG::PQERRORS_VERBOSE) | |
#conn.transaction do | |
cleaned_up_field_list = field_list.map { |f| |