This file contains hidden or 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
| <!DOCTYPE HTML> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>File Explorer using jQuery UI</title> | |
| <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | |
| <script src="http://code.jquery.com/ui/1.12.0/jquery-ui.js"></script> | |
| <script src="jquery.filebrowser/js/jquery.filebrowser-src.js"></script> | |
| <script src="json-rpc/json-rpc.js"></script> |
This file contains hidden or 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
| #!/usr/bin/env python | |
| import git | |
| import json | |
| import sqlite3 | |
| import re | |
| import os | |
| import os.path | |
| def log(repo): |
This file contains hidden or 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
| RewriteEngine on | |
| RewriteCond %{SCRIPT_FILENAME} !-f | |
| RewriteCond %{SCRIPT_FILENAME} !-d | |
| RewriteRule (.*) /index.php?$1 |
This file contains hidden or 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
| emcc -o main.html -s FETCH=1 -s NO_EXIT_RUNTIME=0 main.c |
This file contains hidden or 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 | |
| output=$(mktemp); | |
| sudo certbot certonly --manual --expand --manual-public-ip-logging-ok \ | |
| --preferred-challenges http -n \ | |
| -d <LIST OF COMMA SEPARATED DOMAINS AND SUBDOMAINS>\ | |
| --manual-auth-hook ./cert.py --agree-tos --email <EMAIL ADRESS> 2>&1 | tee $output | |
| grep "Certificate not yet due for renewal" $output > /dev/null || \ |
This file contains hidden or 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
| // ----------------------------------------------------------------------------- | |
| // Copyright (c) 2018 Jakub Jankiewicz | |
| // Released under MIT license | |
| // | |
| // generic namespace generator the constructor should declare private functions | |
| // and variables and return public api, the module is created when all dependecies | |
| // are resolved (all modules are created) | |
| // | |
| // @param namespace dot separated namespace that will be added to window object | |
| // @param dependencies array of string (dependencies) can be empty array |
This file contains hidden or 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 | |
| /** | |
| * Using data from 2021 (latest) from here: https://ourworldindata.org/grapher/gdp-price-levels-relative-to-the-us?tab=table&time=latest | |
| */ | |
| class PricingParityConverter | |
| { | |
| const COUNTRY_MAP = [ | |
| 'AF' => ['name' => 'Afghanistan', 'code3' => 'AFG'], | |
| 'AL' => ['name' => 'Albania', 'code3' => 'ALB'], |
OlderNewer