Skip to content

Instantly share code, notes, and snippets.

View saltyfireball's full-sized avatar
🏠
Working from home

saltyfireball

🏠
Working from home
View GitHub Profile

Show all hidden achievements


I use https://www.trueachievements.com a lot. I have had a pro account for a long time.

One thing that was very annoying to me is when I start a new game and the pages is filled with 40-50 "secret" achievements and I can't view the descriptions without clicking the "Show secret details" link for each achievement.

So I wrote this stupid loop using jQuery that I run in the console to click all the links for me.

It could be much improved but honestly, its not worth the time. I figured I would share this here because I know some people would like this.

@saltyfireball
saltyfireball / functions.php
Created November 5, 2017 23:30 — forked from thecodepoetry/functions.php
Change sidebar position for woocommerce products for The7 -Mulltipurpose wordpress them
function change_sidebar_pos() {
$args = array (
'post_type' => 'product',
'post_per_page' => -1
);
query_posts( $args );
while ( have_posts() ) : the_post();
import turtle
import random
random.seed(42)
i=0
#file = open("emil.txt", "r")
#file = open("pi1000000.txt", "r")
file = open("sqrt2.txt", "r")
text=file.read()
pi = list(text)
pi = list(map(int, pi))
@saltyfireball
saltyfireball / apache_ssl_301_rdr.example.conf
Created September 6, 2017 17:59
Apache SSL 301 Redirect
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} ^http$
RewriteRule !/status https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301]
@saltyfireball
saltyfireball / DevelopmentSoftware.md
Last active January 2, 2018 15:51
Development Tools on MAC or SAAS

Development Setup's and Software I use

Important Mac Tools

Application Name Description Link Cask
iTerm2 Better Terminal iterm2 brew cask install iterm2
Atom Better Editor Atom brew cask install atom
Launch Control launchd(8) manager Launch Control
Cryptomator Encryption cryptomator
Cyberduck FTP,SFTP,S3 + More. Cyberduck
@saltyfireball
saltyfireball / delete-git-recursively.sh
Created July 14, 2017 12:57 — forked from facelordgists/delete-git-recursively.sh
Recursively remove .git folders
( find . -type d -name ".git" && find . -name ".gitignore" && find . -name ".gitmodules" ) | xargs rm -rf