⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
wsk query to use on test tool: | |
(#LL000931M# OR #LL000A21K# OR #LL000A219# OR #LL000931N# OR #LL000A21R# OR #LL000931O# OR #LL000A215# OR #LL00093YA# OR #LL000A216# OR #LL000A21M# OR #LL000931P# OR #LL000931Q# OR #LL000931R# OR #LL000931S# OR #LL000931T# OR #LL0009UFB# OR #LL0009T53#) AND (#JU#ENGL# OR #JU#SCOT# OR #JU#NIRE# OR #JU#WALE#) AND CAW-PUB-DATE(>insert-start-date) AND CAW-PUB-DATE(<insert-end-date) | |
CSI Numbers: | |
281949, 281951, 281952, 281953, 281954, 281955, 281959, 281965 | |
. |
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/core/includes/form.inc b/core/includes/form.inc | |
old mode 100755 | |
new mode 100644 | |
index 28b766c..07cce93 | |
--- a/core/includes/form.inc | |
+++ b/core/includes/form.inc | |
@@ -2766,6 +2766,40 @@ function form_get_options($element, $key) { | |
} | |
/** |
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 | |
$image = field_get_items('node', $node, 'my_field_name')) { | |
// current is just a quick way to get the first item in the array - you would probably array_pop here or just call | |
// $image = $image[0]; | |
$image = current($image); | |
$image_uri = $image['uri']; | |
// Run the image through image styles. |
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
/** | |
* Implements hook_form_alter(). | |
To Replace the -Any- value in filters by it's label text | |
*/ | |
function theme_form_alter(&$form, &$form_state, $form_id) { | |
kpr($form); | |
if ($form['#id'] == 'views-exposed-form-admin-people-block-1') { | |
// $my_label = 'label name'; | |
foreach($form['#info'] as $key => $filter) { | |
if (stripos($key, 'filter-field') !== 0) { |
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
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold |
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
################### | |
# compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.pdb | |
*.dll.config | |
*.cache |
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
<!-- copy this to YOUR_THEME.tmTheme--> | |
<dict> | |
<key>name</key> | |
<string>diff: deleted</string> | |
<key>scope</key> | |
<string>markup.deleted</string> | |
<key>settings</key> | |
<dict> | |
<key>background</key> | |
<string>#EAE3CA</string> |
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 | |
$node = node_load($nid); | |
if ($image = field_get_items('node', $node, 'field_biography_image')) { | |
// Check the author actually has an image. | |
$image = current($image); | |
$image_author = $image['uri']; | |
$image_alt = check_plain($image['alt']); | |
$image_title = check_plain($image['title']); | |
// Run the image through image styles. |
OlderNewer