Skip to content

Instantly share code, notes, and snippets.


Ponto masaponto

Block or report user

Report or block masaponto

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .tmux.conf
# Prefix
unbind C-b
set-option -g prefix C-x
#reload setting
bind C-r source-file ~/.tmux.conf \; display "Reloaded!"
##status bar
#set -g status-interval 10
#set -g status-bg colour100
#!/usr/bin/env python
import tensorflow as tf
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Conv2D, MaxPooling2D, MaxPooling2D, Flatten, Dense, Dropout
import numpy as np
def generate_data():
x = np.random.rand(100, 20, 30, 10)
t = np.concatenate([np.ones(50),np.zeros(50)])
View xmodmap
remove Lock = Caps_Lock
keycode 66 = Control_L
add Control = Control_L
add Shift = Muhenkan
!remove mod1 = Alt_R
!keycode 108 = Return
keycode 101 = BackSpace
masaponto / KEYBOARD.CNF
Created Jun 23, 2018
teraterm keybord setting for dvorak
; Sample of KEYBOARD.CNF for the IBM-PC/AT 101-key keyboard.
; See KEYCODE.TXT for the description of the format.
; This file based on IBMKEYB.CNF
; 1. send the symbol of each key top "as-is" at editor keypad.
[VT editor keypad]
;Up arrow key
;Down arrow key
masaponto /
Last active Mar 10, 2018
A sample code for docomo sebastien CGS (
#!/usr/bin/env python
import flask
from flask import Flask, request, jsonify
app = Flask(__name__)
def hello():
#!/usr/bin/env python
import requests
import ffmpeg
import subprocess
class DTALK:
This scripts depends on 'aplay' command
View 2-42.scm
(define (queens board-size)
(define (queen-cols k)
(if (= k 0)
(list empty-board)
(lambda (positions) (safe? k positions))
(lambda (rest-of-queens)
(map (lambda (new-row)
View Dockerfile
FROM debian:jessie
MAINTAINER masaponto <>
RUN apt-get update -y && \
apt-get install -y \
texlive \
texlive-fonts-extra \
texlive-bibtex-extra \
texlive-lang-japanese \
masaponto /
Last active Nov 8, 2017


$ pip3 install --upgrade google-api-python-client
$ pip3 install --upgrade git+
$ echo 'export OFLS_KEY=<your-key-for-spread-sheet-goes-here>' >> ~/.bash_profile
$ echo 'export OFLS_GID=<your-gid-for-spread-sheet-goes-here>' >> ~/.bash_profile
You can’t perform that action at this time.