- https://saml.github.io
This file contains 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
;nyquist plug-in | |
;version 1 | |
;type process | |
;categories "http://lv2plug.in/ns/lv2core#CompressorPlugin" | |
;name "Compress &dynamics 1.2.6..." | |
;action "Compressing..." | |
;info "Does dynamic (volume) compression with lookahead.\n'Compress ratio' is how much compression to apply. Raise when soft parts\n are too soft, and lower to keep some dynamic range. You can soften the\n soft parts instead of increasing them with values < 0, and invert\n loudness with values > 1 (lower max amp when you do).\n'Hardness' is how agressively to compress. Raise when parts are still\n hard to hear (even with a high compress ratio). Lower when the result\n sounds distorted.\nRaise 'floor' to make quiet parts stay quiet.\nRaise 'noise gate falloff' to make quiet parts (beneath 'floor') disappear.\nLower 'maximum amplitude' if you experience clipping." | |
;control compress-ratio "Compress ratio" real "" .5 -.5 1.25 | |
;; TO ENABLE ADVANCED SETTINGS: delete one semicolon from the beginning of the next two lines, then add one to following fo |
This file contains 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
<%-- | |
runs xpath | |
--%><%@page | |
language="java" | |
contentType="text/plain; charset=UTF-8" | |
pageEncoding="UTF-8" | |
import="javax.jcr.query.*, | |
java.io.*, | |
java.util.*, | |
java.util.regex.*, |
This file contains 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
val f = lam(x:double):double => x*x | |
fn g(x:double):double = x/x | |
fun fib(n:int):int = | |
if (n <= 0) then | |
0 | |
else if (1 = n) then | |
1 | |
else | |
fib(n - 1) + fib(n - 2) |
This file contains 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
'''CQ HTTP API | |
>>> cq = CQCurl(curl='curl', host='localhost', port=4502, cookie_path='/tmp/tmp.cookie') | |
>>> cq.url('/foo/bar') | |
'http://localhost:4502/foo/bar' | |
#>>> cq.login(dryrun=True) | |
#curl -f -s -F _charset_=utf-8 -c /tmp/tmp.cookie -F j_username=admin -F j_password=admin http://localhost:4502/libs/qa/core/content/login.html/j_security_check |
This file contains 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/bash | |
if (( $# < 1 )) | |
then | |
echo "Usage: $0 path-to-add" | |
exit 1 | |
fi | |
abspath="$(dirname "$1")/$(basename "$1")" | |
relpath="${abspath##$HOME}" |
This file contains 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/bash | |
if (( $# < 1 )) | |
then | |
echo "Usage: $0 username" | |
exit 1 | |
fi | |
username="$1" | |
json_left='{"input01":{"Input":"GmailAddress","GmailAddress":"' |
This file contains 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/bash | |
if (( $# < 1 )) | |
then | |
echo "Usage: $0 htdocs [other params]" | |
exit 1 | |
fi | |
htdocs="$1" | |
shift 1 |
This file contains 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
<!doctype html> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<!-- DEFAULT VARIABLES --> | |
<meta name="color:Background" content="#000" /> | |
<meta name="color:PostBg" content="" /> | |
<meta name="color:Post" content="#e8f1e8" /> | |
<meta name="color:PostTitle" content="#b5e853" /> | |
<meta name="color:PostA" content="#00c9ff" /> | |
<meta name="color:PostFooterBg" content="" /> |
This file contains 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
http://bpaste.net/show/zDKaQZ7JZ8nLxqsyNW5s/ | |
http://bpaste.net/show/2JFuadtSGb5xash7ojxm/ |
This file contains 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
<maestrojed> saml did you get it figured out> | |
* pingu9 has quit (Ping timeout: 244 seconds) | |
<saml> maestrojed, no.. to me, 100x100 pixel image is 100x100 pixel everywhere.. it might appear smaller or larger depending on display's dpi | |
<maestrojed> saml one dot does equal one pixel. Its about how many dots or pixels fit in one inch. | |
<saml> yah .. i think we're saying the same thing | |
<maestrojed> saml we are not | |
<maestrojed> an image is encoded in pixels and dip | |
<maestrojed> dpi | |
<saml> 100x100 pixel is 100x100 pixel | |
<oojacoboo> dpi = printing |