This file contains hidden or 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
{ | |
"$schema": "https://json-schema.org/draft/2020-12/schema", | |
"$id": "https://realm.github.io/SwiftLint/swiftlint.schema.json", | |
"title": "SwiftLint Configuration YAML Schema", | |
"type": "object", | |
"additionalProperties": false, | |
"allOf": [ | |
{ | |
"if": { | |
"required": [ |
This file contains hidden or 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
@import UIKit; | |
@interface TableViewCell : UITableViewCell | |
+ (instancetype)cell; | |
+ (instancetype)cellWithOwner:(id)owner; | |
+ (instancetype)cellWithOwner:(id)owner options:(NSDictionary *)options; | |
- (CGFloat)rowHeightInTableView:(UITableView *)tableView; |
This file contains hidden or 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
* { background-color: rgba(255,0,0,.2); } | |
* * { background-color: rgba(0,255,0,.2); } | |
* * * { background-color: rgba(0,0,255,.2); } | |
* * * * { background-color: rgba(255,0,255,.2); } | |
* * * * * { background-color: rgba(0,255,255,.2); } | |
* * * * * * { background-color: rgba(255,255,0,.2); } |
This file contains hidden or 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
# | |
# Uncrustify Configuration File | |
# File Created With UncrustifyX 0.4.3 (252) | |
# | |
# Alignment | |
# --------- | |
## Alignment |
This file contains hidden or 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
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers | |
built on Apr 12 2013 14:42:18 with gcc 4.2.1 (GCC) | |
configuration: --arch=arm --target-os=linux --cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-shared --disable-static --enable-version3 --enable-nonfree --enable-libfaac --enable-encoders --enable-pthreads --disable-bzlib --disable-protocol=rtp --enable-muxer=mp4 --enable-avfilter --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffserver --disable-ffplay --disable-network --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-encoder=zmbv --enable-libshine --extra-libs=-lshine --enable-decoder=h264 | |
libavutil 51. 73.101 / 51. 73.101 | |
libavcodec 54. 59.100 / 54. 59.100 | |
libavformat 54. 29.104 / 54. 29.104 | |
libavdevice 54. 2.101 / 54. 2.101 | |
libavf |
This file contains hidden or 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/sh | |
# Find PNG images not referenced by any xib, m/h, and plist files | |
# Works from current directory downward. | |
refs=`find . -name '*.xib' -o -name '*.[mh]' -o -name '*.plist'` | |
for image in `find . -name '*.png'` | |
do | |
image_basename=`basename $image` |
This file contains hidden or 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
+ (instancetype)sharedInstance | |
{ | |
static dispatch_once_t once; | |
static <#class#> *singleton; | |
dispatch_once(&once, ^{ singleton = [[<#class#> alloc] init]; }); | |
return singleton; | |
} |
This file contains hidden or 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
if [ ! -d "crushed" ]; then | |
mkdir crushed | |
fi | |
if [ -d "/Applications/Xcode.app/" ]; then | |
# Xcode 4.3 and later | |
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -dir crushed -iphone -q *.png | |
else | |
# Previous Xcode 4.3 | |
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -dir crushed -iphone -q *.png |
This file contains hidden or 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
SELECT * | |
FROM post AS p | |
INNER JOIN category AS c ON p.category_id = c.category_id; |
This file contains hidden or 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
{ | |
"errorCode": 0, | |
"errorMessage": "", | |
"results": { | |
"4s0bFQ": { | |
"longUrl": "http://www.epershand.net" | |
} | |
}, | |
"statusCode": "OK" | |
} |
NewerOlder