Nb: block_length Nh: hash_length (output length)
Formula for maximum input length for a LabeledExtract IKM: max_input_length - Nb - size_label_rfcXXXX - size_label_local
Formula for maximum input length for a LabeledExpand info:
Nb: block_length Nh: hash_length (output length)
Formula for maximum input length for a LabeledExtract IKM: max_input_length - Nb - size_label_rfcXXXX - size_label_local
Formula for maximum input length for a LabeledExpand info:
javascript:(function(){function mute() { if (document.querySelectorAll('.participantsList--1MvMwF').length <= 1) { document.getElementById('remote-media').muted = true; console.log('Audio muted because there is only one participant.'); } else { console.log('Audio unmuted because there is more than one participant.'); document.getElementById('remote-media').muted = false; }}; mute(); const targetNode = document.getElementsByClassName('userListColumn--6vKQL')[0]; const config = { attributes: true, childList: true, subtree: true }; const callback = function(mutationsList, observer) { for(let mutation of mutationsList) { if (mutation.type === 'childList') { mute() } else if (mutation.type === 'attributes') { console.log('The ' + mutation.attributeName + ' attribute was modified.'); } } }; const observer = new MutationObserver(callback); observer.observe(targetNode, config);})(); |
n = 140000 | |
L = [] | |
start = cputime() | |
for i in range(n): | |
L = L + [i] | |
diff = cputime(start) | |
print diff | |
L = [] |
$ sudo chown -R USER:USER .sage (replace USER by actual user name) |
#!/bin/bash | |
# TODO: test if the X server's -displayfd option for automatic detection of a | |
# free X display works | |
get_next_display_number() { | |
local DISPLAY_NUM=0 | |
while [ $DISPLAY_NUM -lt 10 ]; do | |
if [ -e /tmp/.X$DISPLAY_NUM-lock ] | |
then |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# see http://information-technology.web.cern.ch/book/cern-cloud-infrastructure-user-guide/advanced-topics/installing-openstack#icehouse | |
set -x | |
echo "set term=xterm" >> .vimrc | |
yum install -y etckeeper | |
etckeeper init | |
etckeeper commit | |
yum install -y http://rdo.fedorapeople.org/rdo-release.rpm | |
sed -i -e 's/priority.*/priority=1/g' /etc/yum.repos.d/rdo-release.repo | |
sed --in-place '/^exclude=libmongodb/d;s/^priority=/exclude=libmongodb,pymongo\*,mongodb\*,python-bson,python-webob,python-mako,python-webtest\npriority=/g' /etc/yum.repos.d/slc6-os.repo /etc/yum.repos.d/slc6-updates.repo /etc/yum.repos.d/slc6-extras.repo |
# ifconfig | |
br-ex Link encap:Ethernet HWaddr 76:59:5D:7C:8D:43 | |
inet6 addr: fe80::c8eb:17ff:fe5f:e0fd/64 Scope:Link | |
UP BROADCAST RUNNING MTU:1500 Metric:1 | |
RX packets:291 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:12438 (12.1 KiB) TX bytes:468 (468.0 b) |
E/TLSClient( 7508): bad base-64 | |
E/TLSClient( 7508): java.lang.IllegalArgumentException: bad base-64 | |
E/TLSClient( 7508): at android.util.Base64.decode(Base64.java:161) | |
E/TLSClient( 7508): at android.util.Base64.decode(Base64.java:136) | |
E/TLSClient( 7508): at android.util.Base64.decode(Base64.java:118) | |
E/TLSClient( 7508): at de.azapps.mirakel.sync.taskwarrior.TLSClient.parseDERFromPEM(TLSClient.java:105) | |
E/TLSClient( 7508): at de.azapps.mirakel.sync.taskwarrior.TLSClient.generateCertificateFromPEM(TLSClient.java:52) | |
E/TLSClient( 7508): at de.azapps.mirakel.sync.taskwarrior.TaskWarriorSync.doSync(TaskWarriorSync.java:207) | |
E/TLSClient( 7508): at de.azapps.mirakel.sync.taskwarrior.TaskWarriorSync.sync(TaskWarriorSync.java:524) | |
E/TLSClient( 7508): at de.azapps.mirakel.sync.SyncAdapter.onPerformSync(SyncAdapter.java:128) |