https://gist.github.com/search?q=user%3A%40me&ref=searchresults
Uses @me to refer to itself in the gist search query.
Type this into Github Gist Search (https://gist.github.com/)
user:BoQsc your search query
| /* | |
| * LOGO | |
| */ | |
| [aria-label="Twitter"] { | |
| display: none; | |
| } | |
| /* | |
| * LEFT COLUMN |
https://gist.github.com/search?q=user%3A%40me&ref=searchresults
Uses @me to refer to itself in the gist search query.
Type this into Github Gist Search (https://gist.github.com/)
user:BoQsc your search query
Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.
setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}You should not use the Open SSH client that comes with Git for Windows. Instead, Windows 10 has its own implementation of Open SSH that is integrated with the system. To achieve this:
ssh-agent from Windows Services:Services in the Start Menu or Win+R and then type services.msc to launch the Services window;OpenSSH Authentication Agent in the list and double click on it;OpenSSH Authentication Agent Properties window that appears, choose Automatic from the Startup type: dropdown and click Start from Service status:. Make sure it now says Service status: Running.git config --global core.sshCommand C:/Windows/System32/OpenSSH/ssh.exe
| Key/Command | Description |
|---|---|
| Tab | Auto-complete files and folder names |
| Ctrl + A | Go to the beginning of the line you are currently typing on |
| Ctrl + E | Go to the end of the line you are currently typing on |
| Ctrl + U | Clear the line before the cursor |
| Ctrl + K | Clear the line after the cursor |
| Ctrl + W | Delete the word before the cursor |
| Ctrl + T | Swap the last two characters before the cursor |
Chrome has the feature to automatically add search engine when it detects an input field on websites. After using Chrome months, it often resutls a bunch of search engines stayed in the settings. And the setting page does not provide a convinient way to remove them.
The editting the Web Data as SQLite file did not seem to work anymore. Chrome seems to revert all the changes when restart.
To make it even worse, it seems that the DOM tree is not accessable from the development console on the setting page, so even a bookmarklet could not work. Neighter does Chrome provide an API to access the search engines.
| layout | title | tags | date |
|---|---|---|---|
post |
How to Sync Microsoft OneDrive with Ubuntu 18.04 and 20.04 (64 bit) |
ubuntu-18.04, ubuntu-20.04 |
2020-04-23 |
There are many instructions to syncronize your files with OneDrive cloud-based storage in Linux. However they typically address multiple Linux distributions that often causes a confusion or an use of some commands which have not been actually tested before publishing. This instruction is for Ubuntu 18.04 and 20.04 (64 bit) only.
In order to install onedrive, first you need to install some dependencies and set up git.
| #!/bin/bash | |
| # `gitea dump` doesn't currently back up LFS data as well, only git repos | |
| # It primarily backs up the SQL DB, and also the config / logs | |
| # We'll backup like this: | |
| # * "gitea dump" to backup the DB and config etc | |
| # * tar / bzip all the repos since they will be skipped | |
| # * Not rotated because git data is immutable (normally) so has all data | |
| # * rsync LFS data directly from /volume/docker/gitea/git/lfs | |
| # * No need for rotation since all files are immutable |
| curl -fsSL https://get.docker.com | bash | |
| curl -L "https://github.com/docker/compose/releases/download/1.25.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
| chmod a+x /usr/local/bin/docker-compose | |
| # 创建个软链接,以后用 dc 命令来代替 docker-compose | |
| rm -rf `which dc` # 若系统中存在 dc 则删除,这个 dc 就是个计算器,完全没有用 | |
| ln -s /usr/local/bin/docker-compose /usr/bin/dc |
Computer\HKEY_CURRENT_USER\Control Panel\DesktopActiveWndTrkTimeout to 300UserPreferencesMask by subtracting 40 bits from the first hex value e.g. DF -> 9FSource: https://winaero.com/enable-xmouse-window-tracking-windows-10/