duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
#!/bin/bash | |
# | |
# slack notifier on shell (specified channel) | |
# @asmz | |
# | |
# Usage | |
# ./slack_notifier.sh [channel_name] | |
# | |
# Configuration | |
# Required SLACK_API_TOKEN environment variable before open tmux. |
= Arch Linux step-by-step installation = | |
= http://blog.fabio.mancinelli.me/2012/12/28/Arch_Linux_on_BTRFS.html = | |
== Boot the installation CD == | |
== Create partition == | |
cfdisk /dev/sda | |
* Create a partition with code 8300 (Linux) |
#!/bin/bash | |
i3-msg -t get_workspaces | jq -r 'map(select(.focused))[0].rect["width","height"]' | |
i3-msg -t get_workspaces | jq -r 'map(select(.focused))[0].output' |
#!/usr/bin/env python | |
############################################################################## | |
# TODO: | |
# * create gnome dock w/ status, pause, and lock-rotation options | |
# * documentation | |
############################################################################## | |
from glob import glob | |
import logging | |
import os | |
import signal |
rtl8723bs_nic.bin
for Wifi from https://github.com/hadess/rtl8723bstext
(maybe not needed anymore)Sometimes you want to commit a subfolder on an arbitrary branch (rather than gh-pages
branch) as the root directory
to the gh-pages
branch.
You will want to do so when, for example, the files to be published on GitHub Pages are generated by a build system.
This document shows the way to commit a build/gh-pages
directory to the gh-pages
branch by using Git plumbing commands.
In the following example, Windows PowerShell is used as a shell environment.
------------------------------------------------------------------------------ | |
2.3. NERD tree Mappings *NERDTreeMappings* | |
Default Description~ help-tag~ | |
Key~ | |
o.......Open files, directories and bookmarks....................|NERDTree-o| | |
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go| | |
t.......Open selected node/bookmark in a new tab.................|NERDTree-t| | |
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T| |
# Add this to the bottom of your config.fish file | |
# Set SSH to use Gnome keyring | |
set -gx SSH_AUTH_SOCK (gnome-keyring-daemon --start | grep "^SSH_AUTH_SOCK" | awk -F "=" '{print $2}') |
import numpy as np | |
from numpy.random import uniform | |
def update(S, k, v): | |
"Update value position `k` in time O(log n)." | |
d = S.shape[0] | |
i = d//2 + k | |
S[i] = v | |
while i > 0: |