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 | |
################################################################################ | |
# recap_nilai.sh | |
# Description: Show detail of Transkrip Nilai download from Simaster | |
# Requirements: poppler-utils package | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or |
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/sh | |
SPACE="<space-name>" | |
REGION="<region-code>" | |
STORAGETYPE="STANDARD" | |
KEY="<key>" | |
SECRET="$SECRET" | |
function uploadVideo() { | |
if [ $# -ne 1 ]; then |
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
1. Install line extension from store; https://chrome.google.com/webstore/search/line | |
2. Copy line.desktop to $HOME/.local/share/applications or /usr/share/applications | |
``` | |
cp line.desktop $HOME/.local/share/applications | |
``` | |
3. Done. |
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 | |
# Modified from original shuzhi.sh [https://github.com/tuberry/shuzhi/blob/main/shuzhi%40tuberry/shuzhi.sh] | |
# API from https://github.com/lukePeavey/quotable | |
res=$(curl -s https://api.quotable.io/random?maxLength=80) | |
content=$(echo $res | jq -r .content) | |
test -z "$content" && exit 1 | |
author=$(echo $res | jq -r .author) | |
gap='<span font=\"0.4em\"> </span>\n' |
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
// Buka Halaman evaluasi dosen => Klik dosen yang ingin dinilai | |
// Open Console (Click F12) | |
// Copy Paste kode dibawah ke console | |
// Enter kode checkEdom(1, 3) | |
const checkEdom = (from, to) => { | |
if(from < 1 || from > 4 || to < 1 || to > 4) | |
return throwError(`${from} or ${to} is not a valid number`); | |
for(let i = 1; i < 13; i++) { |