Skip to content

Instantly share code, notes, and snippets.

View mi3tek-amb's full-sized avatar

Mitsuki Suzuki mi3tek-amb

View GitHub Profile
//javaScript Library
;
(function (window, undefined) {
//initalize
var Document = document,
Window = window,
Query = function (selector, context) {
return new Query.fn.init(selector, context);
};
/* animate JS
/
/ var Element = document.getElementById('id');
/ animate(Element).start({opacity:0},1000,function(){...},'easeInOutQuad')
/
/ @attributes = [array]{ prop : chenge in value (int) }
/ @duration = int (msec)
/ @callback = function(){...}
/ @easing = 'name of type' (strings)
/

通常のアニメーションメソッドとしての利用。

animator(Element).animation(1000,{opacity:0,...},'easeInOutQuad',function(){...})

渡せる引数は以下の4つです。

@ css proparty = { proparty : change in value (int) }
/* jQuery SpamChecker Js
*----------------------------------------------------
* The MIT License (MIT) Copyright (c) 2014 |
* copyright : Mistuki Suzuki |
* |
*----------------------------------------------------
*/
;!function(j){
def hello
print "Hello, Ruby\n"
end
hello()
#!/usr/local/bin/python
# coding: utf-8
import fontTools
from fontTools.subset import *
import hashlib
import cgi
import sys
import os
@mi3tek-amb
mi3tek-amb / jQuery.postGist.js
Last active December 22, 2015 17:19
pass a eval's riskiness with "to return error if jQuery objects wrapped script tags " .
(function($){
$.fn.postGist = function(option){
var option = $.extend({
id:'anonymous'
},option);
return this.each(function(){
var self = this,
postId = $(this)[0].className.split(' ')[1];
(function($){
$.fn.commentPic = function(option){
var
option = $.extend({
id:null,
pics:true,
profile:true,
blog:true,
/* jQuery.slideShow.js
*
* The MIT License (MIT) Copyright (c) 2013
* copyright : Mistuki Suzuki
*/
;(function($){
$.prototype.imageSlider = function main(){
jQuery.fn.transform = function(setting,callback,elem,undefined){
return this.each(function(){
var
self = this,
elem = elem ? elem : this,
loop = setting.loop,
type = setting.type,
duration = setting.duration,