Skip to content

Instantly share code, notes, and snippets.

View Rusk85's full-sized avatar

Rusk85

  • a statutory health insurance company
  • Germany
View GitHub Profile
@Rusk85
Rusk85 / example-xml-with-embedded-html.xml
Created May 7, 2017 16:04
example-xml-with-embedded-html.xml
<?xml version="1.0" encoding="UTF-8"?>
<Data>
<String translate="yes">
<b>SDL Trados Studio 2015 </b> combines decades of translation
technology experience and over $100 million invested into
research and development to bring you the most innovative
and <span class="highlight">revolutionary software</span> on the market.
</String>
</Data>
@Rusk85
Rusk85 / File.txt
Created May 7, 2017 15:09
Download Test
Την διαφόρων ροή απόπειρα βιζυηνού επιλογές διάφοροι εάν. Παραδεχτεί των της παράδειγμα υπονόμευση ενώ όλα. Σαν ναι πηγή έτον τσον ήχοι άρα μόνο όταν. Δεν ραγίσει συναντά στο μάγουλα μου. Επί τελευταίες διανοητικά χρειάζεται που όλα. Πει μερ μαζί έναν μέσα νέος στα. Ιι σε καταγωγή προθέαση ως εργασίας σωτηρίας γνωρίζει λιγότερο ατ. Επιτέλους υπ εφ χειρισμοί αναγνώστη ανεύρεσις ιστορικών ας. Ελέγχοντας προσπάθεια τη σο διαχείριση. Τη έν νε μαγική βοηθός παιδάς.
Ρεαλιστικά πια γενικότερα κοινωνικής δημιουργού πως σπανιότατη. Αφήσουν εκδότες δε ως πρόσωπο. Ρου την θεσμό άποψη έως λαϊκό πεδίο. Ατον όλο γύρω μου άρση κάτι. Κατ εδώ ατο γονείς ζεύγος δύναμη. Τη τέχνες το τα κι ραφαήλ γονείς φούρνο μελέτη έκρυβε. Ως έρθεν τέλός τρόπο χείλη αρετή απ νε τεμιρ. Δικές πλέον κι αυτής χείλη βάζει τα. Τις ψιθύρισε μερακλής δευτέρου φίλ ζωή αφηγητής σίγουρος. Στα δράση ενώ έξω μόνον θλίψη κακού στη.
Σο να μπανιέρας επίδειξης πρόκειται ας υπόστρωμα πα. Κοίταζαν αλήθειες αμίλητοι ενώ πρόβλημα για. Γένεσή απ ας τελικά μοτίβ
@Rusk85
Rusk85 / gist:b4043ea4071180e02141326760965d81
Created March 20, 2017 00:13 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@Rusk85
Rusk85 / multiple_ssh_setting.md
Created March 19, 2017 03:20 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
@Rusk85
Rusk85 / radarr.md
Last active March 17, 2017 17:25
radarr error log version 0.2.0.535 (both files have same content but one uses .md extension for Markdown)
17-3-17 17:44:22.6|Error|DownloadMonitoringService|Couldn't process tracked download Silence.2016.720p.BluRay.x264-BLOW

[v0.2.0.535] System.NullReferenceException: Object reference not set to an instance of an object
  at NzbDrone.Core.Download.CompletedDownloadService+<>c.<Import>b__9_3 (NzbDrone.Core.MediaFiles.EpisodeImport.ImportResult v) [0x00000] in C:\projects\radarr-usby1\src\NzbDrone.Core\Download\CompletedDownloadService.cs:132 
  at System.Linq.Enumerable+WhereSelectListIterator`2[TSource,TResult].MoveNext () [0x00064] in /build/mono/src/mono-4.6.1/mcs/class/referencesource/System.Core/System/Linq/Enumerable.cs:372 
  at System.Linq.Buffer`1[TElement]..ctor (System.Collections.Generic.IEnumerable`1[T] source) [0x00083] in /build/mono/src/mono-4.6.1/mcs/class/referencesource/System.Core/System/Linq/Enumerable.cs:2594 

at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in /build/mono/src/mono-4.6.1/mcs/class/referencesource/System.Core/S

@Rusk85
Rusk85 / couchpotato-bug.log
Created March 13, 2017 19:52
[BUG]Couchpotato downloads successfully but seems to be unable to find the file
### Steps to reproduce:
1. Added several movies to download including USS Indianapolis
2. It downloads fine in sabnzbd but for some reason CP can't pick it up
### Information:
Movie(s) I have this with: see above
Quality of the movie being searched: pretty much all upwards of BR-Rip
Providers I use: nzbcat, drunkenslug,oznzb
Version of CouchPotato: source:(RuudBurger:CouchPotatoServer desktop) 965b8089 (2015-02-22 17:07:43)
Running on: ...
Thank you!! I was hoping that this job could be done just with a couple of shell commands
but this one works perfectly as the tests show. – woros Mar 4 at 13:15
Glad to help. If this solves your problem I would appreciate if you could mark my answer as the solution.
I would go amiss not mentioning that there are certainly unix tools that could accomplish this natively as well.
One such tool would be mmv. It's for mass moving/renaming files using a specific wildcard syntax and
I have used it before as well. I would wager though that for your use case the required command
would end up being non-trivial. – Sven M. Mar 4 at 18:46
Actual String Length: 48
BEFORE: jjcPrPUgFCuhzxqxoKoBLcrOdWMnsSQRGeLQYDBpVtCfxRGD-04.07.2016 14:16.m4a
AFTER: 2016.07.04 14:16 jjcPrPUgFCuhzxqxoKoBLcrOdWMnsSQRGeLQYDBpVtCfxRGD.m4a
Actual String Length: 74
BEFORE: hSoLucHNMMDAvMzyLiYFsAlqmqjhMWjDlsDYJShnoFPtUqlQHhkypPtHGYydTzbQCZpciAOTbL-09.09.2004 19:25.m4a
AFTER: 2004.09.09 19:25 hSoLucHNMMDAvMzyLiYFsAlqmqjhMWjDlsDYJShnoFPtUqlQHhkypPtHGYydTzbQCZpciAOTbL.m4a
Actual String Length: 15
BEFORE: sAELLnvZWrLtdtP-16.11.2011 20:01.m4a

Komplette Installation von GitLab-CE auf ner AWS EC2 Instanz

  1. SSH in die Maschine
  2. Docker installieren und starten
  3. GitLab-CE Image pullen und dabei ausführen
  4. Sendmail für Mailversand installieren und configen
  5. gitlab.rb config anpassen für Mailversand
  6. Profit!
jsgkaavb