Skip to content

Instantly share code, notes, and snippets.

View okanon's full-sized avatar
🍇
JELLY LAY

okanon okanon

🍇
JELLY LAY
View GitHub Profile
@okanon
okanon / js_organization_chart.md
Last active October 20, 2017 02:43
JavaScriptで組織図を作るフレームワーク

JavaScript Organization chart Module

jQuery OrgChart

@okanon
okanon / centos_pythoninstall.md
Created October 15, 2017 17:02
CentOS6.5 latest Python2 and Python3 install except pyenv

Latest Python2 and Python3 install CentOS6.5 except Pyenv

Install

Python2.6.6 is installed by default in CentOS 6.5. Since python2.6.6 is used in yum, Install the latest python 2 and python 3 including pip, without breaking this environment. At this time, except pyenv.

  1. When installing pip, curl: (35) SSL connect error error occurs, so upgrade libcurl to the latest version as follows. And, in order to fix zipimport.ZipImportError: can not decompress data; zlib not available which occurs when installing pip as well, execute yum upgrade after installing the package.
@okanon
okanon / Twitter 280characters-iphone.js
Last active October 15, 2017 16:11
iPhoneでもTweetDeckで280文字のツイート
javascript:(function(){TD.services.TwitterClient.prototype.makeTwitterCall=function(b,e,f,g,c,d,h){c=c||function(){};d=d||function(){};b=this.request(b,{method:f,params:Object.assign(e,{weighted_character_count:!0}),processor:g,feedType:h});return b.addCallbacks(function(a){c(a.data)},function(a){d(a.req,"",a.msg,a.req.errors)}),b};twttrTxt=Object.assign({},twttr.txt,{isInvalidTweet:function(){return!1},getTweetLength:function(){return twttr.txt.getTweetLength.apply(this,arguments)-140}})})()