- Student : Aashutosh Rathi
- Github : aashutoshrathi
- Organisation : FOSSASIA
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am aashutoshrathi on github. | |
* I am aashutoshrathi (https://keybase.io/aashutoshrathi) on keybase. | |
* I have a public key ASDGWvq1tKFb8sfxSc9LoPVvPkFLAspKRvF_CnPMUgMWeAo | |
To claim this, I am signing this object: |
This file contains 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
[33m[WARNING][0m[20:20:46] Implicit 'Default' section inheritance is deprecated. It will be removed soon. To silence this warning remove settings in the 'Default' section from your coafile. You can use dots to specify inheritance: the section 'all.python' will inherit all settings from 'all'.[0m | |
Executing section Python Spacing... | |
Executing section Golint... | |
[31m[ERROR][0m[20:20:59] The bear GoLintBear does not fulfill all requirements. 'golint' is not installed.[0m | |
Executing section Gofmt... | |
Executing section pep8... | |
Executing section haskell... | |
[33m[WARNING][0m[20:21:14] No files matching 'C:\Users\Aashutosh Rathi\Documents\Github\algos\**\*.hs' were found.[0m | |
[31m[ERROR][0m[20:21:14] The bear HaskellLintBear does not fulfill all requirements. 'hlint' is not installed.[0m | |
Executing section hlint... |
This file contains 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
$ coala --ci | |
[WARNING][11:20:25] Implicit 'Default' section inheritance is deprecated. It will be removed soon. To silence this warning remove settings in the 'Default' section from your coafile. You can use dots to specify inheritance: the section 'all.python' will inherit all settings from 'all'. | |
Executing section Python Spacing... | |
Executing section Golint... | |
Executing section Gofmt... | |
Executing section pep8... | |
Executing section haskell... | |
[WARNING][11:20:28] No files matching '/home/travis/build/iiitv/algos/**/*.hs' were found. | |
Executing section hlint... | |
[WARNING][11:20:29] No files matching '/home/travis/build/iiitv/algos/**/*.hs' were found. |
This file contains 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
// one way searching through italics tag | |
x = document.getElementsByTagName('i'); | |
x[0].innerText // ==> it will give you correct output | |
// searching through class | |
x = document.getElementsByClassName('spell'); | |
x[1].children[0].textContent // ==> it will give same result too. | |
// This works for links like https://www.google.co.in/search?q=summr | |
// Gives an output summer |
This file contains 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
var today = new Date(); | |
var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate(); | |
x = document.getElementsByTagName('rect'); | |
for(let i = 0; i<x.length; i++) { | |
if(x[i].getAttribute('data-date') === date) { | |
console.log(x[i].getAttribute('data-count')); | |
} | |
} |
This file contains 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 wait(ms) { | |
var d = new Date(); | |
var d2 = null; | |
do { d2 = new Date(); } | |
while(d2-d < ms); | |
} | |
function hackIt() { | |
speed = 100; // in wpm | |
inp = document.getElementsByTagName('input'); |
This file contains 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
#!/bin/bash | |
# Download it. | |
# Name it as 'theme' | |
# Place it in /usr/bin/ | |
# shell_prompt$ theme | |
echo ' | |
3024 Day ( 1) 3024 Night ( 2) AdventureTime ( 3) | |
Afterglow ( 4) AlienBlood ( 5) Argonaut ( 6) | |
Arthur ( 7) Atom ( 8) Belafonte Day ( 9) | |
Belafonte Night ( 10) BirdsOfParadise ( 11) Blazer ( 12) |
This file contains 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
-- Creating Schema | |
CREATE SCHEMA vcs; | |
SET SEARCH_PATH to vcs; | |
CREATE TABLE "user" ( | |
uid INT NOT NULL UNIQUE, | |
login VARCHAR(20) NOT NULL, | |
type VARCHAR(20), | |
company VARCHAR(20), | |
name VARCHAR(50), |
This file contains 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
import os | |
import time | |
folder = time.strftime("%Y") + " BHASKAR" | |
newpath = os.path.join('D:', folder, time.strftime("%B"), time.strftime("%d-%m-%Y")) | |
print(newpath) | |
if not os.path.exists(newpath): | |
os.makedirs(newpath) |
OlderNewer