Skip to content

Instantly share code, notes, and snippets.

View tpdn's full-sized avatar
🇰🇵

tpdn

🇰🇵
View GitHub Profile
@pratos
pratos / zeppelin_ubuntu.md
Last active January 7, 2026 00:44
To Install Zeppelin [Scala and Spark] in Ubuntu 16.04LTS

Install Zeppelin in Ubuntu systems

  • First install Java, Scala and Spark in Ubuntu

    • Install Java
      sudo apt-add-repository ppa:webupd8team/java
      sudo apt-get update
      sudo apt-get install oracle-java8-installer
      
@ericclemmons
ericclemmons / example.md
Last active March 20, 2026 13:00
HTML5 <details> in GitHub

Using <details> in GitHub

Suppose you're opening an issue and there's a lot noisey logs that may be useful.

Rather than wrecking readability, wrap it in a <details> tag!

<details>
 Summary Goes Here
@azu
azu / Patterns for Participating.md
Last active January 14, 2023 09:11
プログラミング言語標準化のパターン
@cube-drone
cube-drone / automation.md
Last active February 24, 2026 02:10
Automation For The People

Automation for the People

Long ago, the first time I read "The Pragmatic Programmer", I read some advice that really stuck with me.

"Don't Use Manual Procedures".

This in the chapter on Ubiquitous Automation. To summarize, they want you to automate all the things.

The trouble was that I hadn't much of an idea how to actually go

@karpathy
karpathy / pg-pong.py
Created May 30, 2016 22:50
Training a Neural Network ATARI Pong agent with Policy Gradients from raw pixels
""" Trains an agent with (stochastic) Policy Gradients on Pong. Uses OpenAI Gym. """
import numpy as np
import cPickle as pickle
import gym
# hyperparameters
H = 200 # number of hidden layer neurons
batch_size = 10 # every how many episodes to do a param update?
learning_rate = 1e-4
gamma = 0.99 # discount factor for reward
@rowanmanning
rowanmanning / README.md
Last active April 17, 2025 05:46
Writing a Friendly README. This a companion-gist to the post: http://rowanmanning.com/posts/writing-a-friendly-readme/
@fredbenenson
fredbenenson / kickstarter_sql_style_guide.md
Last active April 4, 2026 19:52
Kickstarter SQL Style Guide
layout default
title SQL Style Guide
description A guide to writing clean, clear, and consistent SQL.
tags
data
process

Purpose

nginx-ssl-scache-sync-module

nginx-ssl-scache-sync-module は nginx の SSL セッションキャッシュを異なるホスト上の nginx と共有するためのパッチです。

利用するときは nginx をビルドする際に patch -p0 で適用してください。

ディレクティブ

ssl_session_cache_peers

@infinityb
infinityb / gist:600c22ae549cecf43244
Last active January 23, 2022 16:44 — forked from webstrand/gist:46fb441e52a8663bced0
Simple Rust Reverse Proxy
extern crate hyper;
extern crate url;
static HOST: &'static str = "www.google.com";
macro_rules! ret_err(
($e:expr) => {{
match $e {
Ok(v) => v,
Err(e) => { println!("Line {}: {}", line!(), e); return; }
@mizchi
mizchi / フロントエンドを楽にするために.md
Last active April 5, 2026 18:31
フロントエンドを楽にするために

フロントエンドを楽にするために

Qiitaを支えたい技術 at 時雨祭

About

  • HN: mizchi
  • Qiitaの方からきました(入社半年たったらしい)
  • Reactオジサンはそろそろ飽きてきた
  • Angularに興味が無いのでこっちにきた