Skip to content

Instantly share code, notes, and snippets.

is a lie

Dmitry Chirkin josser

is a lie
View GitHub Profile
View gist:812b8b2a92a38e4b479c
// dnepr -> ujgorod -> poltava -> kharkov -> kiev => odessa -> lvov -> doceck
$tickets = [
['start' => 'kiev', 'finish' => 'odessa'],
['start' => 'dnepr', 'finish' => 'ujgorod'],
['start' => 'odessa', 'finish' => 'lvov'],
['start' => 'kharkov', 'finish' => 'kiev'],
['start' => 'poltava', 'finish' => 'kharkov'],
View gist:ccad69a7c767aa0d3159
ai_flags The ai_flags field to which the hints parameter points
shall be set to zero or be the bitwise-inclusive OR of one
or more of the values AI_ADDRCONFIG, AI_CANONNAME,
addresses shall be returned only if an
IPv4 address is configured on the local
system, and IPv6 addresses shall be
returned only if an IPv6 address is con‐
josser / gist:d3e4524be46afccc5227
Created Feb 19, 2015
freebsd mhash build with clang++
View gist:d3e4524be46afccc5227
npm install mhash
> mhash@1.1.0 install /usr/home/josser/test/node_modules/mhash
> node-gyp rebuild
child_process: customFds option is deprecated, use stdio instead.
gmake: Entering directory '/usr/home/josser/test/node_modules/mhash/build'
ACTION binding_gyp_libmhash_target_test .
make[1]: don't know how to make rw. Stop
View gist:c033d570b2ce52339736
Files 2.85/Application/BCM/hifi/CFG_HW_RADIO_MB500/bcm_hifi.gz and 2.86/Application/BCM/hifi/CFG_HW_RADIO_MB500/bcm_hifi.gz differ
Files 2.85/Application/BCM/hifi/CFG_HW_RADIO_MB500/bcm_hifi.gz.inf and 2.86/Application/BCM/hifi/CFG_HW_RADIO_MB500/bcm_hifi.gz.inf differ
Files 2.85/Application/BCM/nav_nit/bcm_nav_nit.gz and 2.86/Application/BCM/nav_nit/bcm_nav_nit.gz differ
Files 2.85/Application/BCM/nav_nit/bcm_nav_nit.gz.inf and 2.86/Application/BCM/nav_nit/bcm_nav_nit.gz.inf differ
Files 2.85/Application/BCM/version/bcm_version.gz and 2.86/Application/BCM/version/bcm_version.gz differ
Files 2.85/Application/BCM/version/bcm_version.gz.inf and 2.86/Application/BCM/version/bcm_version.gz.inf differ
Files 2.85/Application/BTL/FS_Storage_Ctrl.gz and 2.86/Application/BTL/FS_Storage_Ctrl.gz differ
Files 2.85/Application/BTL/FS_Storage_Ctrl.gz.inf and 2.86/Application/BTL/FS_Storage_Ctrl.gz.inf differ
Files 2.85/Application/Boot/RNEG20XX_3WC_2_80/DG4/BOOTROM.DAT and 2.86/Application/Boot/RNEG20XX_3WC_2_80/DG4/BOOTRO
View gist:294616a7e1d1d20df5a6
var domain = require('domain');
var express = require('express');
var fs = require('fs');
var _ = require('lodash');
module.exports = function(parent, options){
var directory = || __dirname + '/../controllers';
View avahi manual
Install And Configure The Avahi Service
Run the following two commands.
# echo "net-dns/avahi -gdbm -introspection" >> /etc/portage/package.use
# emerge avahi
The first command tells portage (Gentoo's package management system) to build avahi without support for gdbm and introspection. These two features are not required and would cause portage to pull in several more uncessary packages when building avhai.
The second command tells portage to download, compile, and install the avahi service.
View gist:2768779
search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/compat/pkg:/usr/local/lib/mysql:/usr/local/lib/virtualbox
0:-lc.7 => /lib/
1:-lcrypt.5 => /lib/
2:-lkvm.5 => /lib/
3:-lm.5 => /lib/
4:-lmd.5 => /lib/
5:-lncurses.8 => /lib/
6:-lncursesw.8 => /lib/
7:-lsbuf.6 => /lib/
View josser.zsh-theme
# prompt style and colors based on Steve Losh's Prose theme:
# vcs_info modifications from Bart Trojanowski's zsh prompt:
# git untracked files modification from Brian Carper:
function virtualenv_info {
View config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GRUB configure 2.00, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --with-platform=efi --enable-grub-fstest=no --enable-grub-mkfont=no --disable-nls --enable-efiemu=no
## --------- ##
## Platform. ##
View gist:3621834
button.close.c-create-close(type="button", data-dismiss="modal")&times;
span= __i('change-loc')