View glowing_text_css.html
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Glowing Text Effect in CSS</title> | |
<style> | |
@keyframes glowingText { | |
0% { | |
text-shadow: 0 0 0.02em hsl(50 100% 50% / 1), 0 0 0.1em hsl(40 100% 63% / 1), | |
0 0 0.2em hsl(37 100% 62% / 1), 0 0 0.6em hsl(33 100% 58% / 1), |
View RPLiveRtmpView.h
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
#import <UIKit/UIKit.h> | |
@interface RPLiveRtmpView : UIView | |
// 播放视频地址 | |
@property(nonatomic, strong) NSString* movieSource; | |
// 被添加的viewController | |
@property(nonatomic, weak) UIViewController* viewController; | |
// 播放url | |
-(BOOL)startRtmp; |
View crash.swift
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
//: Playground - noun: a place where people can play | |
import UIKit | |
var str = "Hello, playground" | |
fileprivate func _setDictionary( dict:inout [String: Any], value: Any, forKeys: ArraySlice<String>) { | |
guard forKeys.count > 1 else { | |
print(forKeys) |
View optimize
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
//: Playground - noun: a place where people can play | |
import UIKit | |
var str = "Hello, playground" | |
fileprivate func _setDictionary( dict:inout [String: Any], value: Any, forKeys: ArraySlice<String>) { | |
guard forKeys.count > 1 else { | |
dict[forKeys.first!] = value |
View test.swift
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
//: Playground - noun: a place where people can play | |
import UIKit | |
var str = "Hello, playground" | |
func setDictionary( dict:inout [String: Any], value: Any, forKey: String) { | |
let keypaths = forKey.components(separatedBy: ".") | |
guard keypaths.count > 1 else { |
View Test.cpp
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
#include<iostream> | |
#include<string> | |
#include<exception> | |
#include<windows.h> | |
#include<avsdk/av_sdk.h> | |
using namespace tencent::av; | |
using namespace std; | |
#define ENABLE_CONSOLE |
View Test.cpp
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
#include<iostream> | |
#include<string> | |
#include<exception> | |
#include<windows.h> | |
#include<avsdk/av_sdk.h> | |
using namespace tencent::av; | |
using namespace std; | |
#define ENABLE_CONSOLE |
View Test.cpp
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
#include<iostream> | |
#include<string> | |
#include<exception> | |
#include<windows.h> | |
#include<avsdk/av_sdk.h> | |
using namespace tencent::av; | |
using namespace std; | |
#define ENABLE_CONSOLE |