The following notes were compiled while setting up and customizing EndeavourOS Neo Atlantis on Dell XPS 15 9310.
Initially written on February 5th, 2022.
- Trackpad
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>DOM Binary Tree Demo</title> | |
<style> | |
* { | |
box-sizing: border-box; | |
} |
{ | |
"defaultSeverity": "warning", | |
"extends": [ | |
"tslint:recommended" | |
], | |
"linterOptions": { | |
"exclude": [ | |
"node_modules/**" | |
] | |
}, |
This will primarily focus on building a somewhat portable dev environment for developing GTK+ 3 apps using Vala, targeting Windows.
# ... | |
# Register All Of The Configured Shared Folders | |
if settings.include? 'folders' | |
settings["folders"].each do |folder| | |
# folder["map"].sub!('{{USERPROFILE}}', ENV['USERPROFILE']) | |
folder["map"] = folder["map"] % { :USERPROFILE => ENV['USERPROFILE'] } | |
if File.exists? File.expand_path(folder["map"]) | |
# ... |
from urllib import request | |
def downloadList(): | |
req_url = "http://www.armitunes.com/lib-request_transition.php?sEcho=19&iColumns=5&sColumns=&iDisplayStart=" + str(display_start) + "&iDisplayLength=" + str(display_length) + "&mDataProp_0=0&mDataProp_1=1&mDataProp_2=2&mDataProp_3=3&mDataProp_4=4&sSearch=&bRegex=false&sSearch_0=&bRegex_0=false&bSearchable_0=false&sSearch_1=&bRegex_1=false&bSearchable_1=true&sSearch_2=&bRegex_2=false&bSearchable_2=true&sSearch_3=&bRegex_3=false&bSearchable_3=true&sSearch_4=&bRegex_4=false&bSearchable_4=false&iSortCol_0=1&sSortDir_0=asc&iSortingCols=1&bSortable_0=true&bSortable_1=true&bSortable_2=true&bSortable_3=true&bSortable_4=true&_=1461438259980" | |
response = request.urlopen(req_url); | |
res_output = response.read() | |
f = open("log_" + str(entry_start) + "_to_" + str(entry_end) + ".json", "ab") | |
f.write(res_output) |
# Recursively finds all .cpp files within the current directory, | |
# and compiles them, printing any messages generated by g++ and writing the | |
# output to the bin folder. | |
from pathlib import Path | |
import os | |
import subprocess | |
bin_path = 'bin/output' | |
file_list = [] # The list of .cpp files to be compiled |
#include <stdio.h> | |
/** | |
* Example demonstrating function pointers in a struct that can be | |
* assigned on a per-type basis (inspired by Quake 3 source's g_local.h's gentity_s type) | |
*/ | |
typedef struct gscreen_s gscreen_t; | |
typedef struct ggame_s ggame_t; | |
#include <stdio.h> | |
typedef struct _vertexStruct { | |
float vertex[2]; | |
float color[3]; | |
} vertexStruct; | |
int main(void) { | |
vertexStruct vertices[] = { |