Skip to content

Instantly share code, notes, and snippets.

View numa08's full-sized avatar
🐍

Takaya Funabiki numa08

🐍
View GitHub Profile
@turtlemonvh
turtlemonvh / Makefile
Last active January 23, 2024 03:33
Golang Project Makefile Template
# Borrowed from:
# https://github.com/silven/go-example/blob/master/Makefile
# https://vic.demuzere.be/articles/golang-makefile-crosscompile/
BINARY = superdo
VET_REPORT = vet.report
TEST_REPORT = tests.xml
GOARCH = amd64
VERSION?=?
@yanac
yanac / snack.md
Last active November 12, 2015 03:59
covellineのお茶菓子代金について

お茶菓子代金は1ヶ月5000円程度で運用しようと思います。 (一人当り1250円 *牛乳込で1600円程度)

流れ

  1. 各自月末までに1250円分のお茶菓子をslackの #snack にURLで提案
  2. 総務(あるいは有志の者)が集計して購入 (購入は 1箇所でまとめて購入して頂きたい)
  3. 有志の者が購入してくれた場合、明細書となるものを dropbox の指定の場所に格納し、 slackで総務に報告
  4. 紙媒体で来る場合、それを総務へ提出
package net.yanzm.profileapplication;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.app.FragmentManager;
import android.content.Intent;
import android.net.Uri;
package net.yanzm.profileapplication;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
@quellish
quellish / xcci.md
Created October 28, 2014 03:03
Xcode CI script variables

Variable

Type

@xuwei-k
xuwei-k / Main.scala
Last active December 29, 2015 21:59
Scala2.11 awesome!
import scala.sys._
object Main{
val a = b + "foo"
val b = "b"
private val c = 0
private var d = 1
println(d)
public class Display {
public static void main(String[] args) {
Display display = new Display();
Outputalbe data = new Profile("numa08", 24);
display.out(data); //Hey I am numa08 and , I'm 24 old.
}
private void out(Outputalbe data) {
@josiahcarlson
josiahcarlson / chunked_server_test.py
Last active March 20, 2024 20:30
Use some standard Python libraries to implement a chunked-transfer encoding web server with partially-working gzip support
'''
chunked_server_test.py
Copyright August 3, 2012
Released into the public domain
This implements a chunked server using Python threads and the built-in
BaseHTTPServer module. Enable gzip compression at your own peril - web
browsers seem to have issues, though wget, curl, Python's urllib2, my own
async_http library, and other command-line tools have no problems.
@kmizu
kmizu / gist:1876800
Last active December 22, 2019 00:05 — forked from gakuzzzz/gist:1865400
Scala環境構築

Scala 開発環境構築手順

前提条件

  • JDKがinstall済みであること
  • java コマンドに環境変数Pathが通っていること
@trodrigues
trodrigues / gist:1023167
Created June 13, 2011 16:51
Checkout only certain branches with git-svn
If you want to clone an svn repository with git-svn but don't want it to push all the existing branches, here's what you should do.
* Clone with git-svn using the -T parameter to define your trunk path inside the svnrepo, at the same time instructing it to clone only the trunk:
git svn clone -T trunk http://example.com/PROJECT
* If instead of cloning trunk you just want to clone a certain branch, do the same thing but change the path given to -T:
git svn clone -T branches/somefeature http://example.com/PROJECT