Practice Problem solutions by Wolf Syntax (Jayson Alpe) Hackerearth.com : https://www.hackerearth.com/@jalpe Hackerrank.com : https://www.hackerrank.com/wolfSyntax Codechef : https://www.codechef.com/users/wolfsyntax_
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 | |
################################################################################################################################################ | |
# | |
# Title: DroidXTools | |
# Author: Wolf Syntax (Jayson D. Alpe) | |
# Desription: A tools for modifying MAC Address and DNS, a tool also for viewing WiFi saved password and creating backup of build.prop file | |
# Instruction: | |
# | |
# Download Terminal Emulator and DroidEdit |
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
#include <cmath> | |
#include <cstdio> | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
using namespace std; | |
/** | |
ACM - PNPC | |
- BMI |
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
#include <iostream> | |
#include <cstdio> | |
#include <set> | |
#include <map> | |
#include <cmath> | |
#include <cstdio> | |
#include <vector> | |
/** | |
Some part of this codes contains codesnippet/algorithm from HackerEarth Editorial
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
Before you proceed these are the tools needed for investment sites below: | |
http://bit.ly/getPayeer | |
http://bit.ly/getAdvCash | |
http://bit.ly/get50PHP | |
GET FREE BITCOIN CASH HERE cnhv.co/8pwim |
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
1. Install https://git-scm.com/download/win | |
2. Edit Config: | |
git config --global user.name "Your name" | |
git config --global user.email <someone@example.com> | |
Open Github.com > Settings > SSH and GPG Keys > New SSH Key | |
then paste the content of ~/.ssh/id_rsa.pub | |
3. Setting Up a new Git Repository |
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
#Default: Python-Telegram-Bot | |
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters | |
from telegram import ReplyKeyboardMarkup | |
import telegram | |
#Tables | |
import pandas as pd | |
#Database |
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
IPv4 Address | |
^(0?[0-9]|1[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.(0?[0-9]|1[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.(0?[0-9]|1[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.(0?[0-9]|1[0-9]{1,2}|25[0-5]|2[0-4][0-9])$ | |
Person Name | |
^([a-zA-Z]{2,}\s*){1,}$ | |
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
#views.py | |
stats = '-' | |
if request.method == 'POST': | |
form = GoatInfoForm(request.POST) #{} | |
if form.is_valid(): | |
cd = form.cleaned_data #outpur: dictionary | |
form_clean = GoatInfoForm(cd) | |
#cd.save() |
OlderNewer