Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
cinst 7zip.install | |
cinst autoruns | |
cinst Cmder | |
cinst dosbox | |
cinst Firefox | |
cinst malwarebytes | |
cinst mpc-hc | |
cinst paint.net |
#!/bin/bash | |
#1. See what partition is full: | |
df -h | |
#2. Find largest directories: | |
du -hax / 2> /dev/null | sort -rh | head -n 20 | |
#3. Find fattest files: | |
find . -type f -printf "%s\t%p\n" | sort -n | tail -n 20 |
If your NAS supports hot swapping (check Synology's website for that!), you could just pull the drive cage with the falling drive out, replace the drive in the cage and put the cage with the new drive back it.
However unless you actually need continuous availability I would just shut the NAS down, swap out the drive and power it back up again.
Either way in DSM your volume/storage pool will be shown as degraded, the unit might keep beeping (somewhere in the control panel there's a button to shut that off) and you will need to add the new drive to your storage pool (in the Storage Manager app).
Then the system will resync your RAID array with the new drive, which could take several days.
import rdflib,urllib,json | |
g = rdflib.Graph() | |
g.parse("tabmix_sessions-2017-08-28.rdf") # replace with your own | |
links = {} | |
for obj in g.objects(): | |
try: | |
if 'http' in obj: |
Verifying my Blockstack ID is secured with the address 1N73GgUoM1u5Xhrqr8BHmuTC9JjCNDp99T https://explorer.blockstack.org/address/1N73GgUoM1u5Xhrqr8BHmuTC9JjCNDp99T |
Facebook Apps
I hereby claim:
- I am recoder on github.
- I am recoder (https://keybase.io/recoder) on keybase.
- I have a public key ASDkNiLoJpBNbYPeXxT0Fo2o2IXLg0pQeoTkVaPGiOV1SQo
To claim this, I am signing this object:
#!/usr/bin/python | |
# LJ links extractor | |
# (c) 2018 by ReCoder (recoder.livejournal.com) | |
import argparse | |
import datetime | |
import urllib, urlparse | |
from lj import lj | |
from BeautifulSoup import BeautifulSoup |
version: '2' | |
networks: | |
shout: | |
external: | |
name: web | |
whisper: {} | |
services: | |
traefik: |