Last Update: May 13, 2019
Offline Version
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
How to use Pelican on GitHub Pages
Author: Josef Jezek
sudo apt-get install python-setuptools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -xg fish_color_user d75fff | |
set -xg fish_color_host d78700 | |
set -xg fish_color_git_added 00ff00 | |
set -xg fish_color_git_clean 00ff00 | |
set -xg fish_color_git_copied ff00ff | |
set -xg fish_color_git_deleted ff5f00 | |
set -xg fish_color_git_dirty ff5f00 | |
set -xg fish_color_git_modified 00afff | |
set -xg fish_color_git_renamed ff00ff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import time | |
from SimpleCV import Color, Image, np, Camera | |
cam = Camera() #initialize the camera | |
quality = 400 | |
minMatch = 0.3 | |
try: | |
password = Image("password.jpg") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Just copy and paste the lines below (all at once, it won't work line by line!) | |
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
function abort { | |
echo "$1" | |
exit 1 | |
} | |
set -e |
NewerOlder