Home
Losers Wiki
Cancel

remount-fileystem-rw

mount -o remount,rw /partition/identifier /mount/point

regexp

link gone..

recursively-create-directories

mkdir -p dir1/dir2/dir3

record-online-stream

recipes

rebuild-those-indexes-that-need-it

DECLARE @objectid int; DECLARE @indexid int; DECLARE @partitioncount bigint; DECLARE @schemaname nvarchar(130); DECLARE @objectname nvarchar(130); DECLARE @indexname nvarchar(130); DECLARE @partit...

reading-in-variables

Use ‘read’ command ```    #!/bin/bash    # Ask the user for their name    echo Hello, who am I talking to?    read varname    echo It\'s nice to meet you $varname ``` With a prompt ```    #!/...

query-for-getting-recorded-signed-programs

create view vw_signedprograms as   select r.*  from program p  inner join recorded r   on p.starttime = r.progstart   and p.title = r.title   and p.subtitle = r.subtitle   and p.subtitletypes like ...

python

virtual environments Always work in a virtual environment create one by; mkdir virtualenv cd virtualenv virtualenv rates virtualenv -p python3 rates_py3 (for python 3) or python3 -m venv rates_p...

progress-bar-while-waiting

small snippet to display a progress bar while you wait for the backend to come online # ## start of k's code # export DISPLAY=:0.0 backend='192.168.10.101' port=6544 count=0 maxattempts=10 inc=`ex...