Skip to content

Instantly share code, notes, and snippets.

View jjungnickel's full-sized avatar
🏠
Working from home

Jan Jungnickel jjungnickel

🏠
Working from home
View GitHub Profile
# The following settings will ask you for your windows password and then
# successfuly reboot the machine everytime it needs to. After Boxstarter is
# done autologin won't be enabled.
$Boxstarter.RebootOk=$false # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$false # Save my password securely and auto-login after a reboot
# Allow running PowerShell scripts
Update-ExecutionPolicy Unrestricted
{
"workbench.colorTheme": "Gruvbox Dark (Medium)",
"editor.fontFamily": "FuraCode Nerd Font",
"editor.fontSize": 13,
"editor.fontLigatures": true,
"git.confirmSync": false,
"git.autofetch": true,
"workbench.fontAliasing": "default",
"editor.formatOnSave": true,
"terminal.integrated.fontFamily": "FuraCode Nerd Font",

Keybase proof

I hereby claim:

  • I am jjungnickel on github.
  • I am jjungnickel (https://keybase.io/jjungnickel) on keybase.
  • I have a public key whose fingerprint is 87E6 244B 97FD D19D CCFB FB84 FAFC 76E6 621E D9B0

To claim this, I am signing this object:

@jjungnickel
jjungnickel / BoxStarter.ps1
Last active May 16, 2018 00:07
My Windows 10 BoxStarter Setup
# The following settings will ask you for your windows password and then
# successfuly reboot the machine everytime it needs to. After Boxstarter is
# done autologin won't be enabled.
$Boxstarter.RebootOk=$false # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$false # Save my password securely and auto-login after a reboot
# Allow running PowerShell scripts
Update-ExecutionPolicy Unrestricted
@jjungnickel
jjungnickel / emacs-mac-borderless.patch
Created March 21, 2016 19:06
Extracted patch for borderless emacs from gwydirsam/emacs-mac-borderless Raw
diff --git a/src/macappkit.m b/src/macappkit.m
index 63dfec1..a7614b6 100644
--- a/src/macappkit.m
+++ b/src/macappkit.m
@@ -2326,6 +2326,16 @@ static CGRect unset_global_focus_view_frame (void);
@implementation EmacsWindow
+- (BOOL)canBecomeKeyWindow
+{
@jjungnickel
jjungnickel / emacs-mac-borderless.patch
Last active March 21, 2016 18:49
Extracted patch for borderless emacs from gwydirsam/emacs-mac-borderless
diff --git a/src/macappkit.m b/src/macappkit.m
index a7614b6..63dfec1 100644
--- a/src/macappkit.m
+++ b/src/macappkit.m
@@ -2326,16 +2326,6 @@ static CGRect unset_global_focus_view_frame (void);
@implementation EmacsWindow
+- (BOOL)canBecomeKeyWindow
+{
diff --git a/src/macappkit.m b/src/macappkit.m
index 9713bc2..989b0d0 100644
--- a/src/macappkit.m
+++ b/src/macappkit.m
@@ -2747,8 +2747,7 @@ static CGRect unset_global_focus_view_frame (void);
else
{
windowClass = [EmacsWindow class];
- windowStyle = (NSTitledWindowMask | NSClosableWindowMask
- | NSMiniaturizableWindowMask | NSResizableWindowMask);
set disable_typefaces to {"Light", "Bold", "Medium"}
tell application "Font Book"
set faces to typefaces whose family name is "Fira Code"
repeat with f in faces
if family name of f is "Fira Code" and disable_typefaces contains style name of f then set enabled of f to false
end repeat
end tell
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
slug 126 0.3 0.0 18148 3048 ? S 10:31 0:00 bash
slug 133 0.0 0.0 15568 2184 ? R+ 10:31 0:00 \_ ps fauxww
slug 1 59.1 3.6 3936628 567464 ? Ssl 10:06 15:03 /app/.jdk/bin/java -Xmx384m -Xss512k -Xss512k -XX:+UseCompressedOops -Ddw.logging.appenders[0].threshold=WARN -cp /app/target/universal/stage/lib/com.atlantis.counter-1.0.jar:/app/target/universal/stage/lib/io.dropwizard.dropwizard-assets-0.8.2.jar:/app/target/universal/stage/lib/io.dropwizard.dropwizard-core-0.8.2.jar:/app/target/universal/stage/lib/io.dropwizard.dropwizard-util-0.8.2.jar:/app/target/universal/stage/lib/com.fasterxml.jackson.core.jackson-annotations-2.5.0.jar:/app/target/universal/stage/lib/com.google.guava.guava-18.0.jar:/app/target/universal/stage/lib/com.google.code.findbugs.jsr305-3.0.0.jar:/app/target/universal/stage/lib/joda-time.joda-time-2.7.jar:/app/target/universal/stage/lib/io.dropwizard.dropwizard-
docker run -it --rm \
-e REGISTRY_STORAGE=s3 \
-e REGISTRY_STORAGE_S3_SECRETKEY="foo" \
-e REGISTRY_STORAGE_S3_ACCESSKEY="bar" \
-e REGISTRY_STORAGE_S3_BUCKET="baz" \
-e REGISTRY_STORAGE_S3_REGION="eu-central-1" \
openshift/origin-docker-registry:latest
FATA[0000] Error parsing configuration file: yaml: unmarshal errors: