Skip to content

Instantly share code, notes, and snippets.

View nobuh's full-sized avatar

Nobuhiro Hatano nobuh

View GitHub Profile
@ankithooda
ankithooda / gist:b0d624aec9b3ed2882713d59feba4b11
Last active October 25, 2024 15:38
SimpleDB setup instructions from terminal - NO IDE
# Get SimpleDB_3.4.zip from here - http://www.cs.bc.edu/~sciore/simpledb/
# Tested using OpenJDK 17.0.2
# Unzip SimpleDB_3.4
> unzip SimpleDB_3.4.zip
> cd SimpleDB_3.4
# Create bin folder to store the compiled .class files
> mkdir -p bin/server
@voluntas
voluntas / index.md
Last active November 4, 2024 07:18
Zig 言語リファレンス
  • これは Zig ドキュメント 0.10.1 を DeepL Pro と ChatGPT を利用して翻訳したものです。
    • 一部 master なモノもあります、ごちゃ混ぜです
  • 自分用に翻訳しています
<?php
const EXIT_SUCCESS = 0;
const EXIT_FAILURE = 0;
const COLUMN_ID_SIZE = 19;
const COLUMN_USERNAME_SIZE = 32;
const COLUMN_EMAIL_SIZE = 80;
const ID_SIZE = COLUMN_ID_SIZE;
@nobuh
nobuh / .vimrc
Created September 20, 2017 01:08
my vimrc
" To insert spaces whenever the tab key is pressed.
" To expand existing tabs, use :retab
set expandtab
" Number of spaces inserted for indentation.
set shiftwidth=4
" BS delete spaces for tabs
set smarttab
" Without .swap files
set noswapfile
set tabstop=4
@0x4D31
0x4D31 / beautiful_idiomatic_python.md
Last active September 5, 2024 12:30 — forked from JeffPaine/beautiful_idiomatic_python.md
[Beautiful Idiomatic Python] Transforming Code into Beautiful, Idiomatic Python #python

Transforming Code into Beautiful, Idiomatic Python

Notes from Raymond Hettinger's talk at pycon US 2013 video, slides.

The code examples and direct quotes are all from Raymond's talk. I've reproduced them here for my own edification and the hopes that others will find them as handy as I have!

Looping over a range of numbers

for i in [0, 1, 2, 3, 4, 5]:
@nobuh
nobuh / equation_in_jupyter.ipynb
Last active June 21, 2018 21:23
jupyter notebook で数式
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mrry
mrry / tensorflow_self_check.py
Last active September 26, 2024 15:39
[DEPRECATED] TensorFlow on Windows self-check
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@nobuh
nobuh / how_to_find_good_engineer.md
Last active March 6, 2024 10:23
よいエンジニアの見分け方

よいエンジニアの見分け方

よいエンジニアかどうか見分ける、たった一つの方法で必要にして十分なもの。それは

謙虚さ

何も謙虚な態度をつねにしてなきゃいけない、という訳じゃない。若者特有の「俺最高!」な全能感に突き動かされることもあるだろうし、そうした強さも競争を勝ち抜くために必要なのも事実。

でも、職人的な仕事、とくにエンジニアに関してはこの「謙虚さ」が今までも、そしてこれからももっとも大切な資質になる。これからそれを詳しく解説しよう。

@ravishchawla
ravishchawla / SimpleDB Setup Instructions.md
Last active October 16, 2024 00:51
Setup instructions for installing and configuring the SimpleDB Server and Client Database