sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update
sudo apt-get install neovim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Brightness controller ------------------------- | |
| sudo add-apt-repository ppa:apandada1/brightness-controller | |
| sudo apt-get update | |
| sudo apt-get install brightness-controller | |
| ----------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <div id="parent" style="width:50%; height:50px; background: yellow;"> | |
| <canvas id="canvas" width="300" height="170" style="border:1px solid #d3d3d3;"> | |
| <line x1="20" y1="0" x2="20" y2="50" style="stroke:rgb(0,0,0);stroke-width:5" /> | |
| Your browser does not support the HTML5 canvas tag.</canvas> | |
| </div> | |
| <br> | |
| <br> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function setCookie(cname,cvalue) { | |
| // function setCookie(cname,cvalue,exdays) { | |
| var d = new Date(), | |
| exdays = 7; | |
| d.setTime(d.getTime() + (exdays*24*60*60*1000)); | |
| var expires = "expires=" + d.toGMTString(); | |
| document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; | |
| } | |
| function getCookie(cname) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en-US"> | |
| <head> | |
| <title>Comma Seperated input text numbers</title> | |
| </head> | |
| <body> | |
| <br> | |
| <input class="number"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo npm i gulp-sass -ES --unsafe-perm=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| error_reporting(E_ALL); | |
| ini_set("display_errors", 1); | |
| //$ch = curl_init($_GET['url']); | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_HEADER, 0); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); | |
| curl_setopt($ch, CURLOPT_VERBOSE, TRUE); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ------- worker file ---------- | |
| ./worker/myworkercode.js | |
| */ | |
| const workercode = () => { | |
| self.onmessage = function(e) { | |
| // Do anything you want with e.data | |
| let l = e.data * 5; | |