This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-public hello | |
(package | |
(name "hello") | |
(version "2.9") | |
(source (origin | |
(method url-fetch) | |
(uri (string-append "mirror://gnu/hello/hello-" version | |
".tar.gz")) | |
(sha256 | |
(base32 "19qy37gkasc4csb1d3bdiz9snn8mir2p3aj0jgzmfv0r2hi7mfzc")))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(arguments | |
'(#:tests? #f ;luajit is distributed without tests | |
#:phases (alist-delete 'configure %standard-phases) | |
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rgrau@darth:~/programmingStuff/lua/flu$ tree tmpdir/ | |
tmpdir/ | |
├── emacs | |
│ ├── Check if font is available before setting | |
│ ├── Dynamic Abbreviation (dabbrev) Question | |
│ ├── How do I "pin" windows in place? | |
│ ├── Preferred buffer-prettying package? | |
│ ├── Saving frame configurations across emacsclient sessions | |
│ └── Trouble running `emacs --eval` from Puppet | |
├── git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<rgc> mm.... can someone try ./pre-inst-env scripts/guix download | |
http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-9.19.tar.bz2 , I get an error, but wget | |
doenloads it correctly... maybe the server expects some header or something that 'guix | |
download' is not sending, but first I'd like to reproduce it somewhere else [23:47] | |
* civodul gets 500 "blocked for one hour" [23:48] | |
<rgc> yup, the same here, but wget does it fine :/ | |
<civodul> but wget succeeds, indeed | |
* rgc rolls sleeves [23:49] | |
<civodul> rgc: can you email bug-guix@gnu.org with that? | |
<civodul> so we keep track of it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- renaming docsets for easier access | |
download ruby on rails.docset and rename it to ror.docset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun is-proc-opened (procname) | |
(let ((procs (list-system-processes))) | |
(remove-if-not (lambda (proc) | |
(search procname | |
(name-of-process proc))) | |
procs))) | |
(defun name-of-process (proc) | |
(cdar (process-attributes proc))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ build-succeeded /nix/store/pj776dx27hvrlsxjl0pcyxkrc050xas7-system.drv - | |
Formatting 'image.qcow2', fmt=qcow2 size=15728640 encryption=off cluster_size=65536 lazy_refcounts=off | |
Could not access KVM kernel module: No such file or directory | |
failed to initialize KVM: No such file or directory | |
Some deprecated features have been used. Set the environment | |
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the | |
program to get more information. Set it to "no" to suppress | |
this message. | |
builder for `/nix/store/vsnrcffv29n4axgykh1dawykmif5mff8-qemu-image.drv' failed with exit code 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local inspect = require'inspect' | |
function map(f, t) | |
local r = {} | |
if type(t) == 'table' then | |
for _, x in ipairs(t) do | |
r[#r+1] = f(x) | |
end | |
else | |
for x in t do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule HbuzzSimple do | |
def main(args) do | |
tree = :mochiweb_html.parse("<html><body><div>hi</div></body></html>") | |
results = :mochiweb_xpath.execute("div", tree) | |
# IO.puts results | |
end | |
end | |
# ** (FunctionClauseError) no function clause matching in :mochiweb_xpath.eval_primary_expr/2 | |
# src/mochiweb_xpath.erl:154: :mochiweb_xpath.eval_primary_expr("div", {:ctx, {<<0>>, [], [{"html", [], [{"body", [], [{"div", [], ["hi"], [1, 1, 1]}], [1, 1]}], [1]}], []}, [{<<0>>, [], [{"html", [], [{"body", [], [{"div", [], ["hi"], [1, 1, 1]}], [1, 1]}], [1]}], []}], [], 0, :undefined}) |
OlderNewer