An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| #!/bin/bash | |
| sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport | |
| sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport |
| // Terminal 2048 | |
| // By: Andrew Tam | |
| // There is currently no GUI for this game and is played completely on the Terminal. | |
| // Type in the instructions such as "up", "down", "left", "right" to move the tiles | |
| // Type in "reset" to reset the game | |
| import java.util.Scanner; | |
| import java.util.Arrays; | |
| import java.util.ArrayList; | |
| import java.util.Random; |
| #!/usr/bin/env bash | |
| # Abort if not super user | |
| if [[ ! `whoami` = "root" ]]; then | |
| echo "You must have administrative privileges to run this script" | |
| echo "Try 'sudo ./install-java.sh'" | |
| exit 1 | |
| fi | |
| # Check that the file is a JDK archive |
An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| {% for post in site.posts %} | |
| <h3><a href="{{ post.url }}">{{ post.title }}</a></h3> | |
| <p><small><strong>{{ post.date | date: "%B %e, %Y" }}</strong> . {{ post.category }} . <a href="http://erjjones.github.com{{ post.url }}#disqus_thread"></a></small></p> | |
| {% endfor %} |