Skip to content

Instantly share code, notes, and snippets.

View kleerkoat's full-sized avatar

kleerkoat kleerkoat

View GitHub Profile
@Flare576
Flare576 / readme.md
Last active June 21, 2017 22:09
Walkthrough of getting a better ship in No Man's Sky

Upgrade your Wheels

Please note that the most recent updates to No Man's Sky make this document relatively obsolete; Ships found at crash sites will have damaged slots, reducing the likelyhood that you'll be able to carry the equipment necessary to repair as you go.

I heard you like advice, so I put some advice in your advice, so you could learn while you learn.

Before you start, make peace with leaving your existing ship behind; you won't have the luxury of being picky about what your next ride looks like.

Additionally, it is highly recommended (but not strictly necessary) that you upgrade your exosuit as far as possible; it will help carry the materials you'll need for your final ship.

Lastly, pick a planet that you won't mind spending a lot of time on. Don't do this on an EXTREME planet, for example.

@kspeeckaert
kspeeckaert / Quiver_HTML_importer.py
Created May 5, 2016 13:35
Quiver HTML importer
import json
import uuid
from pathlib import Path
from urllib.parse import urlparse
from datetime import datetime
import html2text
import requests
from bs4 import BeautifulSoup
@ttscoff
ttscoff / dontforget.bash
Last active August 11, 2024 20:05
Quick reminders from Terminal (bash)
#!/bin/bash
# dontforget
#
# A stupid script for short term reminders in bash
#
# Arguments just need to contain a number and a bunch of words.
#
# The number can be anywhere in the arguments, but there shouldn't
# be any other numeric digits.
#
@patrickwelker
patrickwelker / evoluent-verticalmouse.xml
Created October 6, 2015 13:12
Karabiner Template to setup a secondary function key with the Evoluent Vertical Mouse. In this example Button 6 gets assigned the following modifiers: Shift-Right, Control-Right, Option-Right and Command-Right. Import via `<include path="YOUR-PATH-HERE/evoluent-verticalmouse.xml" />`
<?xml version="1.0"?>
<root>
<item>
<name>Evoluent VerticalMouse</name>
<appendix>All customizations only apply for the Evoluent VerticalMouse.</appendix>
<appendix>Note: button 4 (the mouse scroll button) and button 5 are swapped in Karabiner. I still use the default Evoluent labeling.</appendix>
<devicevendordef>
<vendorname>EVOLUENT</vendorname>
<vendorid>0x1a7c</vendorid>
</devicevendordef>
@omz
omz / PythonistaBackup.py
Last active January 6, 2024 05:44
PythonistaBackup.py
# coding: utf-8
'''Creates a zip archive of your Pythonista files and serves them via HTTP in your local network.'''
import sys
if sys.version_info[0] >= 3:
from http.server import SimpleHTTPRequestHandler, HTTPServer
else:
from SimpleHTTPServer import SimpleHTTPRequestHandler
from BaseHTTPServer import HTTPServer
@jsbain
jsbain / gistcheck.py
Created March 25, 2015 06:15
updated for ios8
# Source: https://gist.github.com/5212628
#
# All-purpose gist tool for Pythonista.
#
# When run directly, this script sets up four other scripts that call various
# functions within this file. Each of these sub-scripts are meant for use as
# action menu items. They are:
#
# Set Gist ID.py - Set the gist id that the current file should be
# associated with.
@m42e
m42e / FileSidebar.py
Last active August 29, 2015 14:14
File Sidebar For Pythonista
import keychaindb, ui, editor, os
class FileBarEntry (object):
def __init__(self, filename, open, delete):
self.filename = filename
self.open = open
self.delete = delete
class FileSidebar(object):
def __init__(self):
@jsbain
jsbain / TabbedView.py
Last active January 26, 2018 13:37
TabbedView.py
import ui
class TabbedView(ui.View):
def __init__(self,tablist=[], frame=(0,0)+ui.get_screen_size()):
'''takes an iterable of Views, using the view name as the tab selector.
empty views sre just given generic names'''
self.tabcounter=0 #unique counter, for name disambiguation
self.buttonheight=30 #height of buttonbar
#setup button bar
self.tabbuttons=ui.SegmentedControl(frame=(0,0,self.width, self.buttonheight))
self.tabbuttons.action=self.tab_action
/**
* Convert the string divided by hyphen(s) to a camelCase string
* Eg.
* 'foo-bar' => 'fooBar'
* '-foo-bar' => FooBar'
* Ref:
* http://stackoverflow.com/questions/10425287/convert-string-to-camelcase-with-regular-expression
*/
function camelCase(str) {
return str.toLowerCase().replace(/-(.)/g, function(m, s1) {
@SpotlightKid
SpotlightKid / github_download.py
Created August 6, 2014 14:12
Github file viewer / general URL download script for Pythonista
"""Prompt user for URL and filename and download the remote resource to a file.
If the clipboard contains a HTTP(S) or FTP(S) URL, the URL input dialog is
pre-filled with it.
The suggested local filename is extracted from the URL, if possible.
If a github file viewer URL is given, it is transformed into the matching
raw file access URL, which makes it easier to download files on github you
are viewing in your browser. Just copy the URL to the clipboard, change to