Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View yeswolf's full-sized avatar

yeswolf

  • Huawei
  • Saint-Petersburg
View GitHub Profile
defaults write com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTasks `sysctl -n hw.ncpu`
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;
@yeswolf
yeswolf / Docker.patch
Created October 5, 2018 16:06
Sample Docker config for SPM projects in CLion / AppCode
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