Skip to content

Instantly share code, notes, and snippets.

View make.partial.log
/bin/bash php-src/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/hash/ -Iphp-src/ext/hash/ -Iphp-src/include -Iphp-src/main -Iphp-src -Iphp-src/ext/date/lib -Iphp-src/TSRM -Iphp-src/Zend -Wall -Wextra -Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare -Wextra -std=c99 -static -fno-pie -no-pie -mno-red-zone -nostdlib -nostdinc -fno-omit-frame-pointer -pg -mnop-mcount -I./include -include ./cosmopolitan/cosmopolitan.h -fvisibility=hidden -Iphp-src/ext/hash/sha3/generic64lc -DKeccakP200_excluded -DKeccakP400_excluded -DKeccakP800_excluded -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iphp-src/ext/hash/xxhash -c php-src/ext/hash/hash_xxhash.c -o ext/hash/hash_xxhash.lo -MMD -MF ext/hash/hash_xxhash.dep -MT ext/hash/hash_xxhash.lo
In file included from php-src/Zend/zend_config.h:1,
from php-src/Zend/zend_portability.h:43,
from php-src/Zend/zend_types.h:25,
from php-src/Zend/zend.h:27,
from php-src/m
View captions.sbv
0:00:17.080,0:00:21.220
So I'm Will, and
I was a
0:00:21.220,0:00:24.460
middleschool teacher,
and I ran a summercamp
0:00:24.460,0:00:27.840
and I did all these things.
View hours.sh
#!/usr/bin/env bash
calculate_debt_hours_per_day () {
total_debt="${1:-}"
hours_debt="${1%:*}"
minutes_debt="${1#*:}"
payment_days="${2:-}"
if test -z "$hours_debt"
then
@alganet
alganet / hers.sh
Last active Mar 29, 2019
Fast and portable mouse/keyboard terminal capture (zsh,ksh,mksh,bash on Windows+WSL, Linux or Mac OS)
View hers.sh
#!/bin/sh
# Quick run: bash -c "$(curl -L https://git.io/fjToH)"
# CTRL+W to exit
set -euf
unsetopt FLOW_CONTROL GLOB NO_MATCH NO_SH_WORD_SPLIT NO_PROMPT_SUBST 2>/dev/null || :
write ()
{
View shell.sh
#!/bin/sh
# Before
set 1 2 3 4 5
while test $# -gt 0;do
echo $1
shift
done
@alganet
alganet / jenkins.css
Created Dec 6, 2017
Jenkins Pipeline CSS
View jenkins.css
revision .description {
overflow: hidden;
}
div.pipeline-wrapper div.pipeline-info {
max-width: 116px;
}
@alganet
alganet / carreira_y_brasil.md
Created Feb 5, 2017
O Problema da Carreira em Y pra TI no Brasil
View carreira_y_brasil.md

O Problema da Carreira em Y pra TI no Brasil

Não existe carreira em Y pra TI no Brasil.

Fim.

@alganet
alganet / calc.sh
Created Jan 8, 2017
Prefix-notation calculator in portable shell
View calc.sh
calc ()
{
local cursor=0
local reference=0
local stack=0
local queue=''
local current=''
set -- $(echo ${@})
@alganet
alganet / .spacemacs.el
Last active Jul 11, 2016
My .spacemacs
View .spacemacs.el
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
@alganet
alganet / br_abnt.kb
Last active Aug 29, 2015
NohBoard custom ABNT keymap (Basic)
View br_abnt.kb
KBVersion 3
width 838
height 267
nKeysDefined 72
category Basic
key 8 581 9 90 43 backspace backspace 0 1
key 9 9 53 67 43 tab tab 0 1
key 13 573 97 98 43 %return% %return% 0 0
key 20 9 97 79 43 caps caps 0 1
key 32 187 185 262 43 %0% %0% 0 0