Skip to content

Instantly share code, notes, and snippets.

View emilfolino's full-sized avatar

Emil Folino emilfolino

View GitHub Profile
@emilfolino
emilfolino / gist:2b6623ed795923aac74151655a211687
Created April 20, 2017 05:58
Log REM server på nodejs2.student.bth.se:8000
efostud@sweet: npm start
> [email protected] start /home/saxon/teachers/dipt/efostud/git/rem
> node index
Thu Apr 20 2017 07:50:46 GMT+0200 (CEST): GET /api/wines
Thu Apr 20 2017 07:50:55 GMT+0200 (CEST): GET /api/users
Thu Apr 20 2017 07:51:00 GMT+0200 (CEST): POST /api/wines
Thu Apr 20 2017 07:51:02 GMT+0200 (CEST): GET /api/wines
Thu Apr 20 2017 07:51:21 GMT+0200 (CEST): POST /api/wines
Uploading the directory '/home/efo/dbwebb/webapp/' to '[email protected]:dbwebb-kurser/webapp/' for validation.
sending incremental file list
sent 5,078 bytes received 83 bytes 10,322.00 bytes/sec
total size is 1,439,375 speedup is 278.89
Validating '/home/saxon/teachers/dipt/efostud/dbwebb-kurser/webapp'.
*.html using htmlhint
find "./" \( -not -path "*/.git/*" -not -path "*/build/*" -not -path "*/cache/*" -not -path "*/docs/*" -not -path "*/lib/*" -not -path "*.min.*" -not -path "*.png" -not -path "*.jpg" -not -path "./me/*/vendor/*" -not -path "./me/*/node_modules/*" -not -path "./me/*/platforms/*" -o -path "./me/*/platforms/browser/www/*.html" -o -path "./me/*/platforms/browser/www/css/*" -o -path "./me/*/platforms/browser/www/js/*" \) -type f -name "*.html"
htmlhint --config '/home/saxon/teachers/dipt/efostud/dbwebb-kurser/webapp/.htmlhintrc' './example/calendar/www/index.html' | grep -v "No problem." | grep -v "Config loaded." | grep -v "Scan " | grep -v "Scanned "; test ${PIPESTATUS[0]}
@emilfolino
emilfolino / gist:ca366f0ab7b78b0d136e92e495b11b38
Created April 4, 2017 07:23
dbwebb --dry validate example
This file has been truncated, but you can view the full file.
Uploading the directory '/home/efo/dbwebb/webapp/' to '[email protected]:dbwebb-kurser/webapp/' for validation.
sending incremental file list
./
sent 99,397 bytes received 521 bytes 39,967.20 bytes/sec
total size is 14,262,318 speedup is 142.74
Validating '/home/saxon/teachers/dipt/efostud/dbwebb-kurser/webapp/example'.
*.html using htmlhint
find "./example/" \( -not -path "*/.git/*" -not -path "*/build/*" -not -path "*/cache/*" -not -path "*/docs/*" -not -path "*/lib/*" -not -path "*.min.*" -not -path "*.png" -not -path "*.jpg" -not -path "./me/*/vendor/*" -not -path "./me/*/node_modules/*" -not -path "./me/*/platforms/*" -o -path "./me/*/platforms/browser/www/*.html" -o -path "./me/*/platforms/browser/www/css/*" -o -path "./me/*/platforms/browser/www/js/*" \) -type f -name "*.html"
htmlhint --config '/home/saxon/teachers/dipt/efostud/dbwebb-kurser/webapp/.htmlhintrc' './example/calendar/www/index.html' | grep -v "No problem." | grep -v "Config loaded." | grep -v "Scan " | grep -v "Scanned ";
*================================================*
FAKTURA Faktura nr.: 1002
Kund: Företaget:
---------- ----------
Berit Båtklubben
Gubbiallén 14 Hamnen
45752 Fiskebyn
Kundnr.: 12
12 envvars
12 ports.conf
16 apache2.conf
20 sites-enabled
24 conf-enabled
40 magic
68 sites-available
100 conf-available
128 mods-enabled
1652 mods-available
<pre>Command: cd /home/efo/dbwebb/lab/config/linux/bash1_extra && rsync ./apache2/ports.conf
./apache2/md/
Status: 126
Output: -rw-r--r-- 320 2016/12/21 14:41:02 ports.conf
sh: 2: ./apache2/md/: Permission denied