- mitsuruog
This file contains 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
//@author: alg (Vadim Smakhtin) | |
//@help: masking with binary image. Black - alpha, white - visible. | |
//@tags: mask, alpha | |
//@credits: | |
// -------------------------------------------------------------------------------------------------- | |
// PARAMETERS: | |
// -------------------------------------------------------------------------------------------------- | |
//transforms |
This file contains 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
import java.io.ByteArrayOutputStream; | |
import java.util.zip.DataFormatException; | |
import java.util.zip.Deflater; | |
import java.util.zip.Inflater; | |
import java.util.zip.CRC32; | |
import javax.xml.bind.DatatypeConverter; | |
// フィルタータイプ | |
static final int FT_NONE = 0; | |
static final int FT_SUB = 1; |
This file contains 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
// Draws a triangle using low-level OpenGL calls. | |
import java.nio.*; | |
PGL pgl; | |
PShader sh; | |
int vertLoc; | |
int colorLoc; | |
float[] vertices; |
絵文字 | 文字列 | 意味 |
---|---|---|
🎨 | art | コードのフォーマットや構造にテコ入れ |
🚀 | rocket | パフォーマンスを改善 |
✏️ | pencil2 | ドキュメントを書いた時 |
🚧 | construction | 作業中 |
➕ | heavy_plus_sign | 機能を追加,完成 |
➖ | heavy_minus_sign | 機能を削除 |
🔈 | speaker | ログを追加 |
🔇 | mute | ログを削除 |
This file contains 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
#!/usr/bin/python | |
''' | |
This script downloads your likes from your Tumblr blog. | |
It needs *BOTH* a valid OAuth key + secret *AND* a user token (obtained through OAuth). | |
Obtain the former here: https://www.tumblr.com/oauth/apps | |
Obtain the latter through API Explorer: https://api.tumblr.com/console/calls/user/info | |
(or through the nonsense of an OAuth dance if you'd like, this is Tumblr anyway, | |
I won't kink-shame you. But seriously.) |
TypeScript and Playground練習問題集更新情報
WIP
This file contains 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
/* | |
* Async.gs | |
* | |
* Manages asyncronous execution via time-based triggers. | |
* | |
* Note that execution normally takes 30-60s due to scheduling of the trigger. | |
* | |
* @see https://developers.google.com/apps-script/reference/script/clock-trigger-builder.html | |
*/ |
OlderNewer