Install working tensorflow or pytorch via standard conda environment workflow.
The recommended conda-based install process works smoothly:
$ # Create a fresh environment| # ~/.config/htop/htoprc | |
| # Beware! This file is rewritten by htop when settings are changed in the interface. | |
| # The parser is also very primitive, and not human-friendly. | |
| fields=0 48 46 47 38 49 2 1 | |
| sort_key=46 | |
| sort_direction=1 | |
| hide_threads=1 | |
| hide_kernel_threads=1 | |
| hide_userland_threads=1 | |
| shadow_other_users=0 |
LinkedIn is a valuable resource, but sometimes it sucks. One of those times is when you want to delete messages. You have to select each message one by one. It takes about 4 "clicks" to successfully delete a message.
This script should help. Since LI requires you to perform multiple steps, I decided to automate it for you. Once you initiate the script, it will run every second. If a message has the ability to be deleted, it will be. If not, it will be archived. Some "InMail" messages cannot be deleted on the web app. This script should work as long as LI doesn't change their page layout or element names, which happens often.
Last tested & verified working on: June, 10, 2022
Special Thanks to @noncent for the updated script.
Guillaume Papin(@Sarcasm) has a thorough article about compilation databases.
% mkdir build
% (cd build; cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=YES ..)
% ln -s build/compile_commands.json| # References: | |
| # https://cmake.org/cmake/help/latest/command/add_custom_target.html | |
| # https://samthursfield.wordpress.com/2015/11/21/cmake-dependencies-between-targets-and-files-and-custom-commands/ | |
| # https://gist.github.com/socantre/7ee63133a0a3a08f3990 | |
| # https://stackoverflow.com/questions/24163778/how-to-add-custom-target-that-depends-on-make-install | |
| # https://stackoverflow.com/questions/30719275/add-custom-command-is-not-generating-a-target | |
| # https://stackoverflow.com/questions/26024235/how-to-call-a-cmake-function-from-add-custom-target-command | |
| # https://blog.csdn.net/gubenpeiyuan/article/details/51096777 | |
| cmake_minimum_required(VERSION 3.10) |
| # in order to download release artifacts from github, you have to first retreive the | |
| # list of asset URLs using the github repo REST API. Use the asset URL to download | |
| # the artifact as a octet-stream data stream. You will need to get an access token | |
| # from "settings -> developer settings -> personal access tokens" on the github UI | |
| #!/bin/bash -e | |
| owner="MY_ORG_NAME" | |
| repo="MY_REPO_NAME" | |
| tag="ARTIFACT_TAG" | |
| artifact="ARTIFACT_NAME" |
| ''' Script for downloading all GLUE data. | |
| Note: for legal reasons, we are unable to host MRPC. | |
| You can either use the version hosted by the SentEval team, which is already tokenized, | |
| or you can download the original data from (https://download.microsoft.com/download/D/4/6/D46FF87A-F6B9-4252-AA8B-3604ED519838/MSRParaphraseCorpus.msi) and extract the data from it manually. | |
| For Windows users, you can run the .msi file. For Mac and Linux users, consider an external library such as 'cabextract' (see below for an example). | |
| You should then rename and place specific files in a folder (see below for an example). | |
| mkdir MRPC | |
| cabextract MSRParaphraseCorpus.msi -d MRPC |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdint.h> | |
| #include <stdlib.h> | |
| #include <sys/time.h> | |
| #include <locale.h> | |
| #define NUMBYTES (1024*1024*1024) | |
| char bytes[NUMBYTES]; |