This file contains 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
Docker 6 hrs 16 mins █████████▏░░░░░░░░░░░ 43.8% | |
Makefile 3 hrs 39 mins █████▎░░░░░░░░░░░░░░░ 25.5% | |
Go 55 mins █▎░░░░░░░░░░░░░░░░░░░ 6.5% | |
HTML 45 mins █░░░░░░░░░░░░░░░░░░░░ 5.3% | |
Python 37 mins ▉░░░░░░░░░░░░░░░░░░░░ 4.4% |
This file contains 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 | |
#Harbor on Ubuntu 18.04 | |
#Prompt for the user to ask if the install should use the IP Address or Fully Qualified Domain Name of the Harbor Server | |
PS3='Would you like to install Harbor based on IP or FQDN? ' | |
select option in IP FQDN | |
do | |
case $option in | |
IP) |
This file contains 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
- (BOOL)isDockVisible | |
{ | |
pid_t pid = 0; | |
for (NSRunningApplication *runningApp in | |
[[NSWorkspace sharedWorkspace] runningApplications]) { | |
if ([[runningApp bundleIdentifier] isEqualToString:@"com.apple.dock"]) { | |
pid = [runningApp processIdentifier]; | |
break; | |
} | |
} |
This file contains 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
Printing description of entry: | |
{ | |
kCGWindowAlpha = 1; | |
kCGWindowBounds = { | |
Height = 1050; | |
Width = 1680; | |
X = 0; | |
Y = 0; | |
}; | |
kCGWindowIsOnscreen = 1; |
This file contains 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
Cache location | |
The location of the cache depends on the operating system, the defaults are: | |
Linux: $XDG_CACHE_HOME or ~/.cache/electron/ | |
MacOS: ~/Library/Caches/electron/ | |
Windows: $LOCALAPPDATA/electron/Cache or ~/AppData/Local/electron/Cache/ | |
You can set the ELECTRON_CACHE environment variable to set cache location explicitly. | |
This file contains 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
$git archive --format zip --output "./output.zip" master -0 |
This file contains 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
# Create path if it doesn't exsit | |
mkdir -p ${DIR} |
This file contains 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
/Users/{YOUR NAME}/Library/Developer/CoreSimulator/Devices/{Identifier}/data/Containers |
This file contains 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
git submodule foreach git pull origin master |
This file contains 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
tail -f /var/log/system.log |
NewerOlder