Skip to content

Instantly share code, notes, and snippets.

View jubnzv's full-sized avatar

Georgiy Komarov jubnzv

  • Montevideo
  • 07:42 (UTC -03:00)
  • LinkedIn in/jubnzv
View GitHub Profile
Rule 12.3: https://github.com/oneoo/alilua/blob/master/deps/yac/yac_storage.c#L288
Rule 12.3: https://github.com/oneoo/alilua/blob/master/src/network.c#L304
Rule 12.3: https://github.com/oneoo/alilua/blob/master/src/worker.c#L272
Rule 12.3: https://github.com/jashmenn/apriori/blob/master/attic/swig/apriori_wrap.c#L433
Rule 12.3: https://github.com/jashmenn/apriori/blob/master/attic/swig/swig2/intexp_wrap.c#L458
Rule 12.3: https://github.com/jashmenn/apriori/blob/master/ext/apriori/src/apriori.c#L440
Rule 12.3: https://github.com/jashmenn/apriori/blob/master/ext/apriori/src/apriori.c#L449
Rule 12.3: https://github.com/jashmenn/apriori/blob/master/ext/apriori/src/apriori.c#L455
Rule 12.3: https://github.com/jashmenn/apriori/blob/master/ext/apriori/src/apriori.c#L456
Rule 12.3: https://github.com/jashmenn/apriori/blob/master/ext/apriori/src/apriori.c#L465
1. connect to host localhost port 22: Connection refused
Stopping namenodes on [localhost]
localhost: ssh: connect to host localhost port 22: Connection refused
localhost: ssh: connect to host localhost port 22: Connection refused
Stopping secondary namenodes [0.0.0.0]
0.0.0.0: ssh: connect to host 0.0.0.0 port 22: Connection refused
Fix:
thanooj@ubuntu:/$ sudo apt-get install openssh-server
Reading package lists... Done

Keybase proof

I hereby claim:

  • I am jubnzv on github.
  • I am jubnzv (https://keybase.io/jubnzv) on keybase.
  • I have a public key whose fingerprint is 60DE 2F71 0E73 7E1E D4CD 595D 195B 8622 FE88 ED46

To claim this, I am signing this object:

open Lexer
open Core_kernel
module Driver = struct
let print_position outx (lexbuf : Lexing.lexbuf) =
let pos = lexbuf.lex_curr_p in
Printf.fprintf outx "%s:%d:%d" pos.pos_fname pos.pos_lnum
(pos.pos_cnum - pos.pos_bol + 1)
let parse_with_error lexbuf =
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<Order>
<Customer>
<Name>Bill Buckram</Name>
<Cardnum>234 234 234 234</Cardnum>
</Customer>
<Manifest>
<Item>
#define __define_initcall(level,fn,id) \
static initcall_t __initcall_##fn##id __used \
__attribute__((__section__(".initcall" level ".init"))) = fn
#define core_initcall(fn) __define_initcall("1",fn,1)
#define subsys_initcall(fn) __define_initcall("4",fn,4)
#define late_initcall(fn) __define_initcall("7",fn,7)
/* trimmed, obviously... */
# This checks that tool will emit an error when trying to remove the symbol
# table when we have a group section linked with symtab.
# RUN: yaml2obj %s -o %t.o
# RUN: not llvm-objcopy -R .symtab %t.o %t1 2>&1 >/dev/null | FileCheck %s --check-prefix=ERR -DINPUT=%t.o
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
@jubnzv
jubnzv / table_to_string.lua
Created August 11, 2020 13:46 — forked from justnom/table_to_string.lua
Lua table to string
-- Convert a lua table into a lua syntactically correct string
function table_to_string(tbl)
local result = "{"
for k, v in pairs(tbl) do
-- Check the key type (ignore any numerical keys - assume its an array)
if type(k) == "string" then
result = result.."[\""..k.."\"]".."="
end
-- Check the value type
#include <chrono>
#include <iostream>
#include <limits>
#include <map>
#include <memory>
class A {
public:
A(int Data) : Data(Data) {}
#ifndef UBENCH_HPP
#define UBENCH_HPP
#include <algorithm>
#include <atomic>
#include <cstdint>
#include <ostream>
#include <time.h>
#include <unistd.h>
#include <vector>