Skip to content

Instantly share code, notes, and snippets.

View mazzzystar's full-sized avatar
☂️
Focusing

Ke Fang mazzzystar

☂️
Focusing
View GitHub Profile
@mazzzystar
mazzzystar / BlurID-PrivacyPolicy.md
Created February 29, 2024 10:39
BlurID PrivacyPolicy
View BlurID-PrivacyPolicy.md

Privacy Policy for Blur ID

Effective Date: 2024/02/29

Blur ID ("we," "us," or "our") is committed to protecting your privacy. This Privacy Policy outlines our policy regarding the non-collection of information for users of Blur ID (the "App") and emphasizes our commitment to maintaining the privacy of our users.

1. No Data Collection

We hereby inform all users of Blur ID that our App operates entirely offline and does not collect, store, or transmit any personal data or information. This includes, but is not limited to, personal identifiers, photographs, contacts, or any other form of personal data.

2. Offline Functionality

@mazzzystar
mazzzystar / stable_diffusion_m1.py
Created November 12, 2022 15:20 — forked from madebyollin/stable_diffusion_m1.py
Stable Diffusion on Apple Silicon GPUs via CoreML; 2s / step on M1 Pro
View stable_diffusion_m1.py
# ------------------------------------------------------------------
# EDIT: I eventually found a faster way to run SD on macOS, via MPSGraph (~0.8s / step on M1 Pro):
# https://github.com/madebyollin/maple-diffusion
# The original CoreML-related code & discussion is preserved below :)
# ------------------------------------------------------------------
# you too can run stable diffusion on the apple silicon GPU (no ANE sadly)
#
# quick test portraits (each took 50 steps x 2s / step ~= 100s on my M1 Pro):
# * https://i.imgur.com/5ywISvm.png
View nips-grab.py
#!/usr/bin/python
import sys, re, os, errno, requests, urllib
from bs4 import BeautifulSoup
import urllib.request
BASEURL = "http://papers.nips.cc"
linkre = re.compile('([0-9]+)\.pdf')
View download_flicker.py
# First, you should install flickrapi
# pip install flickrapi
import flickrapi
import urllib.request
import threading, queue, time
from PIL import Image
# Adapted from https://gist.github.com/yunjey/14e3a069ad2aa3adf72dee93a53117d6
# Changed to the multi-threads version.
# Flickr api access key
View h5tool.py
# Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
#
# This work is licensed under the Creative Commons Attribution-NonCommercial
# 4.0 International License. To view a copy of this license, visit
# http://creativecommons.org/licenses/by-nc/4.0/ or send a letter to
# Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
import os
import sys
import io
View Griffin-Lim.py
self.power = 1.5
self.max_norm = 1.0
self.preemphasis = 0.97
self.ref_level_db = 20
self.min_level_db = -100
"""
Need to implement:
>>> np.clip
View 文在寅.md

拟定热搜关键词:#文在寅下令徹查勝利、張紫妍等案#

张紫妍事件始末

Abstract

张紫妍系韩国女演员。2009年因自杀身亡。2011年遗书被公开,揭露韩国演艺圈“性接待”、“性上纳(性朝贡)”的不成文规定,震惊韩国及整个亚洲地区。

全文

2008年8月她被逼跳上酒桌跳舞,被某报社的赵熙千一把拽下来当众猥亵(此为张紫妍同事尹智吾所述细节,后赵熙千因其妻是检察官而躲过调查),还被安排同时陪睡乐天集团董事长86岁的辛格浩和其子56岁的辛东彬,并被父子二人用酒瓶性虐待(禽兽),最多时她曾经被迫同时与4位男客陪睡,为了更好的服务客人,还被要求吃下各种不同的兴奋剂与毒品,以满足客人的特殊癖好。如果不从,就有可能被金承勋殴打。

据十年后韩国KBS电视台以及MBC的《PD手册》等其他韩国媒体的报道,除了上面一段提到的名字,参予张紫妍陪睡的其他重要男客有:《朝鲜日报》社长弟弟方勇勋、《朝鲜体育报》副社长、KOLON会长、《中央日报》弘报本部长、PD郑世浩、酒企真露会长朴文德、韩国某报社方正五(及此报社社长二儿子)、某国会议员、法务部高官权宰镇(至少有参予陪酒)、KBS及MBC的部分导演等,另外,三星集团女婿任佑宰(其前妻是三星集团会长李健熙的长女李富真,任佑宰最早是李富真的保镖),在张紫妍去世前一年有过35次通话记录,两人关系也不清不楚。

View f0.cpp
/* smooth and normalize the input pitch vector */
void SProcessQuery(float* fPitchArray,int& Len){
int i;
float MeanVal;
for (i=1;i<Len-1;i++){
if (fPitchArray[i-1]<2 && fPitchArray[i]>2 && fPitchArray[i+1]<2)
fPitchArray[i]=0;
}
View 路演.MD

首页

项目名

被窝旅行

slogan

  • 在壳中触探世界
  • 让远处的风景触手可及

logo

  • 小程序自带的