You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
-server -XX:+AlwaysPreTouch # First should be default, but we make it explicit, second pre-zeroes memory mapped pages on JVM startup -- improves runtime performance
# -Xloggc:gc-%t.log # CUSTOMIZE LOCATION HERE - $path/gc-%t.log -- the %t in the gc log file path is so we get a new file with each JVM restart
-XX:NumberOfGCLogFiles=5 -XX:+UseGCLogFileRotation -XX:GCLogFileSize=20m # Limits the number of files, logs to folder
-XX:+PrintTenuringDistribution -XX:+PrintReferenceGC -XX:+PrintAdaptiveSizePolicy # gather info on object age & reference GC time for further tuning if needed.
# G1 specific settings -- probably should be default for multi-core systems with >2 GB of heap (below that, default is probably fine)
A Java agent for fixing exports for an app that is not yet Java 9 aware.
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
An example network service with systemd-activated socket in Python. #systemd #python #socket #socket-activation
README
The example below creates a TCP server listening on a stream (i.e. SOCK_STREAM) socket. A similar approach can be followed to
create a UDP server on a datagram (i.e. SOCK_DGRAM) socket. See man systemd.socket for details.
An example server
Create an simple echo server at /opt/foo/serve.py.
'rebaser' improves on 'git rebase -i' by adding information per commit regarding which files it touched.
Prebase
git-prebase improves on 'git rebase -i' by adding information per commit regarding which files it touched.
Each file gets an alpha-numeric identifier at a particular column, a list of which appears below the commit list. (The identifiers wrap around after the 62nd file)
Commits can be moved up and down safely (without conflicts) as long as their columns don't clash (they did not touch the same file).
Installation
Add the executable to your path and git will automatically expose it as
A script that arranges all your mountpoints into a tree.
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
First, plug in an 8GB (or bigger) USB drive, and use Disk Utility to erase it
If you use the default settings, you should wind up with a blank drive at /Volumes/Untitled.
With that volume in place, and with the macOS installer sitting in /Applications/Install\ macOS\ [VERSION].app,
run the following command in your terminal to create a bootable install media (for Sierra):
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
Companies hiring Scala developers in the Bay Area.
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
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