Skip to content

Instantly share code, notes, and snippets.

View deadcoder0904's full-sized avatar
:octocat:
Dead

akshay kadam (a2k) deadcoder0904

:octocat:
Dead
View GitHub Profile
@deadcoder0904
deadcoder0904 / stations.js
Last active March 27, 2017 10:15
List of Stations
[
{
"name":"Churchgate",
"state":"Mumbai",
"code":"C",
"price":5
},
{
"name":"Marine Lines",
"state":"Mumbai",
@deadcoder0904
deadcoder0904 / awesome-frontend.md
Last active January 22, 2017 09:15
My Awesome Front-End Articles
@deadcoder0904
deadcoder0904 / quotes.js
Last active January 14, 2017 19:55
Download ScoopWhoop Pictorial Quotes using Console
var figure = document.querySelectorAll('.sw-media');
for (let i of figure) {
console.log(JSON.stringify(i.children[0].src));
}
var img = document.querySelectorAll('.sw-para>img');
for (let i of img) {
console.log(JSON.stringify(i.src));
}
@deadcoder0904
deadcoder0904 / periodic_table.js
Created January 11, 2017 18:21
Periodic Table
[
{
"number": 1,
"name": "Hydrogen",
"symbol": "H",
"mass": 1.00794,
"type": "unknown"
},
{
"number": 2,
@deadcoder0904
deadcoder0904 / fp-light.md
Last active January 6, 2017 19:35
Functional Light JS Notes

Functional Light JS Notes

(1) Morphism - A fancy way of describing a set of values that maps to another set of values

(2) Function vs Procedure -Functions take input & return some ouptut; Procedures need not return

(3) Arity - Arity is the number of parameters in a function declaration.

(4) Unary Function - A function with arity of 1 is also referred to as a unary function.

@deadcoder0904
deadcoder0904 / write-an-open-source-js-lib.md
Created November 20, 2016 19:26
How to Write an Open Source JavaScript Library
@deadcoder0904
deadcoder0904 / wifi-not-working.md
Last active November 10, 2016 16:30
Ubuntu WiFi not working after Installation

You need to install wireless driver.

Insert your Ubuntu installation disk or a flash drive and copy these files from the installation disk to your Home directory:

pool/main/d/dkms/dkms_XXXXX.deb

pool/restricted/b/bcmwl/bcmwl-kernel-source_XXXXX.deb

Then run the following in terminal:

@deadcoder0904
deadcoder0904 / samba.md
Last active November 10, 2016 16:26
Enabling Samba Service to connect to Ubuntu using ES File Explorer in Android

Trick samba into thinking that every remote user is you ( at least as far as that share is concerned ) by doing something like this:

Press Alt+F2 & Type this in Terminal

sudo gedit /etc/samba/smb.conf

In the [global] section add the following line:

force user = bob