%USERPROFILE%\Portable\Sysinternals\BGInfo\Bginfo64.exe .\Configs\BGInfo.bgi /timer:60
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
#!/usr/bin/env python3 | |
# Setup for Raspberry Pi | |
# pip3 install matplotlib | |
# Setup for Ubuntu | |
# sudo apt install python3-pip3 | |
# sudo apt install python3-matplotlib | |
import hashlib |
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
#!/usr/bin/env python3 | |
# ./pi_calc.py --digits 5000 | |
import decimal | |
from decimal import Decimal | |
from math import factorial | |
import multiprocessing | |
import time | |
import argparse |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
- Under Windows Settings > Accounts > Family & other users > Other users
- Click the button for "Add someone else to this PC"
- Click the link for "I don't have this person's sign-in information"
- Click the link for "Add a user without a Microsoft account"
- Enter a user name, password, and security questions
- Change the account type to "Administrator - Local account"
- Logout and login as this new user.
- Open a Command Prompt using "Run as administrator" and run:
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
import pandas as pd | |
import numpy as np | |
def get_dataset(size): | |
# Create Fake Dataset | |
df = pd.DataFrame() | |
df['size'] = np.random.choice(['big','medium','small'], size) | |
df['age'] = np.random.randint(1, 50, size) | |
df['team'] = np.random.choice(['red','blue','yellow','green'], size) | |
df['win'] = np.random.choice(['yes','no'], size) |
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 | |
currdate=`date +"%Y-%m-%d %T"` | |
folders=("Backup Documents Sites") | |
echo -e "\n---[${currdate}]---\n" >> ~/backup_stdout.log | |
echo -e "\n---[${currdate}]---\n" >> ~/backup_stderr.log | |
for folder in $folders |
NewerOlder