An introduction to curl
using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
Includes HTTP-Header information in the output
\documentclass{article} | |
% General document formatting | |
\usepackage[margin=0.7in]{geometry} | |
\usepackage[parfill]{parskip} | |
\usepackage[utf8]{inputenc} | |
% Related to math | |
\usepackage{amsmath,amssymb,amsfonts,amsthm} | |
\begin{document} |
#!/bin/bash | |
#by @terceranexus6 | |
#this is a haiku writer | |
read -p"write firt line: " LINEA1 | |
read -p"write second line: " LINEA2 | |
read -p"write third line: " LINEA3 | |
read -p"name of the haiku (add .txt): " NOMBRE | |
touch $NOMBRE |
height: 600 | |
license: mit | |
acknowledgement: Please add "Nadieh Bremer | Visual Cinnamon" to your credit when re-using this code, thank you! |
Easy and comprehensive example of Brainf*uck language | |
@angrykoala | |
Writes text | |
>++++++++[<+++++++++++>-]<-. | |
>+++[<+++++++++>-]<. | |
---------. | |
+++++++++++. | |
---------------. | |
>+++++++[<---------->-]<+. |
An introduction to curl
using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
Includes HTTP-Header information in the output
#!/bin/bash | |
#hasselhoff attack taken to a new level | |
#@angrykoala | |
DIR=/home/$(whoami)/hasselhoff.jpg | |
MESSAGE="you have been hasselhoffed" | |
IMAGE_URL=http://www.ljpaez.es/imagen/hasselhoff.jpg | |
wget $IMAGE_URL -q | |
mv ./hasselhoff.jpg $DIR | |
gsettings set org.gnome.desktop.background picture-uri file://$DIR |
We have absolutely no idea what we're doing in tech. Please explain the utmost basic things to us.
We only do web design. Our whole reason of being in tech is to make things pretty. Consider us the doilies of the industry.
We're not laughing about your joke, so we clearly need you explain it to us. In great detail.
We're only in tech to find a husband, boyfriend or generally to get laid.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#!/usr/bin/perl | |
# CopyRight 2014 Óscar Zafra ([email protected]) | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
#!/usr/bin/env python3 | |
# Author: Jose Miguel Colella | |
import urllib.request as http | |
import os.path | |
import re | |
import pprint | |
# The url of the essay | |
essayUrl = 'http://treehouse-forum-contests.s3.amazonaws.com/visualizing-information/part-one/essays-first-series.txt' |