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
| require 'json' | |
| require 'httparty' | |
| require 'telegram/bot' | |
| require 'byebug' | |
| token = '' | |
| bot = Telegram::Bot::Client.new(token) | |
| def requestIns |
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
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script> | |
| <script type="text/javascript"> | |
| $(document).ready(function(){ | |
| $('p').each(function(){ | |
| $(this).replaceWith('<p style="margin: 1.5em 15px !important;color: #898989;">'+$(this).html()+'</p>'); | |
| }); | |
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
| ;; Added by Package.el. This must come before configurations of | |
| ;; installed packages. Don't delete this line. If you don't want it, | |
| ;; just comment it out by adding a semicolon to the start of the line. | |
| ;; You may delete these explanatory comments. | |
| (require 'package) | |
| ; (add-to-list 'package-archives '("melpa" . "http://elpa.emacs-china.org/melpa/")) | |
| (add-to-list 'package-archives '("melpa-stable" . "http://elpa.emacs-china.org/melpa-stable/")) | |
| (package-initialize) |
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
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script> | |
| <script type="text/javascript"> | |
| $(document).ready(function(){ | |
| $('h2').each(function(){ | |
| $(this).replaceWith('<h2 style="display:inline;width:100px;font-size: 20px;color: #42b983;"># </h2><h2 style="display:inline; width:100px;font-size: 20px;">'+$(this).html()+'</h2>'); | |
| }); | |
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
| #fork from https://github.com/huacnlee/init.d | |
| # export LC_ALL=zh_CN.UTF-8 | |
| # export LANGUAGE=zh_CN.UTF-8 | |
| # sudo locale-gen zh_CN.UTF-8 | |
| sudo apt-get -y install update | |
| sudo apt-get -y install curl | |
| echo "Install RVM" | |
| echo "---------------------------------------------------------------------------" |
NewerOlder