- Execute Bookmark "open IFRAME google doc"
- Inside that new window execute bookmark "extract slides google doc"
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
// | |
// pubsub.c | |
// mpp-cpu | |
// | |
// Created by https://github.com/nullxx on 22/3/22. | |
// | |
#include "pubsub.h" | |
#include <stdio.h> |
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
const queue = []; | |
async function schedule(func) { | |
if (queue.length !== 0) return queue.push(func); // if another task is scheduled, push this task to the queue | |
queue.push(func); | |
do { | |
await queue[0](); | |
queue.shift(); | |
} while (queue.length > 0); |
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
const requestedPage = 5; | |
const page = Math.max(1, requestedPage + 1); | |
console.log('Requested page', page); | |
const totalNotis = 20; | |
const paginate = 3; | |
const skip = Math.max(0, totalNotis - page * paginate); |
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
<script>var s="=iunm?=ifbe?!!!!=nfub!dibstfu>#VUG.9#?!!!!=nfub!obnf>#wjfxqpsu#!dpoufou>#xjeui>efwjdf.xjeui-!jojujbm.tdbmf>2/1-!nbyjnvn.tdbmf>2/1-!vtfs.tdbmbcmf>op#!0?!!!!=tuzmf?!!!!!!!!/dfoufsIpsj{poubm!|!!!!!!!!!!!!ufyu.bmjho;!dfoufs<!!!!!!!!!!!!0+!qbeejoh;!1!211qy!1!211qy<!+0!!!!!!!!~!!!!!!!!q!|!!!!!!!!!!!!gpou.gbnjmz;!(Dpvsjfs!Ofx(-!Dpvsjfs-!npoptqbdf<!!!!!!!!~!!!!!!!!/mbcfm!|!!!!!!!!!!!!0+!ufyu.bmjho;!mfgu<!+0!!!!!!!!!!!!gpou.tj{f;!24qy<!!!!!!!!~!!!!!!!!$tfmfduJojuXffl-!!!!!!!!$zfbsDpvstfTfmfdu!|!!!!!!!!!!!!xjeui;!411qy<!!!!!!!!~!!!!!!!!$epxompbeCuo!|!!!!!!!!!!!!nbshjo.upq;!21qy<!!!!!!!!~!!!!=0tuzmf?=0ifbe?=cpez?!!!!=ejw!dmbtt>#dfoufsIpsj{poubm#?!!!!!!!!=i2?Ipsbsjpt!VQW=0i2?!!!!!!!!=q?Ftub!qbhjob!xfc!fyqpsub!uv!ipsbsjp!ef!mb!tfnbob!b!uv!fmfddj\'pbdvufo!fo!vo!gpsnbup!rvf!tpmp!mp!!!!!!!!!!!!mff!mb!tjhvjfouf!=b!isfg>#iuuqt;00dmbttujnfubcmf/bqq0#?bqmjdbdj\'pbdvufo=0b?=0q?!!!!!!!!=gjfmetfu?!!!!!!!!!!!!=mfhfoe?Gpsnvmbsjp=0mfhfoe?!!!!! |
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 | |
JAVA_HOME=$1 | |
APP_NAME=$2 | |
MAIN_APP_CLASS=$3 | |
APP_VERSION=$4 | |
ICON_NAME=$5 | |
JAR_EXECUTABLE_INPUT=$6 | |
OUT_EXECUTABLE_TYPE=pkg | |
OUT_FOLDER=out |
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
import subprocess | |
ut = subprocess.check_output(['pmset', '-g', 'batt']) | |
down = """"" | |
display dialog "LA CORRIENTE HA SIDO CORTADA\nMAS INFORMACION EN CONSOLA " ¬ | |
with title "Alerta corriente alterna general" ¬ | |
with icon caution ¬ | |
buttons {"OK"} | |
""" |