Skip to content

Instantly share code, notes, and snippets.

View rbanffy's full-sized avatar
🎯
Focusing

Ricardo Bánffy rbanffy

🎯
Focusing
View GitHub Profile
<?xml version="1.0"?>
<object name="portal_workflow" meta_type="Plone Workflow Tool">
<property
name="title">Contains workflow definitions for your portal</property>
<bindings>
<default>
<bound-workflow workflow_id="simple_publication_workflow"/>
</default>
<type type_id="ATFolder">
<bound-workflow workflow_id="folder_workflow"/>
2012-09-03 17:14:48 ERROR Zope.SiteErrorLog 1346703288.00.652648050008 http://localhost:8080/khronopedia/portal_quickinstaller/installProducts
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 580, in installProducts
Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 512, in installProduct
- __traceback_info__: ('sc.khronopedia.site',)
Module Products.GenericSetup.tool, line 353, in runAllImportStepsFromProfile
- __traceback_info__: profile-sc.khronopedia.site:default
(7695) 2012-09-07 21:40:37.460 INFO default Commands Sending Update Status to SLS server with status code: 3.5.1
(7695) 2012-09-07 21:40:46.645 INFO EventDisp ***--------- Device connected via USB Device: \\?\USB#Vid_0fcaPid_0001&MI_00&0107 PIN (null) GUID 028E63E709828ABD07D1B0F93B5BB21E2F13497B Location ID 1d100000 Power 500
(7695) 2012-09-07 21:40:46.645 INFO default USB device PID: 0x0001, bootrom metrics: 1256 bytes
(7695) 2012-09-07 21:40:46.646 WARN** EventDisp Device connected with no PIN: (null), value of BBPIN_KEY is: (null)
(7695) 2012-09-07 21:40:46.825 WARN** default No device IP Address in transient properties for [Device name:BlackBerry pin:0x2A294BA2 model:BlackBerry hardwareID:0x4002307 GUID: 028E63E709828ABD07D1B0F93B5BB21E2F13497B - bundle:0.0.0.0]
(7695) 2012-09-07 21:40:46.827 INFO EventDisp Launching connect command for: [Device name:BlackBerry pin:0x2A294BA2 model:BlackBerry hardware
(7695) 2012-09-07 21:40:37.460 INFO default Commands Sending Update Status to SLS server with status code: 3.5.1
(7695) 2012-09-07 21:40:46.645 INFO EventDisp ***--------- Device connected via USB Device: \\?\USB#Vid_0fcaPid_0001&MI_00&0107 PIN (null) GUID 028E63E709828ABD07D1B0F93B5BB21E2F13497B Location ID 1d100000 Power 500
(7695) 2012-09-07 21:40:46.645 INFO default USB device PID: 0x0001, bootrom metrics: 1256 bytes
(7695) 2012-09-07 21:40:46.646 WARN** EventDisp Device connected with no PIN: (null), value of BBPIN_KEY is: (null)
(7695) 2012-09-07 21:40:46.825 WARN** default No device IP Address in transient properties for [Device name:BlackBerry pin:0x2A294BA2 model:BlackBerry hardwareID:0x4002307 GUID: 028E63E709828ABD07D1B0F93B5BB21E2F13497B - bundle:0.0.0.0]
(7695) 2012-09-07 21:40:46.827 INFO EventDisp Launching connect command for: [Device name:BlackBerry pin:0x2A294BA2 model:BlackBerry hardware
package main
import (
"bufio"
"io"
"log"
"net/http"
"net/url"
"os"
"runtime"
package main
import (
"flag"
"fmt"
)
var start string
func init() {
apt-get update && apt-get -y dist-upgrade && apt-get install software-properties-common && apt-add-repository ppa:maas-maintainers/experimental3
apt-get install maas
@rbanffy
rbanffy / gist:7785fa5187158111a2fa
Last active January 25, 2016 16:17
Homework for before reporting a MAAS bug
dpkg -l maas* | cat
dpkg -l maas* > /tmp/dpkg-l-maas.txt
sudo tar jcvf /tmp/maas-logs-$(date +%Y%m%d%H%M)-$(hostname).tar.bz2 /var/log/maas/ /var/log/kern.log /var/log/syslog /tmp/dpkg-l-maas.txt
import random
import string
vowels = 'aeiouy'
specials = 'q'
consonants = [
l for l in string.ascii_lowercase if l not in vowels and l not in specials]
consonants += ['qu', 'ch', 'sh', 'ph', 'lh', 'nh', 'tr']
sillabes = [consonant + vowel for consonant in consonants for vowel in vowels]
@rbanffy
rbanffy / index.html
Last active January 15, 2017 12:03
1 million map sets #jsbench #jsperf (http://jsbench.github.io/#b07102dd070c61f32381ac5341172e38) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>1 million map sets #jsbench #jsperf</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>