Skip to content

Instantly share code, notes, and snippets.

View jdiez17's full-sized avatar

José Manuel Díez jdiez17

View GitHub Profile
[Unit]
Description=i3lock
Before=sleep.target
[Service]
User=jdiez
Type=forking
Environment=DISPLAY=:0
ExecStart=/usr/bin/i3lock -c 000000
from gnuradio import analog
from gnuradio import blocks
from gnuradio import eng_notation
from gnuradio import filter
from gnuradio import gr
from gnuradio.eng_option import eng_option
from gnuradio.filter import firdes
from optparse import OptionParser
import osmosdr
import numpy

Keybase proof

I hereby claim:

  • I am jdiez17 on github.
  • I am jdiez (https://keybase.io/jdiez) on keybase.
  • I have a public key whose fingerprint is 0D67 3E15 FAB2 0FD0 93F6 407A 598D F6C6 1503 A228

To claim this, I am signing this object:

#include <iostream>
#include <vector>
#include <queue>
#include <algorithm>
using namespace std;
class Block {
public:
int s, x, y, val;
import sys
length = int(sys.stdin.readline())
elements = map(int, sys.stdin.readline().split("\n")[0].split(" "))
x = int(sys.stdin.readline())
if length != len(elements):
print("FAIL")
import sys
chars = sorted(sys.stdin.read())[1:]
histogram = {}
for c in chars:
if c in histogram:
histogram[c] += 1
else:
histogram[c] = 1
3372 1672 454 387 453 387
453 1227 461 382 452 1227
454 387 456 1223 455 388
452 388 453 1225 456 387
453 387 452 1226 456 1225
455 387 454 387 452 388
453 390 451 387 453 388
453 388 454 385 454 1226
455 387 453 1226 454 390
451 389 451 387 453 1226
3412 1631 498 342 496 346
493 1184 522 320 496 1183
523 319 526 1154 496 345
497 344 496 1183 497 344
523 318 496 1185 520 1159
500 343 502 338 497 361
479 343 495 345 497 344
495 345 521 319 495 1185
523 319 520 1159 497 346
521 318 496 345 497 1183
[jdiez@WarpPrism ~]$ ssh [email protected]
[email protected]'s password:
Welcome to Arch Linux ARM
Website: http://archlinuxarm.org
Forum: http://archlinuxarm.org/forum
IRC: #archlinux-arm on irc.Freenode.net
Last login: Thu Oct 8 14:52:30 2015 from 192.168.0.6
-bash: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
Connection to 192.168.0.2 closed.
#!/usr/bin/env python
"""
Pandoc filter to process code blocks with class "graphviz" into
graphviz-generated images.
"""
import pygraphviz
import hashlib
import os