Suppose I have the following scenario
// In my .h
@interface TestClass
@end
if (!path.existsSync(localFile)) { | |
response.writeHead(404); | |
response.end(); | |
return; | |
} | |
fs.readFile(localFile, function(error, content) { | |
if (error) { | |
response.writeHead(500); | |
response.end(); |
Web | |
http://blog.steveklabnik.com/posts/2011-07-03-nobody-understands-rest-or-http | |
Various | |
http://www.paulgraham.com/hamming.html |
BasedOnStyle: Chromium | |
AccessModifierOffset: 0 | |
AlignEscapedNewlinesLeft: true | |
AlignTrailingComments: true | |
AllowAllParametersOfDeclarationOnNextLine: false | |
AllowShortFunctionsOnASingleLine: false | |
AllowShortIfStatementsOnASingleLine: false | |
AllowShortLoopsOnASingleLine: false | |
AlwaysBreakBeforeMultilineStrings: false | |
AlwaysBreakTemplateDeclarations: false |
IDEBundleInjection.c: Error 3587 loading bundle '/Users/dbarden/Library/Developer/Xcode/DerivedData/wormhole-aibeploggrzlsdfidrlrpzhkjcxu/Build/Products/Debug-iphonesimulator/wormholeTests.xctest': The bundle “wormholeTests” couldn’t be loaded because it is damaged or missing necessary resources. | |
DevToolsBundleInjection environment: | |
XCInjectDiagnostics: (null) | |
XCInjectBundleInto: /Users/dbarden/Library/Developer/Xcode/DerivedData/wormhole-aibeploggrzlsdfidrlrpzhkjcxu/Build/Products/Debug-iphonesimulator/wormhole.app/wormhole | |
XCInjectBundle: /Users/dbarden/Library/Developer/Xcode/DerivedData/wormhole-aibeploggrzlsdfidrlrpzhkjcxu/Build/Products/Debug-iphonesimulator/wormholeTests.xctest | |
TestBundleLocation: /Users/dbarden/Library/Developer/Xcode/DerivedData/wormhole-aibeploggrzlsdfidrlrpzhkjcxu/Build/Products/Debug-iphonesimulator/wormholeTests.xctest | |
TMPDIR: /Users/dbarden/Library/Developer/CoreSimulator/Devices/3E6E19F3-2D15-4379-A230-EECB57B779F0/data/Containers/Data/Application/E3C37902-7685-4CBE-899B-B7FCA6 |
Suppose I have the following scenario
// In my .h
@interface TestClass
@end
List of book recommendation on twitter Main threads:
Name | Author | Recommended by |
---|---|---|
A Wild Sheep Chase: A Novel | Haruki Murakami | ayaka |
Norwegian Wood | Haruki Murakami | chriseidhof |
Letters from a Stoic | Seneca | chriseidhof |
#!/bin/bash | |
for file in $(find . -name "*imageset" | xargs -IX basename "X" | sed s/".imageset"//); do | |
grep --exclude-dir=Resources/Assets.xcassets --exclude-dir=Resources/CustomAssets.xcassets -c $file * -R > /dev/null | |
if [ $? -ne 0 ] | |
then | |
echo "Could not create find $file" | |
fi | |
done |
protocol TestDelegate: class { | |
} | |
protocol TestProtocol { | |
weak var delegate: TestDelegate? { get } | |
} | |
class Test { | |
weak var delegate: TestDelegate |
{ | |
"id": "Boxenstopp", | |
"title": "Boxenstopp", | |
"description": "The coffee bar is located in the foyer of the Porsche Museum. You can enjoy a peaceful cup of coffee here or refuel with a quick snack before your visit to the museum.", | |
"blocks": [ | |
{ | |
"type": "Text", | |
"text": "NAVIGATE hilft Ihnen sich zurecht zufinden. Klicken Sie hierzu auf den entsprechenden Punkt in der Karte oder wählen Sie aus der unten stehenden Liste direkt aus.", | |
"id": "1b254825-e8af-4f5c-9434-8f2091c2157c" | |
}, |