- Install Xcode (Avaliable on the Mac App Store)
- Install Xcode Command Line Tools (Preferences > Downloads)
- Install depot_tools
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
$ nano ~/.zshrc
- Add
path=('/path/to/depot_tools' $path)
Discover gists
# Insert your company-hash here. When you get the download link, this is the long alpha-numeric scring | |
# that comes after setupdownloader_ in the filename. | |
# Do not include the square brackets (but do include the = if there is one). | |
$CompanyHash = "" | |
### Modify below this line at your own risk! | |
# If it's already installed, just do nothing | |
$Installed = Get-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*" | | |
Where-Object { $_.DisplayName -eq "Bitdefender Endpoint Security Tools" } |
#!/bin/bash | |
echo "Enter the time for your alarm (HH:MM:SS, 24-hour format):" | |
read alarm_time | |
while true; do | |
current_time=$(date +%H:%M:%S) | |
if [[ "$current_time" == "$alarm_time" ]]; then | |
echo "Wake up! It's time!" |
영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^
아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.
#!/bin/bash | |
## about | |
# this does two things 1) provides a visual indicator when moving between panes | |
# 2) cleverly cycles between the previous pane on all windows across the session. | |
# NOTE this script does echo out every single tmux focus switch to a file in /tmp/ | |
# so unless you turn your machine off every night you'll want to find some way of | |
# dealing with that. |
import requests | |
import csv | |
import time | |
server_login = 'YourUserName' | |
server_pass = 'YourPassword/LoginKey' | |
endpoint_url = 'AddSevrerURLHereWithPort' + '/CMD_EMAIL_POP' #Change the first part to he URL of the server you recoeved after sign up. | |
headers={"Content-Type": "application/x-www-form-urlencoded",} | |
#!/bin/sh | |
# This script will fetch the Googlevideo ad domains and append them to the Pi-hole block list. | |
# Run this script daily with a cron job (don't forget to chmod +x) | |
# More info here: https://discourse.pi-hole.net/t/how-do-i-block-ads-on-youtube/253/136 | |
# File to store the YT ad domains | |
FILE=/etc/pihole/youtube.hosts | |
# Fetch the list of domains, remove the ip's and save them | |
curl 'https://api.hackertarget.com/hostsearch/?q=googlevideo.com' \ |
For the past six months I've been learning about hacking my Wii U. I could have completed this project in a weekend, but sometimes I get an itch to go further.
My goal has been to have the ultimate couch console where friends can play video games in the same place in front of the same screen (plus gamepad screen). After that first weekend I was able to play homebrew, and make game backups to play. It even came with new software to use PS3 controllers on the console as pro controllers. My console had become really cool, but it wasn't perfect. So, I began working on getting it from 75% to perfect to 95% perfect (see unfixed cons below).
The documentation for that first 75% is really good and simple, but it's so simple the learning curve to do more advance things is steep. The research involved included digging through decade old forum posts, out of date wikis, finding files in abandoned MEGA drive downloads, reading source code in a dozens of repos, and lots of t