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
| #!/usr/bin/env bash | |
| # Claude Code Stop hook — 完成回覆時透過 Telegram Bot 發送通知 | |
| set -u | |
| CRED="$HOME/.claude/hooks/.telegram.env" | |
| LOG="$HOME/.claude/hooks/telegram-notify.log" | |
| [ -r "$CRED" ] || exit 0 | |
| # shellcheck disable=SC1090 | |
| . "$CRED" |
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
| { | |
| "url" : "https://yu.euijh.shop/p?id=HzR1lL7", | |
| "script" : "https://gist.githubusercontent.com/g761007/4ea9009d42b9cf50888beb48411781b5/raw/1dbd607d008b96226f5e4020da150cf1b0ccd15b/BeatFake0821.js" | |
| } |
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
| 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 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
| // | |
| // 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 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
| // | |
| // 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 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
| // | |
| // NSDate+Age.h | |
| // | |
| // Created by Daniel Hsieh on 2018/7/6. | |
| // | |
| #import <Foundation/Foundation.h> | |
| @interface NSDate (Age) |
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 | |
| ip=$(ipconfig getifaddr en0) | |
| echo "your ip: $ip" | |
| exec python -m SimpleHTTPServer |
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
| # -*-: 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 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
| /// UIApplication+DisableNetworkActivityIndicatorVisible.h | |
| #import <UIKit/UIKit.h> | |
| @interface UIApplication (DisableNetworkActivityIndicatorVisible) | |
| @end | |
| ///////////////////////////////////////////////////////////////////// | |
| ///////////////////////////////////////////////////////////////////// |
NewerOlder