I hereby claim:
- I am pcarrier on github.
- I am pierre (https://keybase.io/pierre) on keybase.
- I have a public key ASCylU4ZFkw4nZuiIER-aKrezWyOEHZd9phPrna62tvSvAo
To claim this, I am signing this object:
The remote desktop session has to be headless :( | |
- Install the deb (can convert with alien & co) | |
- Patch with modern_distro.diff (cherry-pick what your system needs) | |
- To support automatic desktop resizing: | |
- Works with any window manager | |
- Build Xvfb with xvfb-randr.diff | |
- Expose as /usr/bin/Xvfb-randr | |
- If replacing system-wide binary by repackaging, simply | |
# ln -sf Xvfb /usr/bin/Xvfb-randr |
I hereby claim:
To claim this, I am signing this object:
Install fsnotifier for IntelliJ IDEA on your ARM laptop. | |
Works better than one might expect with JDK8. | |
Usage: | |
$ sh fsnotifierto.sh /opt/idea/bin/ | |
... | |
Sorry for the truncate insanity. |
function safe { Set-Variable WhatIfPreference $true -Scope Global }; | |
function unsafe { Set-Variable WhatIfPreference $false -Scope Global -WhatIf:$false }; | |
function isAdmin { | |
$user = [Security.Principal.WindowsIdentity]::GetCurrent(); | |
(New-Object Security.Principal.WindowsPrincipal $user).IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator); | |
} | |
function shell { Start-Process powershell -WorkingDirectory $PWD -ArgumentList "-NoLogo" }; | |
function admin { Start-Process powershell -ArgumentList "-NoLogo" -Verb RunAs }; |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
OPS = [:+, :-, :*, :/] | |
ALL_OPS = OPS.product(OPS).product(OPS).map do |n| n.flatten end | |
ALL_FOUR_CARDS = (0..9999).map do |n| | |
a = n % 10 + 1 | |
b = n/10 % 10 + 1 | |
c = n/100 % 10 + 1 | |
d = n/1000 % 10 + 1 |
resource "aws_iam_user" "asg_healthreport" { | |
name = "${var.stack}-asg_healthreport" | |
# can't use create_before_destroy due to fixed name | |
} | |
resource "aws_iam_access_key" "asg_healthreport" { | |
user = "${aws_iam_user.asg_healthreport.name}" | |
# can't use create_before_destroy due to fixed name of user | |
} |
[remote "stable"] | |
url = https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git | |
url = git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git | |
fetch = +refs/heads/*:refs/remotes/stable/* | |
[remote "mainline"] | |
url = https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git | |
url = git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git | |
fetch = +refs/heads/*:refs/remotes/mainline/* | |
[remote "history"] | |
url = https://kernel.googlesource.com/pub/scm/linux/kernel/git/history/history.git |
#!/usr/bin/env ruby | |
require 'json' | |
text = STDIN.read | |
data = {} | |
extract = text.split("\n\n").collect do |block| | |
lines = block.split("\n") |