Skip to content

Instantly share code, notes, and snippets.

View wadkar's full-sized avatar
💭
I may be slow to respond.

Sudo wadkar

💭
I may be slow to respond.
View GitHub Profile
@wadkar
wadkar / yarn_audit.log
Created April 11, 2020 09:35
Yarn Audit Log for coc-prettier
This file has been truncated, but you can view the full file.
yarn audit v1.22.4
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ high │ Prototype Pollution │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ set-value │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=2.0.1 <3.0.0 || >=3.0.1 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ webpack │
├───────────────┼──────────────────────────────────────────────────────────────┤
@wadkar
wadkar / Security of cloaks.md
Created April 11, 2020 05:23 — forked from maxteufel/Security of cloaks.md
About the security of (unaffiliated) cloaks on freenode

Copyright (c) 2014, 2016, 2017 M. Teufel

Unlimited redistribution and modification of this document is allowed provided that the above copyright notice and this permission notice remains in tact.


If you are reading this, you probably asked for a (unaffiliated) cloak on freenode because you wanted to hide your IP or hostname.

This text is here to tell you that cloaks and vHosts don't hide your IP very well. Cloaks on freenode show your (lack of) affiliation with a project or a group being hosted on freenode.

$ git remote rm origin
$ git remote add origin git@github.com:aplikacjainfo/proj1.git
$ git config master.remote origin
$ git config master.merge refs/heads/master
@wadkar
wadkar / remote_pairing_setup.md
Created June 28, 2017 22:14 — forked from alvarobp/remote_pairing_setup.md
Setting up a remote pair station with SSH + TMUX and/or Reverse SSH Tunnel

Disclaimer: The following examples try to give an overview of the process followed in different scenarios. Some commands were actually written from memory. Some tools might exist simplifying all this. Furthermore, I'm no expert so if anyone ever reads this and knows any improvement, please let me know.

Case 1: Direct access to Pairing Station

Given that the Guest User can access the Pairing Station directly, either because the station is publicly available or because NAT port forwarding can be used, there's only one thing we need to do, give ssh access to the Guest User by adding his ssh public key to our Local User (pair) .ssh/authorized_keys file.

The local user would open up a tmux session with

tmux new-session -s pairing
@wadkar
wadkar / macvim-pyenv.md
Created January 24, 2017 06:51 — forked from sv99/macvim-pyenv.md
build macvim with python from env
@wadkar
wadkar / keybase.md
Created November 17, 2016 18:23
Keybase Verify

Keybase proof

I hereby claim:

  • I am wadkar on github.
  • I am wadkar (https://keybase.io/wadkar) on keybase.
  • I have a public key ASBZys5BJxhC7LsvjfMBXU0C_LSG5Kxc8xzM8pQlKiXNXQo

To claim this, I am signing this object:

@wadkar
wadkar / gist:2111051
Created March 19, 2012 12:55
cucumber trying to load javascript file when 'bundle exec cucumber foo.feature'
ubuntu@ip-10-130-5-204:~/hw3$ bundle exec cucumber filter_movie_list.feature
Using the default profile...
/usr/local/lib/ruby/gems/1.9.1/gems/cucumber-1.1.8/lib/cucumber/js_support/js_dsl.js:3: syntax error, unexpected '{', expecting keyword_then or ';' or '\n'
/usr/local/lib/ruby/gems/1.9.1/gems/cucumber-1.1.8/lib/cucumber/js_support/js_dsl.js:6: syntax error, unexpected keyword_else, expecting '}'
else{
^
/usr/local/lib/ruby/gems/1.9.1/gems/cucumber-1.1.8/lib/cucumber/js_support/js_dsl.js:7: syntax error, unexpected ';', expecting tASSOC
/usr/local/lib/ruby/gems/1.9.1/gems/cucumber-1.1.8/lib/cucumber/js_support/js_dsl.js:13: syntax error, unexpected ',', expecting $end (SyntaxError)
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in `load'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in `block in load'