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
#!/usr/bin/python3 | |
""" | |
created by : | |
Nityananda Gohain | |
School of Engineering, Tezpur University | |
27/10/17 | |
""" | |
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
saw this in a utube comment. | |
reasons to stay alive 🤍 | |
1. your family | |
2. your friends | |
3. the feeling you get when you’ve finished something |
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 formatString(e) { | |
var inputChar = String.fromCharCode(event.keyCode); | |
var code = event.keyCode; | |
var allowedKeys = [8]; | |
if (allowedKeys.indexOf(code) !== -1) { | |
return; | |
} | |
event.target.value = event.target.value.replace( | |
/^([1-9]\/|[2-9])$/g, '0$1/' // 3 > 03/ |
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
#include <string> | |
#include <sstream> | |
string line; | |
getline(cin, line); | |
istringstream iss(line); | |
string word; | |
while (iss >> word) | |
{ |
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
In case you cannot download node packages using uni wifi. | |
Open cmd and run following two commands. | |
npm config set https-proxy http://10.50.225.222:3128 | |
npm config set proxy http://10.50.225.222:3128 | |
When you switch back to your private connection. Run following two commands. | |
npm config delete proxy | |
npm config delete https-proxy |
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
using System; | |
using System.IO; | |
namespace ConsoleApp4 | |
{ | |
class MyClassCS | |
{ | |
static void Main() | |
{ | |
using var watcher = new FileSystemWatcher(@"C:\xampp\htdocs\FileSystemWatcher"); |