I hereby claim:
- I am gawen on github.
- I am gawenr (https://keybase.io/gawenr) on keybase.
- I have a public key ASAA85dRvVCjFKMusnK7qLNpzmyqK-04XNoGDHNOFZTQiQo
To claim this, I am signing this object:
package main | |
import ( | |
"context" | |
"log" | |
"time" | |
"github.com/ngrok/ngrok-go" | |
ngrokconfig "github.com/ngrok/ngrok-go/config" | |
) |
def cmp_version(va, vb): | |
# Split over '.' and convert members into int | |
va = map(int, va.split(".")) | |
vb = map(int, vb.split(".")) | |
# Get max length of versions | |
l = max(len(va), len(vb)) | |
# Make the version the same length by appending 0 | |
va = va + [0] * (l - len(va)) |
i: interactive mode | |
v: visual mode | |
escape to go back to no mode | |
# classic commands | |
:e <filename>: open <filename> in current window | |
:e **/<filename>: fuzzy search for <filename> | |
:w [<filename>]: write current window | |
:q: quit |
From 13a5ab8b7f1a427182027ad6e3a2f64246fe27a7 Mon Sep 17 00:00:00 2001 | |
From: Gawen Arab <g@wenarab.com> | |
Date: Thu, 24 Oct 2019 12:54:16 +0200 | |
Subject: [PATCH] fix: DW_CFA_same_value of the return address for .ra | |
A DWARF CFI rule `DW_CFA_same_value` of the return address register | |
assigned to `.ra` should reload the return address register and assign | |
it to `.ra`. The recorded rule should be `.ra: <address register>`. | |
But `DwarfCFIToModule::RegisterName` always replaced the return address |
From 0b30d58c6b06dcdb8203f400c1b74ec08392a08f Mon Sep 17 00:00:00 2001 | |
From: Gawen Arab <g@wenarab.com> | |
Date: Wed, 23 Oct 2019 19:37:41 +0200 | |
Subject: [PATCH] add ld option '-alwaysRestoreDWARFLinkRegister[=false}' | |
--- | |
src/cmd/link/internal/ld/dwarf.go | 2 +- | |
src/cmd/link/internal/ld/link.go | 2 ++ | |
src/cmd/link/internal/ld/main.go | 1 + | |
3 files changed, 4 insertions(+), 1 deletion(-) |
#define P 3 | |
#define Q 3 | |
const float feedforward_coeffs[P] = { 0.0316, -0.06319, 0.0316 }; | |
const float feedback_coeffs[Q] = { 0.99835, -1.99835, 1.0 }; | |
float feedforward_buf[P] = { 0.0 }; | |
float feedback_buf[Q] = { 0.0 }; | |
float pass(float inp) { |
# Everything prefixed by a # is a comment, and therefore is read by human and | |
# ignored by the machine | |
# First MAC address of the batch | |
FIRST_MAC = "E08E3C3923A2" | |
# Last MAC address of the batch | |
LAST_MAC = "e08e3c393234" | |
# we convert the first and last macs in decimals. To do so, we call 'int' with |
static PyObject * | |
internal_rename(PyObject *args, PyObject *kwargs, int is_replace) | |
{ | |
char *function_name = is_replace ? "replace" : "rename"; | |
path_t src; | |
path_t dst; | |
int src_dir_fd = DEFAULT_DIR_FD; | |
int dst_dir_fd = DEFAULT_DIR_FD; | |
int dir_fd_specified; | |
PyObject *return_value = NULL; |
var express = require('express'), http = require('http'); | |
var app = express(); | |
var passport = require('passport'); | |
var Strategy = require('passport-http').DigestStrategy; | |
passport.use(new Strategy( | |
{ qop: "auth" }, | |
function(username, done) { | |
return done(null, {}, "password"); |
I hereby claim:
To claim this, I am signing this object: