Skip to content

Instantly share code, notes, and snippets.

View pine's full-sized avatar
🍍
Chaos

Pine Mizune pine

🍍
Chaos
View GitHub Profile
@remarkablemark
remarkablemark / dispatch-keydown-event.js
Created November 16, 2022 23:31
JavaScript dispatch keydown event programmatically
const KEY_CODE = {
ARROW_DOWN: 40,
BACKSPACE: 8,
ENTER: 13,
};
/**
* Dispatch keydown event.
*
* @param {number} keyCode
@igorborgest
igorborgest / inner_join_vs_explode.sql
Created May 2, 2022 17:54
SparkSQL and Hive unnest examples.
-- REGULAR
WITH
ORDERS(order_id, dt) AS (
VALUES
(1, DATE('2022-01-01')),
(2, DATE('2022-01-02')),
(3, DATE('2022-01-03'))
),
ITEMS(item_id, order_id, price) AS (
VALUES
@serihiro
serihiro / Emoloyee.java
Last active January 1, 2022 12:48
Hot to smart-cast a Java class variable in Kotlin
import javax.annotation.Nullable;
public class Employee {
private String firstName;
private String lastName;
private Integer age;
public Employee(String firstName, String lastName, Integer age){
this.firstName = firstName;
this.lastName = lastName;
@mattak
mattak / job.md
Last active January 10, 2023 05:50

連絡先

共通

業務形態:

@mala
mala / 202012_smooz.md
Last active October 6, 2022 14:28
Smoozサービス終了に寄せて

Smoozサービス終了に寄せて

前置き

  • この文章と、それに含まれる考察や各サービスへの脆弱性報告などはmala個人の活動であり、所属している企業とは関係ありません。
  • 一方で私は、企業が閲覧履歴を収集して何をしたいのか、所属してる企業や他社事例について、ある程度詳しい当事者でもあります。
  • 一般論として書けることは書けるが、(業務上知り得た知識で開示されてないものなど)個別具体的なことは書けないこともあり、また観測範囲に偏りがある可能性もあります。

Smoozに報告した脆弱性2件

@msymt
msymt / method.md
Last active September 5, 2022 13:29
IntelliJ IDEAでバックスラッシュ(\)を打つ方法

IntelliJ IDEAでバックスラッシュ(\)を打つ方法

環境

IntelliJ IDEA 2020.1.1 (Community Edition)
Build #IC-201.7223.91, built on April 30, 2020
Runtime version: 11.0.6+8-b765.40 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.4
GC: ParNew, ConcurrentMarkSweep

@mala
mala / covid19-twitter-research_01.md
Last active December 31, 2021 05:58
生活と意見: ソーシャルディスタンスなどと称してユーザー名や文章にスペースを挟む行為についての苦情

生活と意見: ソーシャルディスタンスなどと称してユーザー名や文章にスペースを挟む行為についての苦情

更新履歴

2020-05-13 追記

@deskoh
deskoh / Jenkinsfile
Last active April 30, 2024 03:04
Jenkinsfile Examples
Jenkinsfile examples
@tanaikech
tanaikech / submit.md
Last active July 26, 2023 16:04
Automatic Recalculation of Custom Function on Spreadsheet Part 2

Automatic Recalculation of Custom Function on Spreadsheet Part 2

Description

I have already reported about "Automatic Recalculation of Custom Function on Spreadsheet Part 1" at here. Here, I would like to introduce other workaround for forcibly recalculating the custom functions and built-in functions using Class TextFinder. Class TextFinder has added at April 5, 2019. By this, this workaround can be proposed.

Sample scripts

Pattern 1

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

だれ?

(credit: @tomo_e さん)

  • 新卒 2 年目
  • ウェブチーム