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
// create soma and dendrite | |
create soma | |
access soma | |
create dend | |
// connect the soma to the dendrite | |
connect dend(0),soma(0) | |
// set up parameters of the soma | |
soma insert pas |
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
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
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
## Hibernating | |
Want to hibernate at low battery automatically. First getting hibernate to work. Created swap partition larger than RAM (8Gb) and set it up with mkswap and swapon as in [Arch Wiki](https://wiki.archlinux.org/index.php/Swap). Added kernel parameters to grub. **Problem**: didn't read the article properly and forgot to add to fstab so swap didn't stay on reboot. | |
Next should use udev rule to get the system to auto-hiberate at 5% or similar. [Forum post](https://bbs.archlinux.org/viewtopic.php?pid=1164408) appears to cover how to do this, but doesn't. It's in the [Laptop page](https://wiki.archlinux.org/index.php/laptop#Udev_events) of the arch wiki. | |
``` | |
# Suspend the system when battery level drops to 2% | |
SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="2", RUN+="/usr/bin/systemctl suspend" | |
``` |
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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:b23e93486e20b6aff97fda2c314462af8b5520f5d167aac630da914b91510d87" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
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
ctrl_interface=/var/run/wpa_supplicant | |
eapol_version=1 | |
ap_scan=1 | |
fast_reauth=1 | |
network={ | |
ssid="eduroam" | |
identity="email@address.com" | |
#psk="your password goes here" | |
# or: |
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
name = WPA2-PEAP-NODOMAIN | |
author = atiketemola | |
version = 1 | |
require identity *Username password *Password | |
protected password *Password | |
----- | |
ctrl_interface=/var/run/wpa_supplicant | |
network={ | |
ssid="$_ESSID" | |
proto=RSN |
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/pip3 run on Fri Nov 7 12:38:03 2014 | |
Downloading/unpacking h5py | |
Getting page https://pypi.python.org/simple/h5py/ | |
URLs to search for versions for h5py: | |
* https://pypi.python.org/simple/h5py/ | |
Analyzing links from page https://pypi.python.org/simple/h5py/ | |
Skipping link https://pypi.python.org/packages/2.6/h/h5py/h5py-2.2.1.win32-py2.6.exe#md5=ce6c26dc8ef1fea864ecf286c1e4cb98 (from https://pypi.python.org/simple/h5py/); unknown archive format: .exe | |
Skipping link https://pypi.python.org/packages/2.6/h/h5py/h5py-2.3.0.win32-py2.6.exe#md5=23f12194da7e5fededa2e590c6531f51 (from https://pypi.python.org/simple/h5py/); unknown archive format: .exe | |
Skipping link https://pypi.python.org/packages/2.6/h/h5py/h5py-2.3.0b1.win32-py2.6.exe#md5=92174de66333d5ec4919d3a5bf7cb302 (from https://pypi.python.org/simple/h5py/); unknown archive format: .exe |
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
misc |
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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:eff41c41a5ebd1edc41f0a9e68a94ac18d5b417ce2cfe2baf22d49c0f7699eb9" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:f4c2596208087783232f2bf4dbd6fc6742fa724077af8d31dee04d115c68c9f2" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
OlderNewer