Skip to content

Instantly share code, notes, and snippets.

View m2wasabi's full-sized avatar
🎲
Random

m2wasabi m2wasabi

🎲
Random
View GitHub Profile
@m2wasabi
m2wasabi / fastestmirror.conf
Last active August 29, 2015 14:03
CentOS7.0 yum外部リポジトリまとめ(2015/03/04版) ref: http://qiita.com/m2wasabi/items/57ee6663e5de653870ff
[main]
#enabled=1
enabled=0
@m2wasabi
m2wasabi / txr-toggle.js
Last active August 29, 2015 14:08
jThreeでテクスチャを切り替えるイベント
jThree( function( j3 ) {
$( "#loading" ).remove();
j3.Trackball();
j3.Stats();
// texture toggle
var cnt = 0;
var txrs = ["#txr-1","#txr-2","#txr-3"];
@m2wasabi
m2wasabi / github.css
Last active August 29, 2015 14:08 — forked from andyferra/github.css
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {
@m2wasabi
m2wasabi / api_document.md
Last active August 29, 2015 14:08
API Reference template

HOGE API Reference

CLASS1_NAME

Function Description
function1 description hogehoge
function2 description hogehoge
function3 description hogehoge
function4 description hogehoge
//=============================================================================
// MilkcocoaClient.js
//=============================================================================
/*:ja
* @plugindesc Milkcocoaで接続します。
* @author m2wasabi
*
* @param appId
* @desc Milkcocoaのapp_id
@m2wasabi
m2wasabi / file0.txt
Created January 9, 2014 17:48
CentOS6.x yum外部リポジトリまとめ(2014/01版) ref: http://qiita.com/m2wasabi/items/6d6a68da2e9dada92369
yum install yum-plugin-priorities yum-plugin-fastestmirror

windowsの場合、learnyounode コンソールが操作できないので、 コマンドオプションで運用する。

##ローカルフォルダにインストール

npm i learnyounode

##ローカルフォルダで実行

@m2wasabi
m2wasabi / NefryHandsIOnEx.js
Created September 27, 2016 12:30
Milkcocoa Nefryハンズオン 緊急対応2
function toggelClass(){
$bulb.classList.toggle("light_up");
red = parseInt(Math.floor(Math.random()*256));
green = parseInt(Math.floor(Math.random()*256));
blue = parseInt(Math.floor(Math.random()*256));
let color = "#" + red.toString(16) + green.toString(16) + blue.toString(16) ;
addClass(color);
flag = 1;
@m2wasabi
m2wasabi / .user.ini
Created October 5, 2016 05:33
Azure Web Apps PHP SSL setting
[Date]
date.timezone = Asia/Tokyo
[curl]
curl.cainfo="D:\Program Files (x86)\Git\etc\pki\ca-trust\extracted\openssl\ca-bundle.trust.crt"
[openssl]
openssl.cafile="D:\Program Files (x86)\Git\etc\pki\ca-trust\extracted\openssl\ca-bundle.trust.crt"
openssl.capath="D:\Program Files (x86)\Git\etc\pki\ca-trust\extracted\openssl\"
@m2wasabi
m2wasabi / TweetImages.cs
Created March 22, 2017 08:11
ImageListView for Xamarin.Forms
using MoveNavi.Models;
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace MyTwitterApp.Views
{
public class TweetImages : ContentView
{