Just do:
git push origin master --force
or if you have a specific repo:
git push https://git.... --force
may not be proper, but if anyone stumbles upon this page, thought they might want a simple solution...
Also note that -f
is short for --force
, so
git push origin master -f
will also work.
You all know about PWM Flickering:
Flickering
Monitor
Open your terminal and type this
xrandr -q | grep " connected"
it will gives you the output as LVDS1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
There LVDS1 Stands for your display .
so now you have to do as
xrandr --output LVDS1 --brightness 0.5
there 0.5 stands for brightness and it ranges from 0.0 to 1.0 . 0.0 -> Full black .so you have to choose the required value of brightness.
Really Useful!
// Speed up calls to hasOwnProperty
var hasOwnProperty = Object.prototype.hasOwnProperty;
function isEmpty(obj) {
// null and undefined are "empty"
if (obj == null) return true;
// Assume if it has a length property with a non-zero value
// that that property is correct.
if (obj.length > 0) return false;
if (obj.length === 0) return true;
// Otherwise, does it have any properties of its own?
// Note that this doesn't handle
// toString and valueOf enumeration bugs in IE < 9
for (var key in obj) {
if (hasOwnProperty.call(obj, key)) return false;
}
return true;
}
isEmpty(""), // true
isEmpty([]), // true
isEmpty({}), // true
isEmpty({length: 0, custom_property: []}), // true
isEmpty("Hello"), // false
isEmpty([1,2,3]), // false
isEmpty({test: 1}), // false
isEmpty({length: 3, custom_property: [1,2,3]}) // false
int array[] = {5, 1, 3, -2, 6};
int size = sizeof(array) / sizeof(int);