Skip to content

Instantly share code, notes, and snippets.

View and1truong's full-sized avatar
🎯

Hong Truong and1truong

🎯
View GitHub Profile
@and1truong
and1truong / gist:1833276
Created February 15, 2012 04:43
Screencapture command
loginwindowpid=`ps auwwx | grep loginwindow |grep -v grep | cut -c12-20`;
screencapture ~/Downloads/screenshot-`date '+%Y-%m-%d-%H-%M'`.png
@and1truong
and1truong / gist:1930390
Created February 28, 2012 07:29
DrupalVietnam.org > About
Update me!
@and1truong
and1truong / command-line
Created March 6, 2012 08:57
Drupal Course @ trum.co
# Print workding directory
pwd
# Change working directory
cd /var/www/training.drupal.local
# Change working directory, and remember current working directory
pushd /var/www/training.drupal.local
# Go back to last remembered directory (see pushd)
core = 5.x
api = 2
projects[drupal][version] = 5
; $Id$
;Core Version
core = "6.x"
api = "2"
;Drupal Core
projects[drupal][version] = "6.20"
projects[drupal][type] = "core"
@and1truong
and1truong / gist:2005369
Created March 9, 2012 06:45
debug domain dns
domain/%domains_domain/dns
> form callback: domains_domain_dns_form
> submit callback: domains_domain_dns_form_submit
domain/%domains_domain/dns/records
> form callback: domains_domain_dns_records_form()
> submit callback: domains_domain_dns_records_form_submit()

TODO List:

  1. Minh và Bảo hoàn thành Business listing, Job posting
  2. Minh lo ads, campaign
  3. Sĩ quất cái Question and Answer
  • Sang setup atrium cho Drupalvietnam.org

Xong:

  1. Khánh gửi mail báo team họp mặt cuối tuần
@and1truong
and1truong / df.info
Created March 15, 2012 03:41
DF momodule
name = Custom Date Filter
version = VERSION
description = Date filter for TW.
core = 6.x
name = Multiupload Insert
version = 7.x-1.0
description = "Support insert feature for multiupload widget."
core = 7.x
dependencies[] = image
dependencies[] = insert
@and1truong
and1truong / drupal.opml.xml
Created March 29, 2012 03:52
My Google Subscription
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Andy T. subscriptions in Google Reader</title>
</head>
<body>
<outline title="Drupal Specialists" text="Drupal Specialists">
<outline text="Angry Donuts" title="Angry Donuts" type="rss"
xmlUrl="http://www.angrydonuts.com/rss.xml" htmlUrl="http://www.angrydonuts.com"/>
<outline text="Bojhan Somers" title="Bojhan Somers"