Skip to content

Instantly share code, notes, and snippets.

console.log('%c ', unescape(escape('👤👩👳👰👬👡👹😺👩👮👬👩👮👥😭👢👬👯👣👫😻👢👡👣👫👧👲👯👵👮👤😺😣👦👦👦😠👵👲👬😨👤👡👴👡😺👩👭👡👧👥😯👳👶👧😫👸👭👬😻👢👡👳👥😶😴😬👐🙈🙎😲👚👹🙂😲👚👘🙊👺👡👗😹👵👐👓🙉👸🙌👪🙅👩🙉🙈👚👰👚👘👤🙃👢😳👧😹🙉👪👕👵🙎🙃🙁😱🙌👪👑👧🙍👔🙉😰🙉🙄🙍👷🙉👩🙂😴👢👗👸👵👣👺😰👩👡🙈👒😰👣🙄👯👶🙌😳👤😳👤👹😵😳🙍👹😵👶👣👭👣👶🙍👪🙁👷🙍🙃😹👺👤👭👣👩👐👪👸👷👙👘👒👯🙉🙇👑😹🙉👫😰👸🙎👹🙁😱🙌👪👒👪🙌👓😴👸🙎👩🙁👸🙌👓😴👺🙎👩🙁👹🙌👓😴😱🙏👓🙁👺👣👹😰👵🙎👓🙁👸🙌👪👧👴🙌👪👣😴🙉🙄🙉👵🙎👭👧👸🙎👘👙😱🙌👪👚👯🙌👔👕👵🙎👗🙅👹🙍👩🙁👹🙍👩🙁👷🙉🙄🙁👸🙌👔🙉👵🙎👓🙁😴🙌👪👕👧🙍👔👫👧🙍👔👫👧🙍🙃🙁👷🙍👓😰😰🙌👪🙍👧🙎👓😴😰🙉🙄🙉😲🙉🙄🙉😲🙉🙄🙁👧🙍🙄🙅👴🙎🙃😴😱🙉🙄🙍👧🙍👪🙅👧🙍👪🙅👧🙍🙃🙁👷🙍👓😰👺🙌👪👕👧🙍👓😴😱🙉🙄👫👵🙏🙃🙁😵🙌👪👧👧🙍🙃🙁👷🙍👓😰👸🙌👪👑👵🙍👺👤😲🙌👔👕👵🙎😲🙅😳🙌👪👙👧🙎👹😴😲🙉🙄🙁👧🙍🙄🙁👸🙌👪👑👴🙌👪👑😱🙉🙄🙅😱🙉🙄🙅😱🙉🙄🙁👧🙍🙄🙁😲🙌👪👫👴🙎👓😴😴🙉🙄🙅😳🙉🙄🙅😳🙉🙄🙁👧🙍🙄🙁👹🙌👪🙍👴🙎👩😴😵👡🙃😰😱🙌👪👬👨🙍👪🙅👧🙍👪🙅👧🙍🙃🙁👷🙍👓😰👺🙌👪👕👧🙎🙃😴😳🙉🙄🙉👷🙉🙄🙉👷🙉🙄🙁👧🙍🙄🙅👴🙍👹🙁👹🙌👪👕👧🙍👔🙅👧🙍👔🙅👧🙍🙃🙁👷🙍👓😰👸🙌👪🙉👵🙎👺👚😲🙌👔👙👵🙎🙇🙅😰🙉🙄👑👧🙍🙃🙁👷🙍🙃😴😳🙏🙃😰👵🙎👪👑👧🙏👓😴😵🙉🙄👫👵🙏👓🙁👷🙉🙄🙁👷🙍👓😴😲🙌👔🙉👵🙍👩🙁👺🙍🙃🙁👺🙍🙃🙁👷🙉🙄🙁👷🙍👓😴😵🙌👔🙍👵🙏👓🙁👹🙎👓🙁👹🙎👓🙁👷🙉🙄🙁👷🙍👓😴😲🙌👔👕👵🙏👘👯👧👔👔🙍😵🙉🙄👣👵🙎🙇🙅😱🙌👪👫👧🙎👓😴😵🙉🙄🙁👧🙍🙄🙁👴🙎👩🙁😱🙌👪👨👪🙍🙃🙁😰🙌👪🙍👧🙎👓😴😱🙉🙄👫👵🙎🙃🙁😱🙌👪👧👧🙏👓😴😲👙👓😴👺🙍👓😴👺🙍👓🙁👷🙉🙄🙁👷🙌👪🙉😱🙌👪🙁😴🙌👪🙍👺🙌👪🙍👺🙉🙄🙁👧🙍🙄🙁👵🙍👪🙍👴🙌👪🙁😵👙👹😴👹🙎🙃😰👵🙍👪🙅👧🙎👓😴😴🙌👔👕👵🙍👹🙁😱🙌👪👧👴🙏👓😴😲👙👔👕👵🙏👓🙁😱🙌👪👫👧🙍🙃🙁👷🙍🙃😰😲🙌👔👕👵🙏🙇😰👷🙉🙄👫👵🙍👗🙅👺🙌👪🙉👧🙍👹😴👹🙉🙄🙁👧🙍👔🙅👺🙌👪🙍👴🙍👹😴👹🙉🙄🙍👵🙍👹🙁👺🙌👪🙍👧🙍🙃🙁👷🙍👓😰👺🙌👪🙍👧🙍👹😴👺🙉🙅😰😱🙏🙃🙁👸🙍😲🙍👴🙍👓😴👹🙉🙄👕👵🙎👹😰👹🙌👪🙍👧🙏🙃😴😱🙌👔👑👵🙎👩🙁👸🙍👭🙅👹🙎👹🙁👹🙎👹🙁👷🙉🙄🙁👸🙌👔👙👵🙍👓🙁😲🙌👪🙉👧🙍👪🙍👧🙍👪🙍👧🙍🙃🙁👷🙍👓😰😲🙉🙄🙍👵🙍👓🙁👹🙍👩🙁👹🙍👩🙁👷🙉🙄🙁👸🙌👔👑👵🙎
@tsukumijima
tsukumijima / TSInfoExtractor.py
Last active November 15, 2023 07:29
TS ファイルから各種情報を取得して JSON で出力するツール / ライブラリ
#
# TSInfoExtractor.py
# Copyright (c) 2021-2022 tsukumi. Licensed under MIT.
#
import json
import sys
from copy import copy
from datetime import date
from datetime import datetime
@adrienshen
adrienshen / proxy-stream.js
Last active December 30, 2023 19:10
Simple method to pipe ytdl-node steam into Express endpoint POC
const ytdl = require('ytdl-core');
const express = require('express');
const app = express();
const videoID = 'http://www.youtube.com/watch?v=';
app.use('mp3', express.static(__dirname + '/mp3'));
app.get('/stream/:id', (req, res) => {
console.log('video url >> ', videoID + req.params.id);
@stepney141
stepney141 / BookmarkAPI_en.md
Last active April 4, 2023 01:45
(DEPRECATED) Twitter Undocumented Endpoints for Bookmark
@warlock
warlock / app.json
Created June 20, 2019 13:25
App.json Expo Example Android And iOS permission examples
{
"expo": {
"name": "appname",
"slug": "appslug",
"privacy": "unlisted",
"sdkVersion": "32.0.0",
"platforms": [ "ios", "android" ],
"version": "2.0.36",
"orientation": "portrait",
"icon": "./assets/icon.png",
@orimajp
orimajp / nuxt-axios-api-register.md
Created May 19, 2019 14:36
Nuxt.jsでaxios-moduleを利用する際に自作APIクラスのリクエスト実行をaxiosプラグイン配下に置く方法

Nuxt.jsでaxios-moduleを利用する際に自作APIクラスのリクエスト実行をaxiosプラグイン配下に置く方法

概要

Nuxt.jsでaxiosモジュールを使って通信を行う場合、リクエストへ認証情報追加やエラーハンドリングなどの共通処理をaxiosプラグインに定義できる。

Vueコンポーネントなどでaxiosによる通信を行う場合はこれらの共通処理を利用することができるが、自作のAPIクラスでは利用できない問題を、APIを登録する自作プラグインの登録により解決する方法について記述する。

上手くいかないパターン

axiosを利用するAPIクラスを実装し、これをインポートして通信を行う。

plugins/axios.js

@Fobxx
Fobxx / shige-skins.md
Last active June 16, 2024 19:08
Shigetora skins
@thomasbnt
thomasbnt / code_colors_discordjs.md
Last active July 19, 2024 14:12
Code colors for embed discord.js

Here is an updated list of the colors that are currently implemented with a name. To using colors on discord.js, this is a typedef Colors, Colors.Aqua to get the Aqua color.

Name Int value Hex Code
Default 0 #000000
Aqua 1752220 #1ABC9C
DarkAqua 1146986 #11806A
Green 5763719 #57F287
DarkGreen 2067276 #1F8B4C
@shospodarets
shospodarets / Chrome headless Puppeteer- capture DOM element screenshot using
Last active January 17, 2023 18:52
Chrome headless Puppeteer- capture DOM element screenshot using
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
// Adjustments particular to this page to ensure we hit desktop breakpoint.
page.setViewport({width: 1000, height: 600, deviceScaleFactor: 1});
await page.goto('https://www.chromestatus.com/samples', {waitUntil: 'networkidle'});
@lukas-h
lukas-h / license-badges.md
Last active July 11, 2024 07:00
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)