I hereby claim:
- I am lindskogen on github.
- I am jlindsk (https://keybase.io/jlindsk) on keybase.
- I have a public key whose fingerprint is F9FB 80B7 28C7 C523 F818 5DB4 4322 9229 4C53 7B06
To claim this, I am signing this object:
| import React, { PureComponent } from 'react'; | |
| import cx from 'classnames'; | |
| import './checkbox.styl'; | |
| const SPACE_KEY = 32; | |
| const filterSpacePressed = (event, callback) => { | |
| if (event.which === SPACE_KEY) { | |
| event.preventDefault(); |
| // @flow | |
| import { RawDraftContentState } from 'draft-js' | |
| type Mention = { | |
| link: string, | |
| name: string, | |
| fullName: ?string, | |
| id: number, | |
| avatar: string | |
| } |
| <html> | |
| <head> | |
| <title>Swish redirect</title> | |
| <script> | |
| var search = window.location.search; | |
| var params = search.substr(1).split('&').map(function(arg){ | |
| return arg.split('=', 2); | |
| }).reduce(function(acc, items) { | |
| acc[items[0]] = decodeURIComponent(items[1]); | |
| return acc; |
| # Drop this into config/initializers to print line number of each query called by ActiveRecord | |
| module LogQuerySource | |
| def debug(*args, &block) | |
| return unless super | |
| backtrace = Rails.backtrace_cleaner.clean caller | |
| relevant_caller_line = backtrace.detect do |caller_line| | |
| !caller_line.include?('/initializers/') |
| # Using curl: | |
| curl 'https://login.nomad.chalmers.se' --data 'action=Login&login=$USERNAME/net&password=$PASSWORD&org=Radius' | |
| # Using wget: (on Ubuntu for example) | |
| wget 'https://login.nomad.chalmers.se' --post-data 'action=Login&login=$USERNAME/net&password=$PASSWORD&org=Radius' |
| document.cookie = "ActiveCity__www.sf.se__sv=Z2JfX19nJWMzJWI2dGVib3Jn; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/" |
I hereby claim:
To claim this, I am signing this object: