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
# You may use this CentOS 7 repository on Fedora Copr for Vim 8 builds. | |
# https://copr.fedorainfracloud.org/coprs/mcepl/vim8/ | |
# | |
# Run these commands on CentOS 7. | |
# Add this repository: | |
sudo curl -L https://copr.fedorainfracloud.org/coprs/mcepl/vim8/repo/epel-7/mcepl-vim8-epel-7.repo -o /etc/yum.repos.d/mcepl-vim8-epel-7.repo | |
# Upgrade Vim to vim 8: |
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
<?php | |
/** | |
* wechat php test | |
*/ | |
//define your token | |
define("TOKEN", "weixin"); | |
$wechatObj = new wechatCallbackapiTest(); | |
//这里是第一次token获取后,就不需要再执行验证了,或者可以在获取token后,注释掉 $wechatObj->valid();这样就是对接好后不需要每次对暗号token | |
if($_GET['echostr']) |
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
simple html template |
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 bash | |
##################### | |
## Set build prefix and source code dir | |
##################### | |
BUILD_PREFIX="/home/dogukan/local" | |
SRC_DIR="/home/dogukan/src" | |
BUILD_DIR="/home/dogukan/src/build" |
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
Most popular keyboard shortcuts within GistBox | |
Up/Down - Previous/Next Gist | |
Ctrl+e - Edit a selected Gist | |
Ctrl+s - Save Gist | |
Save Gists from anywhere with Clipper | |
GistBox Clipper is the companion extension to GistBox, the most beautiful way to organize code snippets. It allows a user to create a GitHub Gist from any page on the web. | |
Download from the Chrome Web Store |
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
-- 数据库系统概念(原书第六版)——原整版带书签 | |
-- mysql 服务器支持 # 到该行结束、-- 到该行结束 以及 /* 行中间或多个行 */ 的注释方格 | |
create table `teaches`( | |
ID varchar(5), | |
course_id varchar(8), | |
sec_id varchar(8), | |
semester varchar(6), | |
year numeric(4,0), | |
primary key (ID,course_id,sec_id,semester,year), |
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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |