bash < <(curl -s https://raw.github.com/moovweb/gvm/master/binscripts/gvm-installer)
bash < <(curl -s https://raw.github.com/moovweb/gvm/master/binscripts/gvm-installer)
# Makefile for a go project | |
# | |
# Author: Jon Eisen | |
# site: joneisen.me | |
# | |
# Targets: | |
# all: Builds the code | |
# build: Builds the code | |
# fmt: Formats the source files | |
# clean: cleans the code |
package main | |
import ( | |
"fmt" | |
) | |
/* | |
* fibonacci generator | |
*/ | |
func fibonacci() func() int64 { |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"github.com/wcong/ants-go/ants/action/http" | |
"io" | |
"io/ioutil" | |
Http "net/http" | |
"net/url" |
H4sIAAAAAAAAAzPUUwjJSFVIzCsuTy1SKMlXyMlMS9VRKAGKleZllqUWFQN5iXkpCqlAdmVJRmZe
uh4vFy+XkZ5Chaubk5tOhZOLK4h0c3J5v2f2sxnrn+xoeLls2pPdDU92drxYP/1xQxNIvbGegltm
UXGJQpCbs0JeaW4S0Lb8NIWC/KISBWdzIwtHE0tjM2NnS0dLY0cTY0dzV3M3I2MjJ1NHUxNHkH4r
N08/Rx9eLkeoQ4HuKyxNLS7JzM8r1lFwzs8rSUwuUfDMK8ssSU21UkhNzgB6Jb8sVTc5PwWovkYh
xNMvMjTIBwDO8n7C8AAAAA==
#!/bin/sh | |
apt-get update | |
apt-get upgrade -y --show-upgraded | |
apt-get install -y sudo apt-get install libxft-dev libxinerama-dev libpango1.0-dev | |
wget -c https://github.com/DaveDavenport/rofi/releases/download/0.15.4/rofi-0.15.4.tar.gz | |
tar -xzvf rofi-0.15.4.tar.gz | |
cd rofi-0.15.4 |
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
# http://www.pythonchallenge.com/pc/def/map.html | |
import string | |
text = ''' | |
g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. bmgle gr gl zw fylb gq glcddgagclr ylb rfyr'q ufw rfgq rcvr gq qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj. | |
''' |
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
# http://www.pythonchallenge.com/pc/def/ocr.html | |
import re | |
# the content of rare_characters.txt is from the | |
# source of ocr.html | |
with open('rare_characters.txt', 'r') as file1: |