Skip to content

Instantly share code, notes, and snippets.

@gglin001
gglin001 / delete.md
Created April 17, 2021 05:49 — forked from timwco/delete.md
LinkedIn: Delete Messages (April 2020)

What

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 will happen eventually.

Last tested & verified working on: April, 07, 2021

Special Thanks to @lifedup for the updated script.

@gglin001
gglin001 / final_code.py
Created November 24, 2020 11:00 — forked from anirudhshenoy/final_code.py
Code for the Blog at:
from torch import nn
from time import time
import torch
import numpy as np
import matplotlib.pyplot as plt
from tqdm import tqdm
from skimage.util.shape import view_as_windows
torch.manual_seed(42)
@gglin001
gglin001 / setup.py
Created July 14, 2020 09:14 — forked from arthur-tacca/setup.py
setup.py for caffe
#!/usr/bin/env python
from setuptools import setup
setup(
name="caffe",
version='1.0rc3',
url='https://github.com/BVLC/caffe',
license='BSD',
description=('Caffe is a deep learning framework made with expression, '
centos7 use Developer Toolset 7
因在部署pytorch时, 需要gcc的版本至少为4.9, 而centos7的默认版本为4.8.5, 可用一下方式解决
# install scl
sudo yum install centos-release-scl
# install all devtoolsset
# sudo yum install devtoolset-7
overleaf/sharetex 使用中文
前面使用包时加上
\usepackage{CJKutf8} % 中文支持
% \begin{document} 下加上
\begin{CJK*}{UTF8}{gbsn}