This file contains 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
// ==UserScript== | |
// @name NDHUGetCoursesPeopleAreSelected.user.js | |
// @version 1.2 | |
// @namespace https://yurina.xyz/ | |
// @downloadURL https://gist.github.com/abc1236762/3ec5cae1af8be4c3745db2db8cec6b83/raw/NDHUGetCoursesPeopleAreSelected.user.js | |
// @homepageURL https://github.com/abc1236762 | |
// @author abc1236762 | |
// @description Get the number that people are selected in each course in NDHU Course selection system. | |
// @include http*://sys.ndhu.edu.tw/AA/CLASS/subjselect/* | |
// @grant GM_addStyle |
This file contains 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
// ==UserScript== | |
// @name Facebook Most Recent | |
// @version 1.5 | |
// @namespace https://yurina.xyz/ | |
// @downloadURL https://gist.github.com/abc1236762/2fce8e5a9827693683b6831a805eaa85/raw/FacebookMostRecent.user.js | |
// @homepageURL https://github.com/abc1236762 | |
// @author abc1236762 | |
// @description Let Facebook's news feed always show "Most Recent". | |
// @include http*://www.facebook.com/* | |
// ==/UserScript== |
This file contains 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
[ | |
{ | |
"identifier": { | |
"id": "vscode.bat" | |
}, | |
"preRelease": false, | |
"version": "1.0.0" | |
}, | |
{ | |
"identifier": { |
This file contains 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
// ==UserScript== | |
// @name NDHU Finish Teaching Feedback Instantly | |
// @version 1.0 | |
// @namespace https://yurina.xyz/ | |
// @downloadURL https://gist.github.com/abc1236762/774f29980721af5aec33ccfcb314373a/raw/NDHUFinishTeachingFeedbackInstantly.user.js | |
// @homepageURL https://github.com/abc1236762 | |
// @author abc1236762 | |
// @description Finish teaching feedback instantly in NDHU teaching feedback system. | |
// @include http*://sys.ndhu.edu.tw/AA/CLASS/SubjEvaluate/fill-evalu.aspx* | |
// @run-at document-idle |
This file contains 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
#!/bin/bash | |
# Prepare | |
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' | |
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 | |
curl -sSL 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xC1CF6E31E6BADE8868B172B4F42ED6FBAB17C654' | sudo apt-key add - | |
sudo apt update -y | |
sudo apt install -y python3 python3-pip python3-virtualenv virtualenv | |
sudo apt install -y make cmake gcc g++ wget qt5-default libopencv=3.* python-rosdep |
This file contains 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
// SPDX-License-Identifier: MIT | |
pragma solidity >=0.6; | |
/// @title 選舉投票 | |
contract Vote { | |
// 投票者 | |
struct Voter { | |
string id; // 身分證字號 | |
bool canVote; // 是否能投票 |
This file contains 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
// ==UserScript== | |
// @name DMHY Add Download Torrent File Column | |
// @version 1.3 | |
// @namespace https://yurina.dev/ | |
// @downloadURL https://gist.github.com/yujinlin0224/161893f118dea3fbe6fe3c55ba258d12/raw/DmhyAddDownloadTorrentFileColumn.user.js | |
// @homepageURL https://github.com/yujinlin0224 | |
// @author yujinlin0224 | |
// @description DMHY Add Download Torrent File Column | |
// @include /^https?://((www|share)\.)?dmhy\.org(/.*)?$/ | |
// @require https://raw.github.com/emn178/hi-base32/master/build/base32.min.js |
This file contains 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
// ==UserScript== | |
// @name Redirect Mobile To Desktop | |
// @version 2.0 | |
// @namespace https://yurina.dev/ | |
// @downloadURL https://gist.github.com/yujinlin0224/e40b68374b7fc8e4549333a83b7cfbd1/raw/RedirectMobileToDesktop.user.js | |
// @updateURL https://gist.github.com/yujinlin0224/e40b68374b7fc8e4549333a83b7cfbd1/raw/RedirectMobileToDesktop.user.js | |
// @homepageURL https://github.com/yujinlin0224 | |
// @author yujinlin0224 | |
// @description Redirect mobile version of website to desktop version | |
// @match http*://m.facebook.com/* |
This file contains 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
$tempPath = [System.IO.Path]::GetTempPath() | |
$vcredistUrlTable = [ordered]@{ | |
'2005'=[ordered]@{ | |
'x86'='https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE' | |
'x64'='https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.EXE' | |
} | |
'2008'=[ordered]@{ | |
'x86'='https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x86.exe' | |
'x64'='https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x64.exe' |
This file contains 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
Get-ChildItem 'HKLM:\SYSTEM\CurrentControlSet\Enum\HID' -Include 'Device Parameters' ` | |
-Recurse -Depth 2 -ErrorAction 'SilentlyContinue' | | |
Select-Object -ExpandProperty PSPath | | |
Where-Object { (Get-Item $_).Property -Contains 'FlipFlopWheel' } | | |
ForEach-Object { Set-ItemProperty $_ 'FlipFlopWheel' -Value 1 } |
OlderNewer