Headings from h1 through h6 are constructed with a # for each level:
# h1 Heading
## h2 Heading
### h3 Heading| #!/usr/bin/env sh | |
| # Download lists, unpack and filter, write to stdout | |
| curl -s https://www.iblocklist.com/lists.php \ | |
| | sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| | xargs wget -O - \ | |
| | gunzip \ | |
| | egrep -v '^#' |
| { | |
| "color_scheme": "Packages/Agila Theme/Agila Oceanic Next.tmTheme", | |
| "detect_indentation": false, | |
| "enable_telemetry": "false", | |
| "ensure_newline_at_eof_on_save": true, | |
| "expand_tabs_on_save": true, | |
| "font_face": "Menlo", | |
| "font_options": | |
| [ | |
| "subpixel_antialias" |
| { | |
| "auto_complete_triggers": | |
| [ | |
| { | |
| "characters": "<", | |
| "selector": "text.html" | |
| }, | |
| { | |
| "characters": ".", | |
| "selector": "source.js" |
| { | |
| "auto_complete_commit_on_tab": true, | |
| "color_scheme": "Packages/Color Scheme - Default/Tomorrow-Night-Eighties.tmTheme", | |
| "file_exclude_patterns": | |
| [ | |
| ".DS_Store" | |
| ], | |
| "folder_exclude_patterns": | |
| [ | |
| "bin", |
| package main | |
| import ( | |
| "os/exec" | |
| "strconv" | |
| "time" | |
| ) | |
| //determine if the user has been idle for a certain amount of time | |
| func deadTime() bool { |
| echo "Creating an SSH key for you..." | |
| ssh-keygen -t rsa | |
| echo "Please add this public key to Github \n" | |
| echo "https://github.com/account/ssh \n" | |
| read -p "Press [Enter] key after this..." | |
| echo "Installing xcode-stuff" | |
| xcode-select --install |
| #!/bin/bash | |
| # This script resizes all the images it finds in a folder (and its subfolders) and resizes them | |
| # The resized image is placed in the /resized folder which will reside in the same directory as the image | |
| # | |
| # Usage: > ./batch_resize.sh | |
| initial_folder="/your/images/folder" # You can use "." to target the folder in which you are running the script for example | |
| resized_folder_name="resized" | |
| all_images=$(find -E $initial_folder -iregex ".*\.(jpg|gif|png|jpeg)") |
| <!DOCTYPE HTML> | |
| <html lang="en-US"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="refresh" content="1;url=http://example.com"> | |
| <script type="text/javascript"> | |
| window.location.href = "http://example.com" | |
| </script> | |
| <title>Page Redirection</title> | |
| </head> |
| # ------------------------------------- # | |
| # -------> MySQL Misc Tips <--------- # | |
| # ------------------------------------- # | |
| # ------------------------------------- | |
| # To get a list of MySQL users | |
| # ------------------------------------- | |
| mysql> select user,host from mysql.user; |