- 🌏 The official ISO C++ Get Started! page
- 🎥 Herb Sutter: (Not Your Father’s) C++
- 🎥 Beginning with C++ by Jens Weller
#!/usr/bin/python3 | |
""" | |
Copyright 2021 Mygod | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
Author | Quote | |
---|---|---|
Thomas Edison | Genius is one percent inspiration and ninety-nine percent perspiration. | |
Yogi Berra | You can observe a lot just by watching. | |
Abraham Lincoln | A house divided against itself cannot stand. | |
Johann Wolfgang von Goethe | Difficulties increase the nearer we get to the goal. | |
Byron Pulsifer | Fate is in your hands and no one elses | |
Lao Tzu | Be the chief but never the lord. | |
Carl Sandburg | Nothing happens unless first we dream. | |
Aristotle | Well begun is half done. | |
Yogi Berra | Life is a learning experience, only if you learn. |
function doSearch(array, targetValue) { | |
var min = 0; | |
var max = array.length - 1; | |
var guess; | |
while (max >= min) { | |
guess = Math.floor((max + min) / 2 ); | |
if (targetValue === array[guess]) { | |
return guess; |
import random | |
class Key: | |
def __init__(self, key=''): | |
if key == '': | |
self.key= self.generate() | |
else: | |
self.key = key.lower() |
$userPath = $env:USERPROFILE | |
$pathExclusions = New-Object System.Collections.ArrayList | |
$processExclusions = New-Object System.Collections.ArrayList | |
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null | |
$pathExclusions.Add('C:\Windows\assembly') > $null | |
$pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null | |
$pathExclusions.Add('C:\ProgramData\Microsoft\VisualStudio\Packages') > $null | |
$pathExclusions.Add('C:\Program Files (x86)\MSBuild') > $null | |
$pathExclusions.Add('C:\Program Files (x86)\Microsoft Visual Studio 14.0') > $null |
{ | |
"key_events": { | |
"key_unknown": "adb shell input keyevent 0", | |
"key_soft_left": "adb shell input keyevent 1", | |
"key_soft_right": "adb shell input keyevent 2", | |
"key_home": "adb shell input keyevent 3", | |
"key_back": "adb shell input keyevent 4", | |
"key_call": "adb shell input keyevent 5", | |
"key_endcall": "adb shell input keyevent 6", | |
"key_0": "adb shell input keyevent 7", |
curl --header 'Authorization: token INSERTACCESSTOKENHERE' \ | |
--header 'Accept: application/vnd.github.v3.raw' \ | |
--remote-name \ | |
--location https://api.github.com/repos/owner/repo/contents/path | |
# Example... | |
TOKEN="INSERTACCESSTOKENHERE" | |
OWNER="BBC-News" | |
REPO="responsive-news" |
intitle:index.of .bash_history | |
intitle:index.of .sh_history | |
intitle:”Index of” index.html.bak | |
intitle:”Index of” index.php.bak | |
intitle:”Index of” index.jsp.bak | |
intitle:”Index of” “.htpasswd” htpasswd.bak | |
inurl:backup intitle:index.of inurl:admin | |
“Index of /backup” | |
intitle:”Index of” index.html~ | |
intitle:”Index of” index.php~ |
# 1. The textfile, travel_plans.txt, contains the summer travel plans for someone with some commentary. | |
# Find the total number of characters in the file and save to the variable num. | |
fileref = open("travel_plans.txt","r") | |
num = 0 | |
for i in fileref: | |
num += len(i) | |
fileref.close() | |
# 2. We have provided a file called emotion_words.txt that contains lines of words that describe emotions. |