Setup for CSCI376 multicore & GPU processing for an Arch Linux system
To install amdapp-sdk:
Using yay,
yay -S --editmenu amdapp-sdk
Edit PKGBuild, remove:
- !upx (depreceated pacman 5.10)\
| //============================================================================================================================== | |
| // An optimized AMD FSR 1.0 implementation for Mobiles | |
| // EASU and RCAS are combined in a single pass. | |
| // Based on https://github.com/GPUOpen-Effects/FidelityFX-FSR/blob/master/ffx-fsr/ffx_fsr1.h | |
| // Details can be found: https://atyuwen.github.io/posts/optimizing-fsr/ | |
| // Distributed under the MIT License. Copyright (c) 2021 atyuwen. | |
| // -- FsrEasuSampleH should be implemented by calling shader, like following: | |
| // AH3 FsrEasuSampleH(AF2 p) { return MyTex.SampleLevel(LinearSampler, p, 0).xyz; } | |
| //============================================================================================================================== | |
| void FsrMobile( |
| "LD_* scout runtime" information: | |
| { | |
| "steam-runtime-system-info" : { | |
| "version" : "0.20240301.0+srt1", | |
| "path" : "/home/jingkai/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-system-info" | |
| }, | |
| "can-write-uinput" : true, | |
| "steam-installation" : { | |
| "path" : "/home/jingkai/.local/share/Steam", | |
| "data_path" : "/home/jingkai/.local/share/Steam", |
Setup for CSCI376 multicore & GPU processing for an Arch Linux system
To install amdapp-sdk:
Using yay,
yay -S --editmenu amdapp-sdk
Edit PKGBuild, remove:
| #! /usr/bin/env python3 | |
| # | |
| # <THE BSD-3 LICENSE> https://opensource.org/licenses/BSD-3-Clause | |
| # Copyright (c) 2019, Jing Kai Tan | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without modification, | |
| # are permitted provided that the following conditions are met: | |
| # | |
| # - Redistributions of source code must retain the above copyright notice, |
| import time | |
| from selenium import webdriver | |
| from selenium.webdriver.common.keys import Keys | |
| from contextlib import closing | |
| from bs4 import BeautifulSoup | |
| import re | |
| url = 'https://simconnect.simge.edu.sg/psp/paprd/EMPLOYEE/HRMS/s/WEBLIB_EOPPB.ISCRIPT1.FieldFormula.Iscript_SM_Redirect?cmd=login' | |
| url2 = 'https://simconnect.simge.edu.sg/psp/paprd_2/EMPLOYEE/HRMS/c/SA_LEARNER_SERVICES.SSR_SSENRL_LIST.GBL?Page=SSR_SSENRL_LIST&Action=A&TargetFrameName=None' |
| Using this copr repo https://copr.fedorainfracloud.org/coprs/tcg/discord/ | |
| dnf copr enable tcg/discord | |
| dnf install Discord-installer | |
| #ABRT was spamming my fedora system with updates nonstop. | |
| sudo systemctl -t service | grep abrt | |
| sudo systemctl stop abrt-journal-core.service | |
| sudo systemctl disable abrt-journal-core.service | |
| sudo systemctl stop abrt-oops.service | |
| sudo systemctl disable abrt-oops.service | |
| sudo systemctl stop abrt-xorg.service | |
| sudo systemctl disable abrt-xorg.service | |
| sudo systemctl stop abrtd.service |
| <?php | |
| include('simple_html_dom.php'); | |
| include('connection.php'); | |
| $sitemap = 'http://www.todayonline.com/sitemap'; | |
| $rsslist = array(); | |
| $htmlsite = file_get_html($sitemap); | |
| $zerolv = $htmlsite->find('div[class=zerolevel]'); | |
| //TodayOnline's sitemap dom has | |
| foreach ($zerolv as $row) | |
| { |
| else: | |
| strippedbinid = binid.strip() | |
| if not strippedbinid: #empty bin, filled with space. no_bin | |
| cur.execute("""SELECT bin_id, quantity | |
| FROM Stockage | |
| WHERE sku_id = %s | |
| AND user_id = %s | |
| AND quantity != %s | |
| ORDER BY (expiry_datetime is NULL),(expiry_datetime = '0000-00-00 00:00:00'), expiry_datetime ASC | |
| LIMIT 1""", (sku, user_id,0,)) |
| <?php | |
| include ('connection.php'); | |
| $csvFile = file('sales_by_biz_details.csv'); | |
| $csv = array_map('str_getcsv', $csvFile); | |
| $headers = $csv[0]; | |
| unset($csv[0]); | |
| $rowsWithKeys = []; | |
| foreach ($csv as $row) |