Flat Responsive social icons widget.
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
notify-send -u normal -i /usr/share/icons/Paper/64x64/apps/email.png "New Email" "${USER^} you have a new email!" && paplay /usr/share/sounds/freedesktop/stereo/message-new-instant.oga |
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
/* Udit | CodeNirvana */ | |
#include <bits/stdc++.h> | |
using namespace std; | |
#define PB push_back | |
#define MP make_pair | |
#define F first | |
#define S second | |
#define SZ(X) ((int)(X).size()) | |
#define ALL(X) (X).begin(), (X).end() |
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
require('http') | |
.createServer((req, res) => req.pipe(res)) | |
.listen(8080); |
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
const http = require('http'); | |
const server = http.createServer(); | |
server.on('connection', (socket) => { | |
socket.end(`HTTP/1.1 204 No Content | |
Content-Length: 12 | |
Content-Type: text/plain | |
Hello World!`); | |
}); |
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
const net = require('net'); | |
net.createServer(function (socket) { | |
socket.on('data', function (chunk) { | |
socket.write('HTTP/1.1 200 Ok\r\n'); | |
socket.write('\r\n'); | |
socket.write(chunk.toString()); | |
socket.end(); | |
}); | |
}).listen(3000); |
I hereby claim:
- I am codenirvana on github.
- I am codenirvana (https://keybase.io/codenirvana) on keybase.
- I have a public key ASBP2UHdme1PtmOoDChk0QZvSfTQz65VKT_aSMmkgR0Ojwo
To claim this, I am signing this object:
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
const a = { | |
value : 0, | |
valueOf: () => ++a.value | |
}; |
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
this.value = 0; // global, window, or globalThis ¯\_(ツ)_/¯ | |
Object.defineProperty(this, 'a', { | |
get: () => ++this.value | |
}); |
OlderNewer