本歌单由Listen1创建, 歌曲数:3287,歌单数:20,点击查看更多
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
| package top.lifeee.broadcastdemo; | |
| import androidx.appcompat.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.view.View; | |
| import android.widget.Button; | |
| import android.widget.TextView; | |
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
| package top.lifeee.broadcastdemo; | |
| import androidx.appcompat.app.AppCompatActivity; | |
| import android.content.IntentFilter; | |
| import android.net.ConnectivityManager; | |
| import android.os.Bundle; | |
| // 测试用例 | |
| public class MainActivity2 extends AppCompatActivity { |
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
| #include <iostream> | |
| #include <vector> | |
| using namespace std; | |
| #include <memory> |
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
| ! | |
| function(e, t, a) { | |
| function n() { | |
| c(".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"), o(), r() | |
| } | |
| function r() { | |
| for (var e = 0; e < d.length; e++) d[e].alpha <= 0 ? (t.body.removeChild(d[e].el), d.splice(e, 1)) : (d[e].y--, d[e].scale += .004, d[e].alpha -= .013, d[e].el.style.cssText = "left:" + d[e].x + "px;top:" + d[e].y + "px;opacity:" + d[e].alpha + ";transform:scale(" + d[e].scale + "," + d[e].scale + ") rotate(45deg);background:" + d[e].color + ";z-index:99999"); | |
| requestAnimationFrame(r) | |
| } |
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 -*- | |
| # 数据集官网:https://bair.berkeley.edu/blog/2018/05/30/bdd/ | |
| import os | |
| import pascal_voc_io | |
| import parseJson | |
| from os.path import join | |
| import glob | |
| import sys | |
| def main(srcDir,dstDir): |
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
| ''' | |
| 常用代码段 | |
| python获取文件路径、文件名、后缀名 | |
| GetFileShotName_filepath_extension.py | |
| ''' | |
| #########start 获取文件路径、文件名、后缀名############ | |
| def get_filePath_fileName_fileExt(filename): | |
| (filepath,tempfilename) = os.path.split(filename); | |
| (shotname,extension) = os.path.splitext(tempfilename); |
NewerOlder
