Skip to content

Instantly share code, notes, and snippets.

""""Create "The Matrix" of binary numbers scrolling vertically in your terminal.
original code adapted from juancarlospaco:
Inspired by the movie: The Matrix
- Corey Goldberg (2013)
stevehenderson / Setup Pivot Table
Created May 15, 2013
VBA code to initialize a PivotTable
View Setup Pivot Table
'SetupPivot: The following subroutine sets up a pivot table
' author:
'I received assitance from the following site:
rxaviers / gist:7360908
Last active Jun 14, 2021
Complete list of github markdown emoji markup
View gist:7360908


:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
nvurgaft / gist:8086853
Last active Nov 19, 2016
A simple HTTP/1.0 request client. This is a free software code, use fairly!
View gist:8086853
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netdb.h>
#include <errno.h>
anthonyeden / Python WExpect
Created Jan 18, 2014
Python's PExpect for Microsoft Windows: WExpect
View Python WExpect
"""Pexpect is a Python module for spawning child applications and controlling
them automatically. Pexpect can be used for automating interactive applications
such as ssh, ftp, passwd, telnet, etc. It can be used to a automate setup
scripts for duplicating software package installations on different servers. It
can be used for automated software testing. Pexpect is in the spirit of Don
Libes' Expect, but Pexpect is pure Python. Other Expect-like modules for Python
require TCL and Expect or require C extensions to be compiled. Pexpect does not
use C, Expect, or TCL extensions. It should work on any platform that supports
the standard Python pty module. The Pexpect interface focuses on ease of use so
that simple tasks are easy.
itbj / t2.php
Created Jan 26, 2014
My PHP application to read file ,then put on the Web Browser. (2014/01/26)
View t2.php
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
echo "My Cloud App!<br>我的云应用。<br>";
echo $showtime=date("Y-m-d H:i:s");
echo "<hr>";
if (file_exists($filename))
fleeto / gist:9912971
Last active May 2, 2021
View gist:9912971


Block - (这里保持原文,因常用的汉语翻译区块很容易和下句话中的区域混淆——译者注) Block用于将一小片内容摆放到页面的指定区域(例如左侧边栏,头部或底部等),例如一个包含了公司联系信息的Block可以放置到所有页面底部。或者将一个包含了相关商品的Block展示在一个目录下所有商品的详情页中。

Core - 也就是核心,指的是在Drupal.org下载的标准Drupal包中包含的缺省功能。这些功能包含Menu(Menu实际上和我们软件行业常说的菜单有很大区别,指的不是菜单,而是Drupal的Url系统——译者注)管理,用户管理,系统管理,设计和布局,以及分类系统等等。

Contrib - 是Drupal社区成员将一些新增的或变更的功能,以主题和模块的形式进行发布。这些模块和主题可以从 进行下载。

d.o - dropal.org的简称。发音为dee dot oh。

View index.html
<iframe src="!1m14!1m8!1m3!1d56790.47490202523!2d78.042155!3d27.175014999999924!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x39747121d702ff6d%3A0xdd2ae4803f767dde!2sTaj+Mahal!5e0!3m2!1sen!2s!4v1398864446719" width="800" height="600" frameborder="0" style="border:0"></iframe>
yuuichi-fujioka /
Created Jun 7, 2014
install start-stop-daemon to centos, fedora, redhat.
cd /usr/local/src
tar zxvf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
cd apps/sys-utils/start-stop-daemon-IR1_9_18-2
gcc start-stop-daemon.c -o start-stop-daemon
cp start-stop-daemon /usr/sbin/
shello /
Last active Nov 11, 2020
Random Emoji! (for Python 3)
#!/usr/bin/env python3
from itertools import accumulate
from bisect import bisect
from random import randrange
from unicodedata import name as unicode_name
# Set the unicode version.
# Your system may not support Unicode 7.0 charecters just yet! So hipster.