I hereby claim:
- I am AnimeshRy on github.
- I am era5tone (https://keybase.io/era5tone) on keybase.
- I have a public key whose fingerprint is E825 374C 380C 3EFA 82B3 FF22 A6F1 6351 CCAA 205B
To claim this, I am signing this object:
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <ctype.h> | |
#include <cs50.h> | |
int main(int argc, string args[]) | |
{ | |
if (argc != 2) | |
{ |
#include <cs50.h> | |
#include <ctype.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int main(int argc, string argv[]) | |
{ | |
// Check if correct # of arguments given | |
if (argc != 2) |
#include <stdio.h> | |
#include <cs50.h> | |
#include <ctype.h> | |
#include <string.h> | |
#include <math.h> | |
int letter; | |
int word; | |
int sentence; |
#include <cs50.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdbool.h> | |
#include <math.h> | |
// Max voters and candidates | |
#define MAX_VOTERS 100 | |
#define MAX_CANDIDATES 9 |
#include <cs50.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdbool.h> | |
// Max number of candidates | |
#define MAX 9 |
#! /bin/bash | |
# ECHO COMMAND | |
# echo Hello World! | |
# VARIABLES | |
# Uppercase by convention | |
# Letters, numbers, underscores | |
NAME="Bob" | |
# echo "My name is $NAME" |
from time import sleep | |
import os | |
count=1 | |
def update(): | |
if 'a.txt' in os.listdir(): | |
os.system('rename a.txt b.txt') #Renames file | |
elif 'b.txt' in os.listdir(): | |
os.system('rename b.txt a.txt') #Renames file |
I hereby claim:
To claim this, I am signing this object:
I tried every solutions here, but nothing works for me. | |
But I found solutions. | |
in wsl, type below. | |
sudo rm /etc/resolv.conf | |
sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf' | |
sudo bash -c 'echo "[network]" > /etc/wsl.conf' | |
sudo bash -c 'echo "generateResolvConf = false" >> /etc/wsl.conf' | |
sudo chattr +i /etc/resolv.conf |
import socket | |
import select | |
from logzero import logger | |
# python forwarder.py localhost:1337 ipinfo.io:80 | |
# curl -v http://localhost.com:1337 -H "Host: ipinfo.io" | |
# video: https://www.youtube.com/watch?v=32KKwgF67Ho | |
class Forwarder: |