Skip to content

Instantly share code, notes, and snippets.

View Means88's full-sized avatar
๐Ÿ˜ถ
...

Means88 Means88

๐Ÿ˜ถ
...
View GitHub Profile
@Means88
Means88 / latest_videos
Last active November 22, 2023 00:01
My Latest BiliBili videos ๐Ÿ‘‡
ใ€้•ฟ็ฌ›ใ€‘ๆ•…้ƒทใ‚’้›ขใ‚‹ใ‚‹ๆญŒ - ่ฒ่މไธ็š„... โ–ถ๏ธ:0.3k ๐Ÿ’ฌ:11
ใ€ๅฃ็ดใ€‘ๅฑฑ่Œถ่Šฑ - ่‹่ฒ็š„็‚ผ้‡‘ๅทฅๆˆฟ ~ ... โ–ถ๏ธ:0.3k ๐Ÿ’ฌ:12
ใ€ๅฃ็ดใ€‘ๅค•ๆšฎใ‚Œใจ็ ‚ๆ™‚่จˆ - ๅค่މ็š„็‚ผ... โ–ถ๏ธ:0.4k ๐Ÿ’ฌ:7
ใ€ๅฃ็ดใ€‘Dia - ๆ‰˜ๆ‰˜่މ็š„็‚ผ้‡‘ๅทฅๆˆฟ๏ฝžไบš... โ–ถ๏ธ:0.2k ๐Ÿ’ฌ:7
ใ€้•ฟ็ฌ›ใ€‘้ป„ๆ˜ - ็ˆฑๅค็š„็‚ผ้‡‘ๅทฅๆˆฟ๏ฝž้ป„... โ–ถ๏ธ:0.6k ๐Ÿ’ฌ:11
@Means88
Means88 / export.cocoascript
Created May 6, 2019 07:24
zeplin.sketchplugin
var onRun = function (context) {
var doc = context.document;
if (![doc fileURL] || [doc isDraft]) {
[NSApp displayDialog:@"Please save the document before exporting to Zeplin." withTitle:@"Document not saved"];
return;
}
if ([doc isDocumentEdited]) {
var alert = [NSAlert alertWithMessageText:@"Document not saved" defaultButton:@"Save and Continue" alternateButton:@"Cancel" otherButton:@"Continue" informativeTextWithFormat:@"To capture the latest changes in this Sketch document, Zeplin needs to save it first.\n\nโ˜๏ธ This might take a bit, depending on the document size."];
@Means88
Means88 / 0_reuse_code.js
Created September 13, 2017 08:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console