Skip to content

Instantly share code, notes, and snippets.

View snaga's full-sized avatar

Satoshi Nagayasu snaga

View GitHub Profile
diff --git a/package.json b/package.json
index eeefd0e..067fad2 100644
--- a/package.json
+++ b/package.json
@@ -7,6 +7,7 @@
"@testing-library/react": "^13.1.1",
"@testing-library/user-event": "^13.5.0",
"react": "^18.0.0",
+ "react-cookie": "^4.1.1",
"react-dom": "^18.0.0",
@snaga
snaga / nginx.conf.diff
Created April 17, 2022 02:17
nginx.conf.diff
*** nginx.conf.orig 2022-04-17 01:50:37.192213186 +0000
--- nginx.conf 2022-04-17 02:14:05.153078648 +0000
***************
*** 36,43 ****
include /etc/nginx/conf.d/*.conf;
server {
! listen 80;
! listen [::]:80;
server_name _;
@snaga
snaga / lambda_function.py
Created March 26, 2022 06:01
lambda_function.py
#!/usr/bin/env python3
import boto3
import decimal
import json
# Import from the Lambda Layer
from sflib import sflib
@snaga
snaga / sflib.py
Created March 26, 2022 05:59
sflib.py
#!/usr/bin/env python3
from decimal import Decimal
import os
import unittest
import snowflake.connector
def connect(user, password, account, database):
@snaga
snaga / AWS Data Analytics Specialty.md
Last active December 21, 2020 02:19
AWS Data Analytics Specialty Materials

AWS Data Analytics Specialty

Technologies

  • EMR bb
    • EMRFS
    • EMR Notebook
  • Kinesis bb
    • Kinesis Data Firehose
  • Kinesis Data Stream
@snaga
snaga / 安定結婚問題.ipynb
Created March 22, 2020 07:34
安定結婚問題
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@snaga
snaga / pg_stat_statements_using_pandas.ipynb
Created December 1, 2019 02:46
pg_stat_statements_using_pandas.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@snaga
snaga / PuLP2.ipynb
Last active March 8, 2018 15:39
線形計画をPythonで解いてみる(2)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.