start by updating the release
sudo apt-get update && sudo apt-get dist-upgrade
mysql -version
or
sudo apt install -y build-essential libssl-dev zlib1g-dev
wget "https://fastly.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.4p1.tar.gz"
tar xfz openssh-7.4p1.tar.gz
cd openssh-7.4p1
./configure
make
sudo make install && sudo service ssh restart && ssh -V
['ConfiguredStatus', 'DatePreset', 'DeleteStrategy', 'EffectiveStatus', 'ExecutionOptions', 'Field', 'Objective', 'Operator', 'Status', '_MutableMapping__marker', '__abstractmethods__', '__class__', '__contains__', '__delattr__', '__delitem__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__iter__', '__le__', '__len__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__slots__', '__str__', '__subclasshook__', '__unicode__', '__weakref__', '_abc_cache', '_abc_negative_cache', '_abc_negative_cache_version', '_abc_registry', '_api', '_assign_fields_to_params', '_changes', '_clear_history', '_data', '_default_read_fields', '_field_checker', '_field_types', '_get_field_enum_info', '_include_summary', '_isCampaign', '_json', '_parent_id', '_set_data', 'add_labels', 'api_create', 'api_delete', 'api_get', 'api_update', 'assure_call', 'clear', |
Solution: | |
$ LD_LIBRARY_PATH=/usr/local/lib | |
$ export LD_LIBRARY_PATH | |
or | |
$ vi ~/.profile | |
add line in last of file |
$ sudo apt-get install libboost-all-dev | |
$ git clone https://github.com/jbeder/yaml-cpp yaml-cpp | |
$ cd yaml-cpp && mkdir -p build && cd build && cmake -DBUILD_SHARED_LIBS=ON .. # last two dots are important | |
$ make | |
$ sudo make install |
Solution on Debian / Ubuntu | |
$ sudo apt-get install libboost-all-dev | |
$ reboot | |
its work in my case / Ubuntu 12.04 |
@google_api_client = Google::APIClient.new( | |
application_name: 'Example', | |
application_version: '1.0.0Alpha' | |
) | |
@google_api_client.authorization.access_token = user.google_token | |
@gmail = @google_api_client.discovered_api('gmail', 'v1') |
problem fixed with this solution. | |
git clone https://github.com/rtlwifi-linux/rtlwifi_new.git | |
cd rtlwifi_new | |
make | |
sudo make install |
@email = @google_api_client.execute( | |
api_method: @gmail.users.messages.send, | |
parameters: { | |
userId: 'me', | |
message: { | |
raw: { | |
payload: { | |
body: { date: 'aGVsbG8=' }, | |
headers: [{ name: 'to', | |
value: '[email protected]'}, |