start new:
tmux
start new with session name:
tmux new -s myname
// See this for important info : | |
http://docs.geoserver.org/stable/en/user/_sources/rest/examples/curl.txt | |
// Get all workspaces | |
curl -v -u admin:geoserver -GET http://localhost:8080/geoserver/rest/workspaces.xml | |
// Create a new WORKSPACE | |
curl -u admin:geoserver -v -XPOST -H 'Content-type:text/xml' |
journalctl --since 09:00 --until "1 hour ago" | |
journalctl -u geoserver --since 09:00 |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Description: Sync Plex playlists to shared users. | |
# Author: /u/SwiftPanda16 | |
# Requires: plexapi, requests, xmltodict | |
import requests | |
import xmltodict |
# Mounting a windows share on linux | |
sudo mount -t cifs //$SERVER/folder $HOME/folder -o username=$USER,domain=$DOMAIN,uid=$USER,vers=2.0 |
This Gist give some tips in order to remove AWS Glacier Vault
with AWS CLI (ie. https://aws.amazon.com/en/cli/).
$ aws glacier initiate-job --job-parameters '{"Type": "inventory-retrieval"}' --vault-name YOUR_VAULT_NAME --account-id YOUR_ACCOUNT_ID --region YOUR_REGION
# .NET GridView | |
Import-Csv yourfile.csv |Out-GridView | |
# Console Viewer | |
Import-Csv yourfile.csv |Format-Table -AutoSize | |
Import-Csv yourfile.csv |Format-List |
ogr2ogr -f MSSQLSpatial "MSSQL:server=CTG-XXXX;database=XXX;UID=dsuser;PWD=XXXXXXX" "C:\Users\eatbry\Downloads\political-bnd_tx\txdot-counties\DallasFortWorthMetro_Dissolved.shp" |
exec DW_CTG.dbo.sp_whoisactive @filter = 'dsuser', @filter_type = 'login', @show_sleeping_spids = 0 |