openpgp4fpr:0B0FFC28414AB8B472DFA9C7326F67DDF3317AC5
🏳️🌈
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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"__based_on": "slim.omp.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#2f2f2f", | |
"foreground": "#26C6DA", |
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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_INFLUXDB_V2_FLUX", | |
"label": "InfluxDB_v2_Flux", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "influxdb", | |
"pluginName": "InfluxDB" | |
} |
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
#754229 acacia_door_bottom.png | |
#79442c acacia_door_top.png | |
#676157 acacia_log.png | |
#565656 acacia_leaves.png | |
#a85a32 acacia_planks.png | |
#33330a acacia_sapling.png | |
#975937 acacia_log_top.png | |
#46352d activator_rail.png | |
#784327 acacia_trapdoor.png | |
#23222d allium.png |
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
["af_za","ar_sa","ast_es","az_az","ba_ru","bar","be_by","bg_bg","br_fr","brb","bs_ba","ca_es","cs_cz","cy_gb","da_dk","de_at","de_ch","de_de","el_gr","en_au","en_ca","en_gb","en_nz","en_pt","en_ud","en_us","enp","enws","eo_uy","es_ar","es_cl","es_ec","es_es","es_mx","es_uy","es_ve","esan","et_ee","eu_es","fa_ir","fi_fi","fil_ph","fo_fo","fr_ca","fr_fr","fra_de","fur_it","fy_nl","ga_ie","gd_gb","gl_es","haw_us","he_il","hi_in","hr_hr","hu_hu","hy_am","id_id","ig_ng","io_en","is_is","isv","it_it","ja_jp","jbo_en","ka_ge","kk_kz","kn_in","ko_kr","ksh","kw_gb","la_la","lb_lu","li_li","lmo","lol_us","lt_lt","lv_lv","lzh","mk_mk","mn_mn","ms_my","mt_mt","nds_de","nl_be","nl_nl","nn_no","no_no","oc_fr","ovd","pl_pl","pt_br","pt_pt","qya_aa","ro_ro","rpr","ru_ru","se_no","sk_sk","sl_si","so_so","sq_al","sr_sp","sv_se","sxu","szl","ta_in","th_th","tl_ph","tlh_aa","tok","tr_tr","tt_ru","uk_ua","val_es","vec_it","vi_vn","yi_de","yo_ng","zh_cn","zh_hk","zh_tw"] |
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 | |
# https://adoptopenjdk.net/installation.html#linux-pkg | |
# 0 | |
CODENAME=$("cat /etc/os-release | grep UBUNTU_CODENAME | cut -d = -f 2") | |
echo "Codename: $CODENAME" | |
# 1 | |
sudo apt-get install -y wget apt-transport-https gnupg | |
# 2 | |
wget https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | |
# 3 |
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
# Adapted from https://community.spiceworks.com/topic/1583047-how-to-update-host-file-automatically-by-batch-file | |
if ($args.Count -lt 2) | |
{ | |
"wslhost (distro name) (hostname) [actually write]" | |
wsl --list | |
return; | |
} | |
$distro = $args[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
{ | |
"HANDSHAKING": { | |
"SERVERBOUND": { | |
"side": "SERVERBOUND", | |
"packets": [ | |
{ | |
"n": 0, | |
"id": "0x00", | |
"name": "HandshakeC2SPacket" | |
} |
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
/** | |
* Time utility class | |
*/ | |
export class Time { | |
static millis(m: number) { | |
return m; | |
} | |
/** |
-
Include Weather Icons in your app: https://github.com/erikflowers/weather-icons
-
Include the below JSON in your application, for example purposes, lets assume it's a global named
weatherIcons
. -
Make a request to OpenWeatherMap:
req = $.getJSON('http://api.openweathermap.org/data/2.5/weather?q=London,uk&callback=?');
NewerOlder