Skip to content

Instantly share code, notes, and snippets.

View tinarskii's full-sized avatar

Tinnaphat Somsang tinarskii

  • Assumption College Samutprakarn (@urgrowth)
  • ΰΈ›ΰΉ‰ΰΈ­ΰΈ‘ΰΈ’ΰΈΈΰΈ—ΰΈ˜ΰΈ™ΰΈ²ΰΈ§ΰΈ΅ΰΈžΰΈ£ΰΈ°ΰΉ€ΰΈˆΰΈ”ΰΈ΅ΰΈ’ΰΉŒΰΈΰΈ₯ΰΈ²ΰΈ‡ΰΈ™ΰΉ‰ΰΈ³ΰΈŸΰΈ²ΰΈ£ΰΉŒΰΈ‘ΰΈˆΰΈ£ΰΈ°ΰΉ€ΰΈ‚ΰΉ‰ΰΉƒΰΈ«ΰΈΰΉˆΰΈ‡ΰΈ²ΰΈ‘ΰΈ§ΰΈ΄ΰΉ„ΰΈ₯ΰΉ€ΰΈ‘ΰΈ·ΰΈ­ΰΈ‡ΰΉ‚ΰΈšΰΈ£ΰΈ²ΰΈ“ΰΈͺΰΈ‡ΰΈΰΈ£ΰΈ²ΰΈ™ΰΈ•ΰΉŒΰΈžΰΈ£ΰΈ°ΰΈ›ΰΈ£ΰΈ°ΰΉΰΈ”ΰΈ‡ΰΈ›ΰΈ₯ΰΈ²ΰΈͺΰΈ₯ิดแห้งรΰΈͺΰΈ”ΰΈ΅ΰΈ›ΰΈ£ΰΈ°ΰΉ€ΰΈžΰΈ“ΰΈ΅ΰΈ£ΰΈ±ΰΈšΰΈšΰΈ±ΰΈ§ΰΈ„ΰΈ£ΰΈšΰΈ–ΰΉ‰ΰΈ§ΰΈ™ΰΈ—ΰΈ±ΰΉˆΰΈ§ΰΈ­ΰΈΈΰΈ•ΰΈͺาหกรรฑ (Samutprakarn), Thailand
  • 11:44 (UTC +07:00)
  • X @tinarskii
  • Twitch tinarskii
  • Instagram t1.narskii
  • Facebook tinarskii
View GitHub Profile
@mikkipastel
mikkipastel / calendar.js
Created April 17, 2022 07:06
create function for get today is holiday event
function checkTodayIsHoliday(webhook) {
let minNow = new Date();
minNow.setHours(7, 0, 0, 0);
const timeMin = minNow.toISOString();
let maxNow = new Date();
maxNow.setDate(maxNow.getDate() + 1);
maxNow.setHours(7, 0, -1, 0);
const timeMax = (new Date(maxNow)).toISOString();
@tinarskii
tinarskii / minesweeper.js
Last active February 3, 2022 15:37
Simple MineSweeper Game
class Cell {
constructor (x, y) {
this.x = x;
this.y = y;
this.isMine = false;
this.isFlagged = false;
this.isRevealed = false;
this.neighborMines = 0;
}
}
​
@tinarskii
tinarskii / 𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫𒐫
@anvaka
anvaka / 00.Intro.md
Last active April 20, 2025 21:16
npm rank

npm rank

This gist is updated daily via cron job and lists stats for npm packages:

  1. Top 1,000 most depended-upon packages
  2. Top 1,000 packages with largest number of dependencies
  3. Top 1,000 packages with highest PageRank score
/*************************************************
* Public Constants
*************************************************/
#define NOTE_B0 31
#define NOTE_C1 33
#define NOTE_CS1 35
#define NOTE_D1 37
#define NOTE_DS1 39
#define NOTE_E1 41