Skip to content

Instantly share code, notes, and snippets.

View puhitaku's full-sized avatar
:octocat:
= 🐙 + 🐱

Takumi Sueda puhitaku

:octocat:
= 🐙 + 🐱
View GitHub Profile
@puhitaku
puhitaku / .clang-format
Last active April 7, 2024 06:49 — forked from pganssle/.clang-format
Clang format style that approximates PEP 7
# Forked from https://gist.github.com/pganssle/0e3a5f828b4d07d79447f6ced8e7e4db
# Licensed under MIT License which the author permits to release with.
# Copyright 2024 Takumi Sueda
# Copyright 2019 Paul Ganssle
# A clang-format style that approximates Python's PEP 7
# Useful for IDE integration
BasedOnStyle: Google
AlwaysBreakAfterReturnType: AllDefinitions
AllowShortIfStatementsOnASingleLine: false
@puhitaku
puhitaku / add_pycharm_launcher.sh
Last active March 26, 2018 05:47 — forked from rob-murray/add_intellij_launcer
Add PyCharm launcher shortcut and icon for ubuntu
set -ue -o
APP_ID="clion"
APP_NAME="CLion"
APP_VER="2017.3.4"
APP_DIR="/home/sueda/jetbrains"
sudo bash -c "cat > /usr/share/applications/${APP_ID}.desktop" <<EOF
[Desktop Entry]
Version=${APP_VER}
@puhitaku
puhitaku / image-to-ansi.py
Last active January 19, 2019 21:46 — forked from klange/image-to-ansi.py
Convert images to ANSI escape sequences
#! /usr/bin/env python
"""This is an improved image_to_ansi.py.
It's 7x faster than original version.
WTFPL is preserved for saying thank you to original developer, Mr. Elliott.
"""
__author__ = 'Micah Elliott http://MicahElliott.com; Kevin Lange <k@dakko.us>; Takumi Sueda <puhitaku@gmail.com>'
__version__ = '0.1'
@puhitaku
puhitaku / git
Created May 7, 2014 08:00 — forked from poutyface/git
githubへ登録
===========
git remote add origin git@github.com:<username>/<application_name>.git
git push origin master
初期設定
=======
git config --global user.name "Foo Bar"
git config --global user.email "foo@bar.com"