I hereby claim:
- I am liamdawson on github.
- I am liamdawson (https://keybase.io/liamdawson) on keybase.
- I have a public key ASDsemyfg_ZHyIFMe_vh8uRE9bJnfI0dBiqUKovyyOygpgo
To claim this, I am signing this object:
| --- tool/rbinstall.rb 2015-03-07 21:59:28.834830008 +1000 | |
| +++ tool/rbinstall.rb.patch 2015-03-07 21:59:43.202830008 +1000 | |
| @@ -711,7 +711,7 @@ | |
| install?(:ext, :comm, :gem) do | |
| begin | |
| require "zlib" | |
| - rescue LoadErroe | |
| + rescue LoadError | |
| end | |
| if defined?(Zlib) |
| #!py | |
| # The following statefile uses Python to set a grain ('sample-token') to | |
| # a value pulled from a HTTP call. The call will not be repeated if the | |
| # grain is already set. | |
| from salt.utils.http import query | |
| import json | |
| def run(): |
I hereby claim:
To claim this, I am signing this object:
| sudo zypper in -y pam_kwallet | |
| sudo usermod -aG wheel liamdawson | |
| sed -i 's/## Do not insult users when they enter an incorrect password.//g' /etc/sudoers | |
| sed -i 's/Defaults !insults/Defaults insults/g' /etc/sudoers | |
| sed -i 's/Defaults targetpw # ask for the password of the target user i.e. root/Defaults !targetpw # ask for the password of the current user/g' /etc/sudoers | |
| sed -i 's/ALL ALL=(ALL) ALL # WARNING! Only use this together with .Defaults targetpw.!/#ALL ALL=(ALL) ALL # only secure if targetpw default is active/g' /etc/sudoers | |
| sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g' /etc/sudoers | |
| rpmkeys --import https://keybase.io/docs/server_security/code_signing_key.asc |
| Windows Registry Editor Version 5.00 | |
| [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers] | |
| "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\Common7\\IDE\\devenv.exe"="RUNASADMIN" | |
| "C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\MSEnv\\VSLauncher.exe"="RUNASADMIN" | |
| #!/bin/bash | |
| set -e | |
| set -u | |
| version="0.0" | |
| usage="$(basename $0) version $version | |
| usage: | |
| $(basename $0) install <extension-uuid> [<extension-id/uuid> ... ] |
| import React from 'react'; | |
| // all of the icons are auto-completeable in IDE imports | |
| import Octicon, {Globe, getIconByName} from '@githubprimer/octicons-react'; | |
| import {storiesOf} from '@storybook/react'; | |
| storiesOf('Icon', module) | |
| // won't compile, icon prop required | |
| .add('Empty icon', () => <Octicon />) | |
| // won't compile, string not assignable, needs to be Icon<x, y>, or a StatelessComponent |
| declare module "@githubprimer/octicons-react" { | |
| import * as React from 'react' | |
| type Icon< | |
| W extends number = number, | |
| H extends number = number | |
| > = React.SFC<{}> & { size: [W, H] }; | |
| type Size = 'small' | 'medium' | 'large' | |
| interface OcticonProps { |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <!-- Place in ~/Library/LaunchAgents/ --> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.ldaws.CapslockEsc</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/bin/hidutil</string> |
Place the following file under ~/Library/LaunchAgents (e.g. ~/Library/LaunchAgents/com.ldaws.CapslockEsc.plist)