Skip to content

Instantly share code, notes, and snippets.

View syuilo's full-sized avatar
🥺

syuilo syuilo

🥺
  • Japan, Kanagawa
  • 18:24 (UTC +09:00)
View GitHub Profile
{
"op" : "query",
"ns" : "misskey.drive_files",
"query" : {
"find" : "drive_files",
"filter" : {
"user_id" : ObjectId("57d01a501fdf2d07be417afe"),
"type" : /^image\\\/.+?$/
},
"sort" : {
{
"op" : "query",
"ns" : "misskey.drive_files",
"query" : {
"find" : "drive_files",
"filter" : {
"user_id" : ObjectId("57d01a501fdf2d07be417afe"),
"type" : /^image\\\/.+?$/
},
"sort" : {
Object.keys(me).filter(key => typeof me[key] != 'function').forEach(key => {
if (key != 'token' && key != 'data' && key != 'email') delete me[key];
});
const apply = (x, y) => {
Object.keys(y).forEach(key => {
if (typeof y[key] == 'object' && y[key] !== null) {
x[key] = {};
apply(x[key], y[key]);
} else {
@syuilo
syuilo / trochoid-lyrics.txt
Last active January 12, 2017 22:39
lyrics of trochoid
朝 そらの雲の影の中で
きっと 君のことを私はみつける
朝 そらいろに映されたこの鏡へ
傘で トロコイドを描いて待ってるから
硝子の月の光で 影を落とすだけの...
硝子の月の光で 影を落とす 時計の針
朝 そらの雲の影に隠れて
class Player {
}
class OthelloCore {
constructor() {
observable(this);
this.board = [
db.users.update({}, { $set: { 'data.nya' : true } }, { multi: true });
db.users.update({}, { $rename: {
avatar: 'avatar_id',
banner: 'banner_id'
} }, { multi: true });
---
db.posts.update({}, { $rename: {
app: 'app_id',
user: 'user_id',
db.users.update({}, { $rename: { _web : 'token' } }, { multi: true });
db.talk_messages.find({}, {
_id: 1
}).forEach(function (x) {
print(x._id);
db.talk_messages.update({_id: x._id}, {
$set: {is_read: false}
}, false, false);
});
--歳納京子
function c1030.initial_effect(c)
-- special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(1030, 0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)