w
: show who is logged on and what they are doingwho
: show who is logged ontty
: show current users pseudo terminalps -ft pts/1
: get process id for the pseudo terminalpkill
: signal process based on name and other attributes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
# remotes::install_github("juba/robservable") | |
library(robservable) | |
# see entire notebook | |
robservable("@timelyportfolio/a-github-inspired-calendar") | |
# only see the chart | |
robservable( | |
"@timelyportfolio/a-github-inspired-calendar", |
This file contains hidden or 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
# packages | |
library("dplyr") | |
library("reshape") | |
library("microbenchmark") | |
set.seed(1) | |
# prep data | |
m <- mtcars | |
n <- 50L # number of data.frames |
Cheatsheet for LaTex, using Markdown for markup. I use this with atom.io
and 📦markdown-preview-plus
to write math stuff. 📦keyboard-localization
is necessary when using an international layout (like [swiss] german).
Further Reference and source: ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf
This file contains hidden or 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
library(shiny) | |
library(dplyr) | |
library(lubridate) | |
# Load libraries and functions needed to create SQLite databases. | |
library(RSQLite) | |
library(RSQLite.extfuns) | |
saveSQLite <- function(data, name){ | |
path <- dplyr:::db_location(filename=paste0(name, ".sqlite")) |
This file contains hidden or 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
#!/bin/bash | |
# Shell script to get disk usage, cpu usage, RAM usage,system load,etc. | |
# from multiple Linux servers and output the information on a single | |
# server in html format. Read below for usage/installation info | |
# *--------------------------------------------------------------------* | |
# * ORIGINAL WORK BY: | |
# * dig_remote_linux_server_information.bash,v0.1 | |
# * Last updated on 25-Jul-2005* | |
# * Copyright (c) 2005 nixCraft project * | |
# * Comment/bugs: http://cyberciti.biz/fb/ * |