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
# By Eric Raio https://coderwall.com/p/15msta | |
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" | |
"http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/xhtml-math11-f.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<!-- Processed by MultiMarkdown --> | |
<meta name="Format" content="complete" /> | |
</head> | |
<body> |
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
core = 7.x | |
api = 2 | |
; Copy of core | |
projects[drupal][version] = "7.20" | |
projects[ascm_profile][type] = "profile" | |
projects[ascm_profile][download][type] = "git" | |
projects[ascm_profile][download][url] = "[email protected]:claudinec/ascm_profile.git" |
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
diff --git a/LICENSE.txt b/LICENSE.txt | |
new file mode 100644 | |
index 0000000..d159169 | |
--- /dev/null | |
+++ b/LICENSE.txt | |
@@ -0,0 +1,339 @@ | |
+ GNU GENERAL PUBLIC LICENSE | |
+ Version 2, June 1991 | |
+ | |
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc., |
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
core = 6.x | |
api = 2 | |
; Copy of core | |
projects[drupal][version] = "6.26" |
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
-- select top-level terms in vocabulary 4 | |
-- Drupal 6 | |
select d.tid, d.name from term_data as d join term_hierarchy as h | |
where d.tid = h.tid | |
and h.parent = 0 | |
and d.vid = 4; |
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
--- a/modules/hs_taxonomy.module | |
+++ b/modules/hs_taxonomy.module | |
@@ -181,6 +181,9 @@ function hs_taxonomy_form_taxonomy_form_term_alter(&$form, &$form_state) { | |
// Use Hierarchical Select for selecting the parent term(s). | |
$parent = isset($form['#term']['tid']) ? array_keys(taxonomy_get_parents($form['#term']['tid'])) : array(0); | |
+ if (empty($parent)) { | |
+ $parent = array(0); | |
+ } | |
$form['relations']['parent'] = array( |
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
core = 7.x | |
api = 2 | |
; Copy of core | |
projects[drupal][version] = "7.16" | |
; Copy of yarragreens_profile | |
; This contains another makefile that will recursively fetch | |
; our contrib/custom modules, libraries and themes |
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
core = 7.x | |
api = 2 | |
; Copy of core | |
projects[drupal][version] = "7.22" | |
; Copy of uft_profile | |
; This contains another makefile that will recursively fetch | |
; our contrib/custom modules, libraries and themes |
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
#!/bin/sh | |
# Just copy and paste the lines below (all at once, it won't work line by line!) | |
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
function abort { | |
echo "$1" | |
exit 1 | |
} | |
set -e |