Skip to content

Instantly share code, notes, and snippets.

View sigsergv's full-sized avatar
💭
Single

Sergey Stolyarov sigsergv

💭
Single
  • Novosibirsk, Russia
View GitHub Profile
@sigsergv
sigsergv / gist:3097283
Created July 12, 2012 10:29
eclipse exception
org.eclipse.core.commands.common.NotDefinedException: Cannot get the parent identifier from an undefined context. org.eclipse.wst.server.ui.internal.webbrowser.actionSet
at org.eclipse.core.commands.contexts.Context.getParentId(Context.java:201)
at org.eclipse.e4.ui.bindings.internal.ContextSet$CComp.getLevel(ContextSet.java:48)
at org.eclipse.e4.ui.bindings.internal.ContextSet$CComp.compare(ContextSet.java:38)
at org.eclipse.e4.ui.bindings.internal.ContextSet$CComp.compare(ContextSet.java:1)
at java.util.Arrays.mergeSort(Arrays.java:1283)
at java.util.Arrays.mergeSort(Arrays.java:1295)
at java.util.Arrays.mergeSort(Arrays.java:1295)
at java.util.Arrays.sort(Arrays.java:1223)
at java.util.Collections.sort(Collections.java:176)
#!/bin/sh
case $1 in
resume|thaw)
DISPLAY=:0.0 su cancel -c "sleep 5; /home/cancel/.kde/Autostart/init-keys.sh" &
;;
esac
<?php
class C1 {
function func_1()
{
print 'Function func_1() call';
}
}
class C2 {
name of display: :0
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
% openssl s_client -host edge.quantserve.com -port 443
CONNECTED(00000003)
depth=0 C = US, O = "Akamai Technologies, Inc.", CN = a248.e.akamai.net
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 C = US, O = "Akamai Technologies, Inc.", CN = a248.e.akamai.net
verify error:num=27:certificate not trusted
verify return:1
depth=0 C = US, O = "Akamai Technologies, Inc.", CN = a248.e.akamai.net
verify error:num=21:unable to verify the first certificate
% cat ~/.XCompose
# UTF-8 (Unicode) compose sequence
# for russian keymap
# Sergei Stolyarov <sergei@regolit.com>
# common characters
include "/usr/share/X11/locale/en_US.UTF-8/Compose"
<Multi_key> <Cyrillic_EF> <Cyrillic_IE> : "@" at # COMMERCIAL AT
<Multi_key> <p> <p> : "¶" paragraph # PILCROW SIGN
Bus 003 Device 070: ID 04a9:31f0 Canon, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x04a9 Canon, Inc.
% glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
execve("/usr/bin/glxgears", ["glxgears"], [/* 64 vars */]) = 0
brk(0) = 0x17ae000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3871d48000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=143596, ...}) = 0
mmap(NULL, 143596, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3871d24000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)