Skip to content

Instantly share code, notes, and snippets.

View Philmist's full-sized avatar

Philmist Philmist

  • Fukushima pref. , Japan
View GitHub Profile
@xyzzy-17-638
xyzzy-17-638 / github-for-nanashi-san-0.02.md
Created March 2, 2012 22:58
名無しさんのための GitHub 3分クッキング

名無しさんのための GitHub 3分クッキング

対象者

  • 名無しさん
  • git (ぎっと) とか知らない
  • GitHub (ぎっとはぶ) は、なぜか名前だけ知ってる

なにができるようになるの?

@valberg
valberg / imagewiththumbnails_updateable.py
Created April 20, 2012 14:55
Django create thumbnail form ImageField and save in a different ImageField - now with updating!
# Extension of http://www.yilmazhuseyin.com/blog/dev/create-thumbnails-imagefield-django/
# Note: image_folder and thumbnail_folder are both a callable (ie. a lambda that does a '/'.join())
class Image(Media):
image = models.ImageField(
upload_to=image_folder
)
thumbnail = models.ImageField(

About Me

me
Name: Seiya Ishibashi
Nationality: Japan
Address: Tokyo Japan
Email: [email protected]

Work Experience

2021-2025 Polyphony Digital

@Chaser324
Chaser324 / GitHub-Forking.md
Last active May 25, 2025 02:12
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

@yokawasa
yokawasa / rssCrawler4Docdb.py
Last active November 18, 2021 22:57
RSS Crawler - Crawling and parsing data with feedparser and storing results into Azure DocumentDB with pydocumentdb
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import feedparser
import pydocumentdb.documents as documents
import pydocumentdb.document_client as document_client
import pydocumentdb.errors as errors
import pydocumentdb.http_constants as http_constants
Docdb_masterKey = '<Your Documentdb master key string>'
Docdb_host = 'https://<documentdb account>.documents.azure.com:443/'
@lopspower
lopspower / README.md
Last active May 20, 2025 21:30
All Android Directory Path

All Android Directory Path

Twitter

1) System directories

⚠️ We can't write to these folers

Method Result
@ha2ne2
ha2ne2 / swap_way.rb
Last active October 14, 2016 14:15
# coding: utf-8
# swap([0,1,2], 0, 2)
# => [2, 1, 0]
def swap(v, n, m)
v2 = v.dup
v2[m] = v[n]
v2[n] = v[m]
v2
end
@syamgot
syamgot / fixed_fill_text.js
Last active March 24, 2022 11:31
折り返しと改行を伴うテキストをキャンバスに描画する
(function(){
var text = 'F1ドライバーのロズベルグ選手は、所属するメルセデスチームとの契約をカリブ海の英領バージン諸島にある企業を介して行っていることが判明。';
var canvas, context;
canvas = document.createElement('canvas');
canvas.width = 512;
canvas.height = 256;
@mntone
mntone / clock.lua
Last active October 25, 2023 01:53
Sets a text source to act as a clock when the source is active. The format matches `strftime`. Use only in OBS Studio 21.0 and later!
obs = obslua
source_name = ""
tick = 1000
last_text = ""
format = ""
activated = false
local s_unit = 1000 * 1000 * 1000 -- [ns]