Skip to content

Instantly share code, notes, and snippets.

nakami nakami

  • Germany
Block or report user

Report or block nakami

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nakami
nakami / pinkbike_pod_download_highres.js
Last active Jan 30, 2019
Add high resolution download button on the pinkbike POD page
View pinkbike_pod_download_highres.js
// run on https://www.pinkbike.com/photo/podlist/
// high res links look like this: https://lp1.pinkbike.org/p0pb<ID>/<ID>.jpg
// get all li-tags with 'inElm' class
var li_inElms = document.querySelectorAll('li.inElm')
// iterate over all li-tags
for(var i = 0; i < li_inElms.length; i++){
// get the id
var link = li_inElms[i].getElementsByTagName('a')[0].getAttribute('href');
@nakami
nakami / guitar_tunings_wage_war.md
Last active Jun 9, 2018
revised guitar tunings to some of the songs of wage war according to ultimate-guitar tabs
View guitar_tunings_wage_war.md

guitar tunings wage war

revising some ultimate-guitar.com tabs of the band wage war

official statement on reddit AMA: Drop A#, sometimes top string to G (3 steps down)

note: top string F in johnny cash is 5 steps lower than A#, 2 steps lower than G

all meaningful tunings

View fix windows 10 update
run in elevated powershell:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start cryptSvc
View monokai color scheme resources
monokai palette
http://www.colourlovers.com/palette/1718713/Monokai
monokai CMD
https://github.com/reideast/cmd-colors-monokai
View creative_videogames.md

Antichamber

The Beginner's Guide

The Stanley Parable

@nakami
nakami / resources.md
Last active Feb 10, 2020
video resources on computer science related topics
View resources.md
@nakami
nakami / beautifulsoup_gw2wiki.py
Last active Mar 13, 2017
beautifulsoup_gw2wiki.py
View beautifulsoup_gw2wiki.py
import requests
from bs4 import BeautifulSoup
s.mount(url, HTTPAdapter(max_retries=5))
response = requests.Response()
try:
response = requests.get("https://wiki.guildwars2.com/wiki/Eternity", stream=True, verify=True, headers=False)
except requests.exceptions.RequestException as e: # catch exception but do nothing
print (e)
soup = BeautifulSoup(response.text, 'html.parser')
You can’t perform that action at this time.