Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss/" xmlns:spotify="http://www.spotify.com/ns/rss" version="2.0">
<channel>
<title>Epic Podcast</title>
<link>https://www.soundtrap.com</link>
<description>Goofing around</description>
<language>EN</language>
<dc:language>EN</dc:language>
<spotify:limit recentCount="1000" />
<itunes:owner>
(
SynthDef(\sean_clipp, {|amp=0.2, pan=0, dur=10|
var env, envgen;
var sig = ClipNoise.ar(mul:amp);
env = Env.perc(0.03, 0.98);
sig = Pan2.ar(sig, pan);
envgen = EnvGen.kr(env, doneAction: Done.freeSelf, timeScale: dur);
Out.ar(0, sig*envgen);
}).add;
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VAST xmlns="http://www.iab.com/VAST" version="4.0">
<Ad sequence="1" id="AdswizzAd121369">
<InLine>
<AdSystem>Adswizz</AdSystem>
<Impression id="121369"><![CDATA[https://mixcloud.deliveryengine.adswizz.com/vast/4.0/v1.1/impression?H4sIAAAAAAAAALVWWW/bOBD+NfaLIEEUdT74wUecNdJkC7iLbp4MUqRk1jKpinKa5NfvUKdtJIu0RQ2DmJMz/DjiDDtVpBZKzrALvyn5sXN3SNdOWZAXXm3Y7Gg/f+W0VVT8u3PSvFoqqbmsZ+60ELrmklezSbSYeJ5gsEzwHFbsU5qlQcbCOEpYmnCECEZhRAiNIt91jaG3hFWfOSU4ooxkOImQi3mYkdjLfI7DiCMvAHpwYrJunTJSaD6JVtOT3pWVeCLpyww9Pj5OCVuRmswqXqqqBsOU1DxX1QuQm/kCYRth2Gq9eVjMH+4meMHUkQgJWl2TqhAyp0QenFQdJ8ENSHJec2aXJwon3vPKFjJTYIzA8yie00KdGBhSURhXUNR7oYXOC0VJsZs3sS5E2wQk/DndE5nz3RZFwPYbAQvbIg/hMAHidvEZVtdxkZcEQLVHhqwqkvINg2CRz1jmkcyOgiSxEeLETlKW2G5IaMhdQtLQA4ft9vPEWwtwGFLGi1Sw7hxpT7wqyXeDuDIOfabGLAMesjHpAKt7Fn4GDHXJy7JjsWs2y3vWx0abAtceT2eXfjozun+2K6DpVUh6FZNeB6VXUelVWDrGpdeB6UVk0cLLozD2/f+FF1JujA1F6ga7c8TPAWzsQtxD3lBnmLthc+0N7uc1c459D9LHsG9P3YPQldHPYj/A81HsO6yvwn4Yez3C1OCJL/
@lisongx
lisongx / oschub.scd
Last active September 19, 2018 11:36
// I already start a osc-hub server in oschub.notimportant.org
// This is the oscdef to receive server commands, and evaluted on local server(just work like Tadashi's oschub)
(
var messages = [
"/quit", "/notify", "/status", "/cmd", "/dumpOSC", "/sync", "/synced",
"/error", "/clearSched",
"/d_recv", "/d_load", "/d_loadDir", "/d_free",
"/n_free", "/n_run", "/n_set", "/n_setn", "/n_fill", "/n_map", "/n_mapn",
SELECT ?item ?label
WHERE
{
?item wdt:P31 wd:Q5.
?item rdfs:label ?label filter(lang(?label) = 'zh').
filter(regex(?label, ',$')).
} limit 5

heroku

Response

HTTP/1.1 302 Found
Server: Cowboy
Date: Wed, 23 May 2018 15:20:44 GMT
Connection: keep-alive
SELECT ?item ?cLabel ?itemLabel ?fatherLabel ?motherLabel
WHERE
{
?item wdt:P31 wd:Q5.
?item wdt:P27 ?c.
?item wdt:P22 ?father.
?item wdt:P25 ?mother.
?item wdt:P106 wd:Q2526255.
?father wdt:P106 wd:Q2526255.
?mother wdt:P106 wd:Q2526255.
This file has been truncated, but you can view the full file.
[{"label":"State 0","isSelected":true,"tSNEIteration":584,"tSNEPerplexity":25,"tSNELearningRate":1,"tSNEis3d":false,"pcaComponentDimensions":[0,1,2],"projections":[{"pca-0":-0.3286186754703522,"pca-1":-0.3226933777332306,"pca-2":0.2523862421512604,"pca-3":0.02910321019589901,"pca-4":-0.6257769465446472,"pca-5":0.03413614258170128,"pca-6":0.1760411560535431,"pca-7":0.2884944677352905,"pca-8":-0.3765479028224945,"pca-9":0.07684367895126343,"tsne-0":-1.323298418354418,"tsne-1":2.542111743623574},{"pca-0":-0.18422026932239532,"pca-1":-0.004802474286407232,"pca-2":0.3955268859863281,"pca-3":0.22427526116371155,"pca-4":-0.25748252868652344,"pca-5":-0.06897246092557907,"pca-6":-0.1689326912164688,"pca-7":-0.10199112445116043,"pca-8":-0.6023048162460327,"pca-9":-0.05952564626932144,"tsne-0":16.607514290482822,"tsne-1":-7.485953571444753},{"pca-0":-0.09110171347856522,"pca-1":-0.1458868682384491,"pca-2":-0.3053620755672455,"pca-3":-0.11439351737499237,"pca-4":0.1027631089091301,"pca-5":0.05345134064555168,"pca-6":0.02
@lisongx
lisongx / whosdead.sparql
Last active December 5, 2017 02:25
who's dead?
SELECT ?entity ?entityLabel (YEAR(?date) as ?year)
WHERE
{
BIND(MONTH(NOW()) AS ?nowMonth)
BIND(DAY(NOW()) AS ?nowDay)
?entity wdt:P106+ wd:Q639669 .
?entity wdt:P570 ?date .
FILTER (MONTH(?date) = ?nowMonth && DAY(?date) = ?nowDay)
SERVICE wikibase:label {