This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from ircbot import SingleServerIRCBot | |
| from irclib import nm_to_n | |
| import datetime | |
| import Skype4Py | |
| IRC_SERVER = "localhost" | |
| IRC_PORT = 6668 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <scheme name="Monokai copy" version="124" parent_scheme="Default"> | |
| <option name="LINE_SPACING" value="1.0" /> | |
| <option name="EDITOR_FONT_SIZE" value="16" /> | |
| <option name="CONSOLE_FONT_NAME" value="Menlo" /> | |
| <option name="CONSOLE_FONT_SIZE" value="12" /> | |
| <option name="EDITOR_FONT_NAME" value="Ricty for Powerline" /> | |
| <colors> | |
| <option name="CARET_COLOR" value="f8f8f0" /> | |
| <option name="CARET_ROW_COLOR" value="3e3d32" /> | |
| <option name="CONSOLE_BACKGROUND_KEY" value="272822" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def date_to_a(t) | |
| [ | |
| "#{t.year}年", | |
| "#{t.month}月", | |
| "#{t.day}日", | |
| " #{t.hour}時#{t.min}分", | |
| ] | |
| end | |
| def date_conv(t1, t2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| peca: | |
| image: tigberd/peercast-station | |
| ports: | |
| - 7144:7144 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name DeleteTweet | |
| // @namespace dionore | |
| // @include https://twitter.com/dionore/statuses/* | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| (function(){ | |
| setTimeout(function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var page = require('webpage').create(); | |
| page.open('http://esports-runner.com/guilty-gear-xrd/ggxrd_playable_2/', function(status) { | |
| var vote; | |
| setTimeout(function() { | |
| page.evaluate(function() { | |
| var bridget = document.querySelector('#PDI_answer41513088'); | |
| bridget.click(); | |
| vote = $("span:contains('Vote')")[0] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| var path = require('path'); | |
| var webpack = require('webpack'); | |
| var StatsPlugin = require('stats-webpack-plugin'); | |
| var BowerWebpackPlugin = require('bower-webpack-plugin'); | |
| var autoprefixer = require('autoprefixer'); | |
| var precss = require('precss'); | |
| var ModernizrWebpackPlugin = require('modernizr-webpack-plugin'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # sudo yum -y install git gcc-c++ glibc-headers openssl-devel readline libyaml-devel readline-devel zlib zlib-devel libffi-devel libxml2 libxslt libxml2-devel libxslt-devel sqlite-devel | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| sudo apt-get install -y build-essential libreadline-dev libssl-dev zlib1g-dev libssl-dev git-core curl libreadline6 libreadline6-dev libmysqlclient-dev libffi-dev nodejs sqlite3 libsqlite3-dev | |
| git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
| echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
| echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
| exec $SHELL -l | |
| git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
| rbenv install 2.3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| db: | |
| image: mysql | |
| ports: | |
| - 3306:3306 | |
| volumes: | |
| - ./data:/var/lib/mysql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env puma | |
| directory '/home/ec2-user/apps/reversal/current' | |
| rackup '/home/ec2-user/apps/reversal/current/config.ru' | |
| environment 'production' | |
| pidfile '/home/ec2-user/apps/reversal/shared/tmp/pids/puma.pid' | |
| state_path '/home/ec2-user/apps/reversal/shared/tmp/pids/puma.state' | |
| stdout_redirect '/home/ec2-user/apps/reversal/current/log/puma.error.log', '/home/ec2-user/apps/reversal/current/log/puma.access.log', true |
OlderNewer