I hereby claim:
- I am billerby on github.
- I am billerby (https://keybase.io/billerby) on keybase.
- I have a public key ASAxgIsDXwxEYn7liB9SVijr3xUb0CIlQOqaakPNwLg1MAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var siteQuery = 'TYPE:"st:site"'; | |
var nodes = search.query({ | |
query: siteQuery, | |
language: 'FTS-ALFRESCO' | |
}); | |
var filterQueryDefault = ""; | |
var pathFilter = []; | |
for each(var node in nodes) { |
#!/bin/bash | |
# | |
# Upload files to a named filebin installation | |
# (https://github.com/espebra/filebin) | |
# | |
# Usage: | |
# Set the correct environments variables below and run. | |
# | |
# Author: [email protected] |
#!/bin/bash | |
result=$(curl -sS http://holfuy.com/clientraw/s155/clientraw.txt) | |
set -f | |
variables=(${result//:/ }) | |
current_wind_knots=${variables[1]} | |
gust_knots=${variables[2]} |
--select * from alf_qname where local_name in ('currentVersion', 'installedVersion'); | |
--SELECT node_id, qname_id, locale_id, string_value FROM alf_node_properties WHERE qname_id IN (160, 161) ORDER BY node_id; | |
--SELECT node_id, qname_id, locale_id, string_value FROM alf_node_properties WHERE node_id IN (920075) ; | |
UPDATE alf_node_properties SET string_value = '3.10.3' WHERE node_id = 920075 AND qname_id IN (161); | |
(https://community.alfresco.com/thread/148962-best-way-to-uninstall-a-amp-module) |
# Powershell script to find processes that got stuck spawned by Alfresco Transformation Server and kill them.# # Get list of processes matching the name and older than x minutes where the cpu load is less than 1.50 (indicates its idle).# WINWORD idle process | |
$orphanProcs = get-process | where {($_.Name -eq "winword") -and ($_.StartTime -lt (get-date).addseconds(20))-and ($_.cpu -lt 1.50)} | |
#Check if list is Null and if not kill them all: | |
If ($orphanProcs) { | |
#display list | |
$orphanProcs | |
#kill list | |
$orphanProcs | foreach { $_.Kill() } | |
} Else { | |
echo "no processes found older than specified" |
Get-Process winword | Where { $_.StartTime -lt (Get-Date).AddMinutes(-10) } | Stop-Process -Force |
(function() { | |
if (Alfresco.DocumentList) | |
{ | |
YAHOO.Bubbling.fire("registerRenderer", | |
{ | |
propertyName: "type", | |
renderer: function(record, label) | |
{ | |
var key = 'type.' + record.jsNode.type.replace(":", "_"); | |
#!/bin/bash | |
for file in $(find . -name "*nb_NO.properties*") | |
do | |
cp $file `echo $file | sed s/_nb_NO.properties$/_no.properties/` | |
done |
# Get the latest Sun Java SDK from Oracle http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html | |
wget http://download.oracle.com/otn-pub/java/jdk/7u21-b11/jdk-7u21-linux-x64.rpm?AuthParam=1366191299_077cdb0b196500e0d7250707139c1cf7 | |
# Rename the file downloaded, just to be nice | |
mv jdk-7u21-linux-x64.rpm\?AuthParam\=1366191299_077cdb0b196500e0d7250707139c1cf7 jdk-7u21-linux-x64.rpm | |
# Install Java | |
sudo rpm -i jdk-7u21-linux-x64.rpm | |
# Check if the default java version is set to sun jdk |