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)\
"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) |
<?php | |
include 'connection.php'; | |
include 'productmodel.php'; | |
$desc = $rn['proDesc_text']; | |
echo $desc; | |
//short and simple :3 | |
?> |