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
{ | |
"url" : "https://yu.euijh.shop/p?id=HzR1lL7", | |
"script" : "https://gist.githubusercontent.com/g761007/4ea9009d42b9cf50888beb48411781b5/raw/1dbd607d008b96226f5e4020da150cf1b0ccd15b/BeatFake0821.js" | |
} |
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
precision highp float; | |
varying highp vec2 textureCoordinate; | |
uniform sampler2D inputImageTexture; | |
uniform lowp vec2 leftPupil; | |
uniform lowp vec2 rightPupil; | |
uniform lowp float intensity; | |
void main() { | |
vec2 p = vec2(textureCoordinate.x, textureCoordinate.y); | |
if (intensity != 0.0) { |
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
// | |
// UIVisualEffectView+BlurRadius.h | |
// Created by Daniel Hsieh on 2018/8/22. | |
// | |
#import <UIKit/UIKit.h> | |
@interface UIVisualEffectView (BlurRadius) | |
@property (nonatomic) CGFloat blurRadius; |
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
// | |
// YYTextLine+Swizzle.h | |
// Created by Daniel Hsieh on 2018/8/1. | |
// REF: https://github.com/ibireme/YYText/issues/748#issuecomment-364879873 | |
// ISSUES: https://github.com/ibireme/YYText/issues/748 | |
// | |
#import "YYTextLine.h" | |
@interface YYTextLine (Swizzle) |
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
// | |
// NSDate+Age.h | |
// | |
// Created by Daniel Hsieh on 2018/7/6. | |
// | |
#import <Foundation/Foundation.h> | |
@interface NSDate (Age) |
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
#!/bin/sh | |
ip=$(ipconfig getifaddr en0) | |
echo "your ip: $ip" | |
exec python -m SimpleHTTPServer |
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
# | |
# Uncrustify Configuration File | |
# File Created With UncrustifyX 0.4.3 (252) | |
# | |
# Alignment | |
# --------- | |
## Alignment |
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
# -*-: coding:utf8 -*- | |
import os | |
from StringIO import StringIO | |
from lxml import etree | |
import requests | |
import click | |
def download_images(url, output_dir='output'): |
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
/// UIApplication+DisableNetworkActivityIndicatorVisible.h | |
#import <UIKit/UIKit.h> | |
@interface UIApplication (DisableNetworkActivityIndicatorVisible) | |
@end | |
///////////////////////////////////////////////////////////////////// | |
///////////////////////////////////////////////////////////////////// |
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
/sample | |
/__init__.py | |
/models | |
/__init__.py | |
/users.py | |
/permissions.py | |
/views | |
/__init__.py | |
/api.py | |
/core.py |
NewerOlder