Documents that describe the OS from a user's perspective. Easily understandable descriptions of the OS at a superficial level, "user manuals" and tutorials belong to this category.
This file contains hidden or 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
(setq js2-auto-indent-p t | |
js2-use-font-lock-faces t | |
js2-bounce-indent-p t | |
js2-enter-indents-newline t | |
js2-indent-on-enter-key t) |
This file contains hidden or 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
struct Coord | |
{ | |
public Coord(GPSData data) : this() { | |
Latitude = data.Latitude; | |
Longitude = data.Longitude; | |
} | |
public double Latitude{get; private set;} | |
public double Longitude{get; private set;} | |
} |
This file contains hidden or 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
def fetch_results(request, id): | |
"""Fetch the result for a testrun as JSON | |
""" | |
run = Testrun.objects.get(id=id) | |
test = {'results': [ | |
{'path': x.test, | |
'result': x.result.all()[0].get_result_display() + 'ED'} | |
for x in run.tests.all()]} | |
return _json(test) |
This file contains hidden or 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
func doThing(var array:Array<Int>) -> Array<Int> { | |
array[0] = array[0]*2 | |
array.append(array[1]*2) | |
return array | |
} | |
let originalArray = [1, 2, 4] | |
let otherArray = doThing(originalArray) | |
println(originalArray) // [4, 2, 4] | |
println(otherArray) // [4, 2, 4, 4] |
This file contains hidden or 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
Windows Registry Editor Version 5.00 | |
; This appears to be the entirety of what K-Boost does. | |
; Here {4d36e968-e325-11ce-bfc1-08002be10318} is the Class GUID for my graphics card, which is found by | |
; going to Device manager, finding your graphics card under "Display Adapters", right clicking and selecting properties, | |
; navigating to the Details tab and finding "Class Guid" in the dropdown list. Replace mine with yours. | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000] | |
"PerfLevelSrc"=dword:00002222 | |
"PowerMizerEnable"=dword:00000001 | |
"PowerMizerLevel"=dword:00000001 |
This file contains hidden or 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 nScopePy as ns | |
from ctypes import CDLL, Structure, POINTER, c_int, c_uint, c_float, c_double, c_bool, cast, byref | |
import os | |
import time | |
# Definitions for using lib_gpu via FFI | |
class overclock_setting(Structure): | |
_fields_ = [ | |
('editable', c_bool), |