I hereby claim:
- I am sergiobuj on github.
- I am sergiobuj (https://keybase.io/sergiobuj) on keybase.
- I have a public key ASCrhxq62efhlu1luvbnooGcizSldCi70aHCfNlFkVpuRAo
To claim this, I am signing this object:
FROM alpine:latest | |
ENV no_proxy internal.example.com,internal2.example.com | |
ENV NO_PROXY internal.example.com,internal2.example.com | |
RUN apk update && apk upgrade |
import { JSON } from "assemblyscript-json/assembly"; | |
// Parse an object using the JSON object | |
const payload = ` | |
'{ | |
"hello": "world", | |
"value": 24, | |
"pack": { | |
"123": { |
[USVISA] | |
; Account and current appointment info from https://ais.usvisa-info.com | |
USERNAME = YOUR_EMAIL | |
PASSWORD = YOUR_PASSWORD | |
SCHEDULE_ID = YOUR_ID | |
MY_SCHEDULE_DATE = YYYY-MM-DD | |
; Spanish - Colombia | |
COUNTRY_CODE = es-co | |
; Bogotá | |
FACILITY_ID = 26 |
<?xml version="1.0" encoding="UTF-8" ?> | |
<Data> | |
<Series> | |
<id>83462</id> | |
<Actors>|Nathan Fillion|Stana Katic|Molly C. Quinn|Jon Huertas|Seamus Dever|Tamala Jones|Susan Sullivan|Ruben Santiago-Hudson|Monet Mazur|</Actors> | |
<Airs_DayOfWeek>Monday</Airs_DayOfWeek> | |
<Airs_Time>10:00 PM</Airs_Time> | |
<ContentRating>TV-PG</ContentRating> | |
<FirstAired>2009-03-09</FirstAired> | |
<Genre>|Drama|</Genre> |
I hereby claim:
To claim this, I am signing this object:
(defun binary-search (key collection) ;; Function with simple signature | |
(defun binary-search-recursion (data element lower upper) ;; Helper function with multiple parameters | |
(let* ((range (- upper lower)) | |
(mid (+ lower (round (/ range 2)))) | |
(value (nth mid data))) | |
(cond | |
((= value element) mid) | |
((< range 1) -1) | |
((< value element) (binary-search-recursion data element (+ mid 1) upper)) | |
((> value element) (binary-search-recursion data element lower (- mid 1)))))) |
I just had to set up Jenkins to use GitHub. My notes (to myself, mostly):
For setting up Jenkins to build GitHub projects. This assumes some ability to manage Jenkins, use the command line, set up a utility LDAP account, etc. Please share or improve this Gist as needed.
FROM buildpack-deps:jessie | |
RUN apt-get update -qq && apt-get install -y bzip2 wget build-essential python3-dev python3-pip unzip libzmq3-dev | |
RUN wget -nv http://downloads.sourceforge.net/project/sbcl/sbcl/1.3.2/sbcl-1.3.2-x86-64-linux-binary.tar.bz2 | |
RUN wget -nv https://beta.quicklisp.org/quicklisp.lisp | |
RUN wget -nv https://github.com/fredokun/cl-jupyter/archive/master.zip | |
RUN bzip2 -cd sbcl-1.3.2-x86-64-linux-binary.tar.bz2 | tar xvf - | |
RUN unzip master.zip |