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
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND | |
root 4850 0.0 0.0 81464 5552 pts/2 T 10:39 0:00 | \_ sudo udevmon -c /etc/udev/udevmon_ctrl.yaml | |
root 5067 0.0 0.0 81740 5548 pts/2 S 10:40 0:00 | \_ sudo udevmon -c /etc/udev/udevmon_ctrl.yaml | |
root 5077 0.0 0.0 22892 4440 pts/2 S 10:40 0:00 | | \_ udevmon -c /etc/udev/udevmon_ctrl.yaml | |
root 5107 0.0 0.0 14188 2696 pts/2 S 10:40 0:00 | | \_ sh -c intercept -g $DEVNODE | ctrl2esc | uinput -d $DEVNODE | |
root 5108 0.0 0.0 9812 1080 pts/2 S 10:40 0:00 | | | \_ intercept -g /dev/input/event20 | |
root 5109 0.0 0.0 4140 684 pts/2 S 10:40 0:01 | | | \_ ctrl2esc | |
root 5110 0.0 0.0 18328 3672 pts/2 S 10:40 0:01 | | | \_ uinput -d /dev/input/event20 | |
root 5117 0.0 0.0 14188 2848 pts/2 S 10:40 0:00 | | \_ sh -c intercept -g $DEVNODE | ctrl2esc | uinput -d $D |
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
In [41]: lon[250][145] | |
Out[41]: 34.34894069196243 | |
In [42]: mlon = np.full(lon.shape, lon[250][145], dtype=np.float64) | |
In [43]: lat[250][145] | |
Out[43]: 49.475985060839555 | |
In [44]: mlat = np.full(lat.shape, lat[250][145], dtype=np.float64) | |
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
[uwsgi] | |
http = 0.0.0.0:17495 | |
http-modifier1 = 9 | |
master = true | |
plugins = cgi | |
threads = 2 | |
uid = www-data | |
gid = www-data | |
cgi = /usr/local/bin/mapserv | |
chdir = /data/maplayer |
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
.text | |
.globl _start | |
_start: | |
movq $60, %rax | |
movq $1, %rdi | |
syscall |
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
server { | |
listen 80; | |
server_name mysite.com; | |
location /.foo { | |
alias /opt/foo; | |
try_files $uri @proxy; | |
} | |
location @proxy { |
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
Events: | |
FirstSeen LastSeen Count From SubObjectPath Type Reason Message | |
--------- -------- ----- ---- ------------- -------- ------ ------- | |
2m 2m 1 default-scheduler Normal Scheduled Successfully assigned 7ec0f710-b9b5-4d98-9e56-441467507b67-mdp4k to ip-172-20-48-43.eu-west-1.compute.internal | |
22s 22s 1 kubelet, ip-172-20-48-43.eu-west-1.compute.internal Warning FailedMount Unable to mount volumes for pod "7ec0f710-b9b5-4d98-9e56-441467507b67-mdp4k_default(496819b6-1b6d-11e7-905f-02df02353cdd)": timeout expired waiting for volumes to attach/mount for pod "default"/"7ec0f710-b9b5-4d98-9e56-441467507b67-mdp4k". list of unattached/unmounted volumes=[processor-workdir-pvc] | |
22s |
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
pub mod table; | |
fn sanskrit_quickcheck(string: &str) -> bool { | |
for r in &table::S_BASIC_RULES { | |
if string.starts_swith(r) { // rustc: no method named `starts_swith` found for type `&str` in the current scope | |
return true; | |
} | |
} | |
false | |
} |
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
def occurrance(graph_links): | |
normalized_graph_links = [] | |
# validate_proc_defs() is a generator | |
for l in validate_proc_defs(proc_defs, graph_links, is_input=True): | |
normalized_graph_links.extend(l) | |
for l in validate_proc_defs(proc_defs, graph_links, is_input=False): | |
normalized_graph_links.extend(l) |
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
kind: ConfigMap | |
apiVersion: v1 | |
metadata: | |
name: nginxconfigmap | |
data: | |
nginxconfig: |- | |
worker_processes 1; | |
events { | |
worker_connections 1024; |
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
class AbstractHomePage(Page): | |
body = StreamField(HomePageStreamBlock(), verbose_name='hovedinnhold') | |
headingpanel = StreamField( | |
HeadingPanelStreamBlock(), | |
verbose_name='overpanel' | |
) | |
sidepanel = StreamField(SidePanelStreamBlock(), verbose_name='sidepanel') | |
class Meta: | |
abstract = True |