Skip to content

Instantly share code, notes, and snippets.

View pine's full-sized avatar
🍍
Chaos

Pine Mizune pine

🍍
Chaos
View GitHub Profile
@shqld
shqld / Terser & Babel の好きなところ.md
Last active December 20, 2023 15:27
個人的にTerser & Babelの好きなところ

だれ?

(credit: @tomo_e さん)

  • 新卒 2 年目
  • ウェブチーム
@enepomnyaschih
enepomnyaschih / base64.js
Last active March 6, 2024 23:45
https://www.npmjs.com/package/byte-base64 - Encode JS Uint8Array, simple array of bytes or native JS string to base64 and back
/*
MIT License
Copyright (c) 2020 Egor Nepomnyaschih
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@naosim
naosim / retryFetch.js
Created July 16, 2019 22:12
【GAS】リトライありのfetch
function retryFetch(url) {
var lastError = null;
for(var i = 0; i < 3; i++) {
try {
var res = UrlFetchApp.fetch(url)
if(res.getResponseCode() == 200) {
return res.getContentText("UTF-8")
} else {
lastError = 'HTTPステータスコードが200以外: ' + res.getResponseCode() + ', ' + url;
}
@vidakDK
vidakDK / pycurl.md
Last active November 2, 2023 03:06
Install `pycurl` on MacOS Big Sur 11.0.1

Introduction

Installing pycurl on MacOS with Python 3.6+ and newer proved to be tricky, especially since a lot of the available resources seem to be outdated ([1], [2], [3]).

This gist was last updated at 2020-12-31.

Steps:

  1. Remove previously installed Homebrew versions of curl:
    brew uninstall curl
@signalpoint
signalpoint / README.md
Last active July 9, 2023 01:53
Bootstrap 4 Dynamic Modal with JavaScript

Use this to dynamically create and set the content of a Bootstrap 4 Modal.

In this example, we chose an onclick handler to initialize the modal (only once), and then set the content of the modal dynamically.

@masarakki
masarakki / ex-dwango.md
Last active February 23, 2022 13:42
株式会社ドワンゴを退職しました

株式会社ドワンゴを退職しました

2011年3月15日に就職してから今日で8年と3ヶ月半・・・月にして99ヶ月・・・日数にして実に3033日 と・・・計算している間にも23秒が過ぎてしまったわけですが、株式会社ドワンゴを退職しました。 7月からはクックパッドで働きます。

ドワンゴでやってきたこと

@matsuu
matsuu / font-hackgen.rb
Last active August 7, 2019 22:40
brew cask install font-hackgen.rb
cask 'font-hackgen' do
version '1.2.1'
sha256 '04f470fd90e4d6560614647608b6f7185877b9c08536028d60d289f9a162cb23'
url "https://github.com/yuru7/HackGen/releases/download/v#{version}/HackGen_v#{version}.zip"
appcast 'https://github.com/yuru7/HackGen/releases.atom'
name 'HackGen'
homepage 'https://github.com/yuru7/HackGen'
font "HackGen_v#{version}/HackGen-Bold.ttf"
@shomah4a
shomah4a / spam.txt
Last active May 1, 2020 02:16
spam
From: James Porter james@j-tech.dev
My name is James from J-Tech.dev. I am a specialist recruiter for software engineering. I speak Japanese and English and can write a little bit of code. Our goal is to tell you about the newest tech companies in Tokyo.
Global Fintech Company - Fastest Growing Engineering Team in Japan
Global team spread across North America and Asia
Office is located inside of a WeWork office
Very competitive salaries
Startup atmosphere
Modern tech stack