Skip to content

Instantly share code, notes, and snippets.

yeswolf

Block or report user

Report or block yeswolf

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@yeswolf
yeswolf / Docker.patch
Created Oct 5, 2018
Sample Docker config for SPM projects in CLion / AppCode
View Docker.patch
Index: .dockerignore
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- .dockerignore (date 1538746751000)
+++ .dockerignore (date 1538746751000)
@@ -0,0 +1,1 @@
+.build/*/*.*
\ No newline at end of file
View sourcekite.js
function request(requestType, srcText, srcPath, offset) {
function targetArgumentsForImport(lib, platform, target) {
return loadedArgs.indexOf("-target") === -1 && srcText.includes(`import ${lib}`)
? [
"-target",
target,
"-sdk",
`/Applications/Xcode.app/Contents/Developer/Platforms/${platform}.platform/Developer/SDKs/${platform}.sdk`
]
: null;
View gist:f674259add062f4da0e39f66df6b1329
defaults write com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTasks `sysctl -n hw.ncpu`
You can’t perform that action at this time.