Skip to content

Instantly share code, notes, and snippets.

Executing tasks: [:app:assembleDebug]
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
:app:buildInfoDebugLoader
:app:preBuild UP-TO-DATE
:openCVLibrary341:preBuild UP-TO-DATE
:openCVLibrary341:preDebugBuild UP-TO-DATE
:openCVLibrary341:checkDebugManifest
:openCVLibrary341:processDebugManifest
Packing ccNetViz library with webpack
--- appending module.exports into dist/ccNetViz.js (import fix)
--- Successfully packed into dist/ccNetViz.js
Compiling ccNetViz library with Google closure compiler
--- complilation exited with code 25
java -jar /Users/gauravgrover/Projects/GSoC 2018/ccnetviz/ccNetViz/node_modules/google-closure-compiler/compiler.jar --js=dist/ccNetViz.js --compilation_level=ADVANCED
dist/ccNetViz.js:638: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var ns = (0, _primitiveTools.getPartitionStyle)(options.styles[n.style], nodeStyle, "label");
-----------------------
BUILD SYSTEM
-----------------------
System: MacOS High Sierra 10.13.1
Android Version: 7.1.2
react-native-cli version: 2.0.1
react-native version: 0.54.2
react-native-camera: 1.0.2 [https://github.com/react-native-community/react-native-camera]
-----------------------

Following I present the CSS code to disable:

  1. the news feed on the homepage of YouTube
  2. recommendation list on the side of the video

Motivation for creating this gist is the reason how distracting the Internet is becoming. Increase productivity and reduce addiction to internet technologies.

#feed, ytd-browse[page-subtype=home] {
 display: none;
@gauravgrover95
gauravgrover95 / nginx_basics.md
Last active December 5, 2017 05:05 — forked from leommoore/nginx_basics.md
Nginx Basics

Nginx Basics for Ubuntu

Please see http://wiki.nginx.org/Main for more information. See http://arstechnica.com/gadgets/2012/11/how-to-set-up-a-safe-and-secure-web-server/ for a tutorial on how to install Nginx.

Installation

To install, you can install the version which is in the standard Ubuntu repositories but it is normally quite old and will not have the latest security patches. The best way is to update the repositories first:

apt-get update
apt-get install python-software-properties

apt-get upgrade

@gauravgrover95
gauravgrover95 / Extras.md
Last active August 24, 2018 11:06
Git Commands

Create New branch from old commit

git checkout -b justin <SHA-1 of old commit>

OR

git branch justin a9c146a09505837ec03b

Getting Remote Pull request into local repo

<html>
<head>
<title>Gaurav</title>
</head>
<body>
<h1>It Works...</h1>
</body>
</html>