- Download and extract zip from here
- Press
Windows + x
- Press
a
(Selects PowerShell (Admin)) - Navigate to directory where fonts were extracted to (
cd ${HOME}\Downloads\fonts-master\fonts-master
) - Set Execution Policy
Set-ExecutionPolicy RemoteSigned
[1] - Press
y
thenEnter
to accept
from typing import * | |
import time | |
import numpy as np | |
import scipy.sparse as sparse | |
import scipy.sparse.linalg as spla | |
def build_cotan_laplacian( points: np.ndarray, tris: np.ndarray ): | |
a,b,c = (tris[:,0],tris[:,1],tris[:,2]) | |
A = np.take( points, a, axis=1 ) | |
B = np.take( points, b, axis=1 ) |
Process for setting up github pages with namecheap domain. | |
1. Go to namecheap.com, select and buy domain name. | |
2. Login to namecheap, go to username drop down and select dashboard. | |
3. Go to DomainList | |
4. Click manage button | |
5. Click Advanced DNS tab | |
6. Click add record and add three records: | |
Type: A Record | Host: @ | Value: 192.30.252.153 | TTL: Automatic |
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# Make sure you have a recent version: the code points that Powerline |
To get SSH or SFTP access to a server without using a password you need to have a SSH key pair for each computer you want to be able to access the server from. In this document I’ll describe the steps you need to take to generate a key pair if you don’t have one already. If you do, you can use your public key(s) to get access to the server.
I'll also explain how to connect to your server using Cyberduck. Click here to skip to that part.
This guide is written with newbies in mind, so I'm very thorough in describing the steps that you must take. This guide will not cover setting up the server side of this system. It assumes that there's a server running with SSH enabled.
Magic words:
psql -U postgres
Some interesting flags (to see all, use -h
or --help
depending on your psql version):
-E
: will describe the underlaying queries of the\
commands (cool for learning!)-l
: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
""" | |
MIT License | |
Copyright (c) 2017 Cyrille Rossant | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
As configured in my dotfiles.
start new:
tmux
start new with session name: