$ wget -e robots=off -r -np 'http://example.com/folder/'
- -e robots=off causes it to ignore robots.txt for that domain
- -r makes it recursive
- -np = no parents, so it doesn't follow links up to the parent folder
set-hook -g client-attached 'run-shell /bin/update_display.sh' |
# Set the control character to Ctrl+Spacebar (instead of Ctrl+B) | |
set -g prefix C-space | |
unbind-key C-b | |
bind-key C-space send-prefix | |
# Set new panes to open in current directory | |
bind c new-window -c "#{pane_current_path}" | |
bind '"' split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" |
""" | |
Usage: Place this file at the root of your project where this code will recursively change docstring to raw string in every py file. | |
`python doctstring_to_raw.py` | |
You can also specify the path. | |
`python doctstring_to_raw.py <path>` | |
Note: Path should be Unix style. Haven't tested in Windows so not sure if it'll work or not. | |
""" |
$ wget -e robots=off -r -np 'http://example.com/folder/'
Find the Discord channel in which you would like to send commits and other updates
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
#!/usr/bin/env python | |
#coding=utf8 | |
""" | |
==================================== | |
:mod: 테스트용 blocking XML-RPC 서버 | |
==================================== | |
.. moduleauthor:: 채문창 <[email protected]> | |
.. note:: GNU | |
설명 |
import numpy as np | |
import scipy.optimize | |
from mpl_toolkits.mplot3d import Axes3D | |
import matplotlib.pyplot as plt | |
fig = plt.figure() | |
ax = fig.gca(projection='3d') | |
def fitPlaneLTSQ(XYZ): |
# Generate PDFs from the Markdown source files | |
# | |
# In order to use this makefile, you need some tools: | |
# - GNU make | |
# - Pandoc | |
# - LuaLaTeX | |
# - DejaVu Sans fonts | |
# Directory containing source (Markdown) files | |
source := src |
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
# Makefile | |
# | |
# Converts Markdown to other formats (HTML, PDF, DOCX, RTF, ODT, EPUB) using Pandoc | |
# <http://johnmacfarlane.net/pandoc/> | |
# | |
# Run "make" (or "make all") to convert to all other formats | |
# | |
# Run "make clean" to delete converted files | |
# Convert all files in this directory that have a .md suffix |