echo `ifconfig $(netstat -nr | grep -e default -e "^0\.0\.0\.0" | head -1 | awk '{print $NF}') | grep -e "inet " | sed -e 's/.*inet //' -e 's/ .*//' -e 's/.*\://'`
This file contains hidden or 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
Use native PlistBuddy command to do it: | |
/usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/[AppName].app/Contents/Info.plist | |
Don't forget to change the [App Name]. | |
If you wish gonna back, run command: | |
/usr/libexec/PlistBuddy -c 'Delete :LSUIElement' /Applications/[AppName].app/Contents/Info.plist | |
via https://apple.stackexchange.com/a/349641 |
This file contains hidden or 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
Right click and copy a file or a folder, then right click to paste it in the target destination. | |
This should kick start the ability to drag and drop once again. | |
This file contains hidden or 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
Open Admin Command Prompt and type these commands one by one: | |
del %localappdata%\Spotify\Update | |
mkdir %localappdata%\Spotify\Update | |
icacls %localappdata%\Spotify\Update /deny "%username%":D | |
icacls %localappdata%\Spotify\Update /deny "%username%":R | |
Description of given commands: | |
Removes directory C:\Users\<your username>\AppData\Spotify\Update |
This file contains hidden or 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
Turn off windows 10 fast-startup and then turn off your computer then on again. steps: | |
WinKey -> type to search "Power & sleep settings" | |
"additional power settings" | |
"choose what the power buttons do" | |
"change settings that are currently unavailable" | |
untick "Turn on fast startup" | |
Save changes | |
turn off computer then turn it on |
This file contains hidden or 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
18fgsa/s3-resource-simple - root:::0::::: | |
a5huynh/oauth2_proxy - root:::0::::: | |
acaleph/consul-alerts - root:::0::::: | |
aequitas/ftp-resource - root:::0::::: | |
allinurl/goaccess - root:::0::::: | |
alpine/socat - root:::0::::: | |
anapsix/alpine-java - root:::0::::: | |
andyshinn/dnsmasq - root:::0::::: | |
appropriate/curl - root:::0::::: | |
avhost/docker-matrix-riot - root:::0::::: |
This file contains hidden or 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
The problem is not with Spotlight, but with Launch Services. There are two steps to solving the problem: | |
sudo mkdir /private/var/db/lsd | |
sudo /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -seed -lint -r -f -v -dump -domain local -domain system -domain user -domain network | |
The first one creates the folder that the launch services daemon needs to store the database. That’s why LaunchServices is getting an -10822 error, because it can’t create the database, so it keeps resetting the connection. The second command tells launch services to kill the old database and create a new one from scratch. Voila |
This file contains hidden or 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
#!/bin/sh | |
PROXY_INTERFACE="Wi-Fi" | |
PROXY_HOST=127.0.0.1 | |
PROXY_PORT=1080 | |
SOCKS_PROC_LOG=/tmp/ssh-socks-proxy-log.txt | |
SOCKS_PROC_PIDFILE=/tmp/ssh-socks-proxy-pid.txt | |
SOCKS_PROC_CMD="ssh -i $SOCKS_PROC_IDENTITY -t -t -D $PROXY_HOST:$PROXY_PORT $SOCKS_PROC_USER@$SOCKS_PROC_HOST" |
This file contains hidden or 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
#!/bin/bash | |
################################ | |
# OS X Install ISO Creator # | |
# # | |
# Author: shela # | |
################################ | |
####################################### | |
# Declarations |
This file contains hidden or 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
CloudFlare:(SPEED): | |
1.1.1.1 | |
1.0.0.1 | |
IBM Quad9 (FILTERING): | |
9.9.9.9 | |
Google: | |
8.8.8.8 | |
8.8.4.4 |
NewerOlder