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 | |
# Copyright 2023 Khalifah K. Shabazz | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a | |
# copy of this software and associated documentation files (the “Software”), | |
# to deal in the Software without restriction, including without limitation | |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
# and/or sell copies of the Software, and to permit persons to whom the | |
# Software is furnished to do so, subject to the following conditions: |
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 React from 'react'; | |
class MicroFrontend extends React.Component { | |
componentDidMount() { | |
const { name, host, document } = this.props; | |
const scriptId = `micro-frontend-script-${name}`; | |
if (document.getElementById(scriptId)) { | |
this.renderMicroFrontend(); | |
return; |
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
{ | |
"general": { | |
"download_dir": "/tmp/downloads", | |
"db_path": "/tmp/downloads.db", | |
"log_size": 999 | |
}, | |
"server": { | |
"host": "0.0.0.0", | |
"port": 5656 | |
}, |
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 getObj = function(){} | |
const jslDisable = function(){} |
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
/** | |
* Fetches book contents from m.wuxiaworld.co, | |
* and prepare it for Calibre import. | |
* | |
* To create great eBooks with Calibre, do the ff: | |
* - Open Calibre | |
* - Ctrl-Shift-E or click `Add books` Dropdown and select `Add Empty Book` | |
* - Set Details to your book, and select AZW3 (for kindle) or ePub, I set it to AZW3 for my Paperwhite | |
* - Right-click the book you just created and click `Edit book` | |
* - In the File Browser panel, remove `part0000.html` in the Text node. |
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
/** italics **/ | |
[data-mode-id="typescript"] .mtki { | |
font-family: 'Gochi Hand'; | |
font-weight: 600; | |
font-size: 21px; | |
font-style: normal; | |
} | |
[data-mode-id="typescript"] .mtk3.mtki { | |
color: #b5b5b5 !important; |
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
## Alias functions | |
copyToClipboard(){ | |
# requires xclip | |
xclip -sel c < $1 | |
} | |
gotoProjects(){ | |
cd "/home/fallen90/Projects/${1}" | |
} | |
gotoGoProjects(){ |
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
<?php | |
include("itexmo.class.php"); | |
$itexmo = new iTexMo("API_CODE"); | |
//SEND SMS | |
echo $itexmo->sendSMS("Number", "MESSAGE"); | |
//LIST OUTGOING SMS | |
echo $itexmo->listOutgoingSMS(); |
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
<?php | |
class iTextMo { | |
protected $API_CODE = ""; | |
protected $API_BASE = "https://www.itexmo.com/php_api/"; | |
protected $API_ENDPOINTS = array( | |
'SEND_SMS' => 'api.php', | |
'GET_INFO' => 'apicode_info.php', | |
'LIST_OUTGOING' => 'display_outgoing.php', | |
'SERVER_STATUS' => 'serverstatus.php', | |
'CLEAR_OUTGOING' => 'delete_outgoing_all.php' |
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
[ | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": "Build Succeeded" | |
} | |
}, | |
{ | |
"type": "section", |
NewerOlder