Skip to content

Instantly share code, notes, and snippets.

<div class="row">
<div class="col-xs-12 col-sm-7 col-md-7 col-lg-4">
<h1 class="page-title txt-color-blueDark"><i class="fa-fw fa fa-home"></i> Dashboard <span>> My Dashboard</span>
</h1>
</div>
<div class="col-xs-12 col-sm-5 col-md-5 col-lg-8">
<ul id="sparks" class="">
<li class="sparks-info">
<h5> My Income <span class="txt-color-blue">MyIncome</span></h5>
function loadScript(a, b) {
if (jsArray[a])b && (debugState && root.root.console.log("This script was already loaded %c: " + a, debugStyle_warning), b()); else {
jsArray[a] = !0;
var c = document.getElementsByTagName("body")[0], d = document.createElement("script");
d.type = "text/javascript", d.src = a, d.onload = b, c.appendChild(d)
}
}
<html>
<div class="padding-10">
<div id="statsChart" class="chart-large has-legend-unique"></div>
</div>
</html>
<script>
var flot_statsChart;
var pagefunction = function (){
$(function(){
var pagefunction = function() {
var x = "myIncome"
var y = "$47,171"
window.onload = function show(){
//replaceValues(x, y);
}
getDataForDashboard();
<div class="row">
<div class="col-xs-12 col-sm-7 col-md-7 col-lg-4">
<h1 class="page-title txt-color-blueDark"><i class="fa-fw fa fa-home"></i> Dashboard <span>> My Dashboard</span></h1>
</div>
<div class="col-xs-12 col-sm-5 col-md-5 col-lg-8">
<ul id="sparks" class="">
<li class="sparks-info">
<h5> My Income <span class="txt-color-blue">$47,171</span></h5>
<div id="spky" class="sparkline txt-color-blue hidden-mobile hidden-md hidden-sm">
1300, 1877, 2500, 2577, 2000, 2100, 3000, 2700, 3631, 2471, 2700, 3631, 2471
Get Cache drive working and speed up computer to what it can DO !!
NOte------- https://forums.lenovo.com/t5/Lenovo-P-Y-and-Z-series/Y510p-and-Smart-Response-Technology-can-t-enable/td-p/1201998 -----------
The Y510p does not use Intel SRT. It uses Expresscache for SSD caching. To see if expresscache is working properly, follow the link below:
http://support.lenovo.com/en_US/downloads/detail.page?DocID=HT074404
------------------------------------------------------------------------------------
@vvikramjhu
vvikramjhu / 2.sh
Last active September 28, 2015 06:26
-bash-3.2$ STATIC_DEPS=true ~/bin/pip install lxml -v
Collecting lxml
Getting page https://pypi.python.org/simple/lxml/
Starting new HTTPS connection (1): pypi.python.org
/var/chroot/home/content/92/7310992/lib/python2.7/site-packages/pip-7.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Could not fetch URL https://pypi.python.org/simple/lxml/: connection error: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed - skipping
1 location(s) to search for versions of lxml:
* https://pypi.python.org/simple/lxml/
Getting page https://pypi.python.org/simple/lxml/
Step 1 : Goto
Level : chomp town -- crazzy difficulty --- Only two partners
Play with two players. One should be a fire plant and the other an ice plant ( fire pea and ice pea should work)
Plant pots with a 1:1 ratio of fire and ice plants eg fire snapdragons and ice peas
Plant 2 bamboos near garden and 1 heal flower
Die around wave 5 on purpose
Step 2 : Goto
Level : Suburbia -- easy difficulty -- only two partners
Be regular peas
@vvikramjhu
vvikramjhu / a.sh
Last active August 29, 2015 14:24
-bash-3.2$ cat rough.py
#!/usr/local/bin/python2.7
import subprocess
subprocess.check_call(["pwd"])
# subprocess.check_call(["grep", "-o", "entry id", "nvdcve-2.0-2012.xml", "|", "wc", "-w"])
subprocess.check_call(["grep", "-o", "entry id", "nvdcve-2.0-2012.xml", "|", "wc", "-w"])
-bash-3.2$ ./rough.py
/home/content/92/7310992/html/safeview_importer/Sat_27_Jun_2015_AM_MST
nvdcve-2.0-2012.xml:entry id
nvdcve-2.0-2012.xml:entry id
</entry>
<entry id="CVE-2012-6129">
<vuln:vulnerable-configuration id="http://nvd.nist.gov/">
<cpe-lang:logical-test operator="OR" negate="false">
<cpe-lang:fact-ref name="cpe:/a:transmissionbt:transmission:2.73"/>
<cpe-lang:fact-ref name="cpe:/a:transmissionbt:transmission:2.72"/>
<cpe-lang:fact-ref name="cpe:/a:transmissionbt:transmission:2.71"/>
<cpe-lang:fact-ref name="cpe:/a:transmissionbt:transmission:2.70"/>
<cpe-lang:fact-ref name="cpe:/a:transmissionbt:transmission:2.00"/>
<cpe-lang:fact-ref name="cpe:/a:transmissionbt:transmission:2.03"/>