{"id":11348,"date":"2016-08-12T22:09:23","date_gmt":"2016-08-12T20:09:23","guid":{"rendered":"http:\/\/blogg.ngn.nu\/?p=11348"},"modified":"2016-08-12T22:09:23","modified_gmt":"2016-08-12T20:09:23","slug":"fredag-156","status":"publish","type":"post","link":"https:\/\/blogg.ngn.nu\/index.php\/2016\/08\/12\/fredag-156\/","title":{"rendered":"Fredag"},"content":{"rendered":"<p>\n\t<span style=\"font-weight: bold;\">Bella<\/span><br \/>\n\tVi passade Bella idag ocks&aring; :me:<\/p>\n<p>\tOch jag fixade s&aring; gott jag kunde med att r&auml;dda undan gammal takl&auml;kt till ved.<\/p>\n<p>\tSatt fint med ett g&auml;ng &ouml;l n&auml;r jkag vart f&auml;rdig :me:<\/p>\n<p>\t<span style=\"font-weight: bold;\">Data<\/span><br \/>\n\tF&ouml;rs&ouml;ker fixa till s&auml;kerhetskopiering fr&aring;n det jag kallar HD2 till HD3. Jag anv&auml;nder Linux script bash.<br \/>\n\tJag f&aring;r inte till det med <span style=\"font-weight: bold; color: rgb(102, 0, 0);\">Zenity<\/span> och sk progress bar&#8230;<br \/>\n\t&#8230;ska se om jag hittar &#39;felet&#39;&#8230;<\/p>\n<p>\tNu s&aring;:<br \/>\n\t<span style=\"color: rgb(102, 0, 0);\"><span style=\"color: black;\">&quot;<\/span><\/span><span style=\"font-weight: bold; color: rgb(102, 0, 0);\">echo<\/span> <span style=\"color: rgb(204, 51, 204);\">&quot;8&quot;<\/span> <span style=\"font-weight: bold; color: rgb(102, 0, 0);\">; sleep<\/span> 1&quot; hade jag skrivit vid varje &#39;del&#39; som skulle kopiera en definierad m&auml;ngd filer.<br \/>\n\tGivetvis skulle denna rad f&ouml;r&auml;ndras enligt f&ouml;ljande:<br \/>\n\t<span style=\"color: rgb(102, 0, 0);\"><span style=\"color: black;\">&quot;<\/span><\/span><span style=\"font-weight: bold; color: rgb(102, 0, 0);\">echo<\/span> <span style=\"color: rgb(204, 51, 204);\">&quot;8&quot;<\/span> <span style=\"font-weight: bold; color: rgb(102, 0, 0);\">; sleep<\/span> 1&quot;<br \/>\n\t<span style=\"color: rgb(102, 0, 0);\"><span style=\"color: black;\">&quot;<\/span><\/span><span style=\"font-weight: bold; color: rgb(102, 0, 0);\">echo<\/span> <span style=\"color: rgb(204, 51, 204);\">&quot;16&quot;<\/span> <span style=\"font-weight: bold; color: rgb(102, 0, 0);\">; sleep<\/span> 1&quot;<br \/>\n\t<span style=\"color: rgb(102, 0, 0);\"><span style=\"color: black;\">&quot;<\/span><\/span><span style=\"font-weight: bold; color: rgb(102, 0, 0);\">echo<\/span> <span style=\"color: rgb(204, 51, 204);\">&quot;24&quot;<\/span> <span style=\"font-weight: bold; color: rgb(102, 0, 0);\">; sleep<\/span> 1&quot;<br \/>\n\t<span style=\"color: rgb(102, 0, 0);\"><span style=\"color: black;\">&quot;<\/span><\/span><span style=\"font-weight: bold; color: rgb(102, 0, 0);\">echo<\/span> <span style=\"color: rgb(204, 51, 204);\">&quot;32&quot;<\/span> <span style=\"font-weight: bold; color: rgb(102, 0, 0);\">; sleep<\/span> 1&quot;<br \/>\n\tetc&#8230;<br \/>\n\tupp till <span style=\"color: rgb(204, 51, 204);\">&quot;100&quot;<\/span>.<\/p>\n<p>\tBredden p&aring; f&ouml;nstret &auml;r lite litet. Ska se om det g&aring;r att bredda lite&#8230;<br \/>\n\t&#8230;inga problem bara att l&auml;gga till: &quot;&#8211;width=400&quot;, vilket passade mig bra :me:<\/p>\n<p>\tB&auml;st att s&auml;kerhetskopiera till den USB-HDD som ska till bankfacket ocks&aring;.<br \/>\n\tDen s&auml;kerhetskopieringen hade jag tydligen inte &#39;moderniserat&#39;.<br \/>\n\t&#8230;nu &auml;r det ocks&aring; fixat&#8230; :me:<\/p>\n<p>\t<span style=\"font-weight: bold;\">TV<\/span><br \/>\n\tGollade p&aring; CSI (originalet)<\/p>\n<p>\t<strong>H&auml;lsol&auml;get<\/strong>:<a name=\"Healt\"><\/a><br \/>\n\tMed r&auml;tt avv&auml;gd m&auml;ngd droger s&aring; funkar det ju&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bella Vi passade Bella idag ocks&aring; :me: Och jag fixade s&aring; gott jag kunde med att r&auml;dda undan gammal takl&auml;kt till ved. Satt fint med ett g&auml;ng &ouml;l n&auml;r jkag vart f&auml;rdig :me: Data F&ouml;rs&ouml;ker fixa till s&auml;kerhetskopiering fr&aring;n det &hellip; <a href=\"https:\/\/blogg.ngn.nu\/index.php\/2016\/08\/12\/fredag-156\/\">Forts\u00e4tt l\u00e4sa <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[814,371,337,369],"tags":[1031],"class_list":["post-11348","post","type-post","status-publish","format-standard","hentry","category-besokt","category-data","category-linux","category-ubuntu","tag-hunden-bella"],"_links":{"self":[{"href":"https:\/\/blogg.ngn.nu\/index.php\/wp-json\/wp\/v2\/posts\/11348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogg.ngn.nu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogg.ngn.nu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogg.ngn.nu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogg.ngn.nu\/index.php\/wp-json\/wp\/v2\/comments?post=11348"}],"version-history":[{"count":1,"href":"https:\/\/blogg.ngn.nu\/index.php\/wp-json\/wp\/v2\/posts\/11348\/revisions"}],"predecessor-version":[{"id":11349,"href":"https:\/\/blogg.ngn.nu\/index.php\/wp-json\/wp\/v2\/posts\/11348\/revisions\/11349"}],"wp:attachment":[{"href":"https:\/\/blogg.ngn.nu\/index.php\/wp-json\/wp\/v2\/media?parent=11348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogg.ngn.nu\/index.php\/wp-json\/wp\/v2\/categories?post=11348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogg.ngn.nu\/index.php\/wp-json\/wp\/v2\/tags?post=11348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}