Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block deguchi

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
shyouhei / gist:266178ffedab5767a5b69b972c76f88a
Created Sep 27, 2017
View gist:266178ffedab5767a5b69b972c76f88a






okapies /
Last active Mar 25, 2018
Mastodon OStatus API の叩き方

Mastodon が他のインスタンスと情報交換をする OStatus API の使い方。使ってるだけのユーザは知る必要がない裏側の話。


Mastodon インスタンスに対して、RFC6415 が規定する /.well-known/host-meta というパスを要求すると以下の XML が返ってくる.

<?xml version="1.0"?>
<XRD xmlns="">
  <Link rel="lrdd" type="application/xrd+xml" template="https://[MASTODON_HOST]/.well-known/webfinger?resource={uri}"/>
steverichey /
Created Jun 15, 2016
CUDA ARM Setup (Ubuntu 14.04)
# install CUDA
sudo apt-get update
wget ""
sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb
sudo apt-get update
sudo apt-get install cuda -y
export PATH=/usr/local/cuda-7.5/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64:$LD_LIBRARY_PATH
# install MPI (optional, for some samples)
mizchi / フロントエンドを楽にするために.md
Last active Nov 7, 2019
View フロントエンドを楽にするために.md


Qiitaを支えたい技術 at 時雨祭


  • HN: mizchi
  • Qiitaの方からきました(入社半年たったらしい)
  • Reactオジサンはそろそろ飽きてきた
  • Angularに興味が無いのでこっちにきた
insin / .jshintrc
Last active May 21, 2019
Template for HTA / browser React apps
View .jshintrc
"browser": true,
"node": true,
"curly": true,
"devel": true,
"globals": {
"ActiveXObject": true,
"async": true,
"moment": true,
# Connects to servers vulnerable to CVE-2014-0160 and looks for cookies, specifically user sessions.
# Michael Davis (
# Based almost entirely on the quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (
# The author disclaims copyright to this source code.
import select
clouddueling / fabricMOdule.js
Created Jan 22, 2014
fabricjs zoom canvas and all objects angularjs
View fabricMOdule.js
// Reset Zoom
self.resetZoom = function() {
var objects = canvas.getObjects();
for (var i in objects) {
var scaleX = objects[i].scaleX;
var scaleY = objects[i].scaleY;
var left = objects[i].left;
var top = objects[i].top;
mbertrand / index.html
Last active Nov 20, 2017
D3.js + OpenLayers
View index.html
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>D3.js and Openlayers - US States</title>
<link rel="stylesheet" href="" type="text/css">
<link rel="stylesheet" href="" type="text/css">
<script src=""></script>
hakobe /
Created Nov 25, 2010
Titanium build server
use strict;
use warnings;
use AnyEvent;
use AnyEvent::HTTPD;
use AnyEvent::Util qw(run_cmd);
use Cwd;
my $httpd = AnyEvent::HTTPD->new (port => 9090);
View Ruby勉強会@関西#41 発表資料下書き.md
You can’t perform that action at this time.