Skip to content

Instantly share code, notes, and snippets.

==> /var/log/gitlab/gitlab-rails/production.log <==
Started GET "/acme" for 10.0.2.2 at 2016-11-14 07:08:55 +0000
Processing by GroupsController#show as HTML
Parameters: {"id"=>"acme"}
Read fragment views/groups/4-20161114065217865914000/projects/2-20161114070659732247000/groups/show/application_settings/5-20161113184919713293000/v2.3/3d121bd8b0daa59352f41e22c94edf3b (0.3ms)
Completed 200 OK in 519ms (Views: 304.6ms | ActiveRecord: 46.0ms)
==> /var/log/gitlab/nginx/gitlab_access.log <==
10.0.2.2 - - [14/Nov/2016:07:08:56 +0000] "GET /acme HTTP/2.0" 200 25745 "https://127.0.0.1:8443/acme/iOS" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36"
@arobb
arobb / sierra-virtualbox-install.md
Last active November 24, 2020 13:15
Install macOS Sierra in VirtualBox on macOS host

Step 1 (Creating a bootable macOS Sierra ISO for VirtualBox):

  1. hdiutil attach /Applications/Install\ macOS\ Sierra\ Public\ Beta.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
  2. hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J
  3. hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build
  4. asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
  5. rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
  6. cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
  7. cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist
@yograterol
yograterol / gist:99c8e123afecc828cb8c
Created January 8, 2016 05:45
"gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory" workaround
"gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory" CentOS's and Fedora +22 workaround
Install `redhat-rpm-config`
$ sudo dnf install redhat-rpm-config
@173210
173210 / drm_kms_helper
Created March 23, 2015 09:47
A script for update-initramfs to include EDID file
#!/bin/sh -e
PREREQS=""
prereqs() {
echo "$PREREQS";
}
case "$1" in
prereqs)