Skip to content

Instantly share code, notes, and snippets.

@nijotz
nijotz / gist:716b99b8d28d03cf5f2e3e80adfd3a34
Last active June 3, 2021 20:32
Block YouTube recommendations at the end of the video and on the side
! 7/4/2019 https://www.youtube.com
www.youtube.com##ytd-compact-video-renderer > #dismissible
www.youtube.com##ytd-compact-radio-renderer > #dismissible
www.youtube.com##ytd-compact-movie-renderer > #dismissible
www.youtube.com##.ytp-endscreen-content
[ 6951 ERR 1 kyle@insomnia:~/src/go/src/github.com/infoforcefeed/OlegDB ]
[ git:master ]
$ LD_LIBRARY_PATH=./build/lib:/usr/local/lib:/usr/lib:$LD_LIBRARY_PATH go test ./...
? github.com/infoforcefeed/OlegDB/frontend [no test files]
ok github.com/infoforcefeed/OlegDB/frontend/goleg 0.132s
@ssudharsan
ssudharsan / gist:e5941195f79074e46f3c
Last active June 29, 2017 20:23
Running chef manually in a opsworks instance
# put the cookbook path in solo.rb file.
echo 'cookbook_path ["/opt/aws/opsworks/current/site-cookbooks"]' > solo.rb
# create json file incase if you want use the attributes from opsworks.
opsworks-agent-cli get_json > attributes.json
#run chef-solo
/opt/aws/opsworks/current/bin/chef-solo -c solo.rb -o cookbook_name::default -j attributes.json
Some gist
testing!