Icons are known to be supported in editors StackEdit & Marxico.
Show an icon .
| #!/usr/bin/env bash | |
| curl -sSL https://raw.githubusercontent.com/Connexeon/dotfiles/master/bootstrap | bash -s |
| /** | |
| Typora user config | |
| C:\Users\hava\AppData\Roaming\Typora\conf\conf.user.json */ | |
| { | |
| "width" : null, // Integer - Window's width in pixels. Default is null (last window width) | |
| "height" : null, // Integer - Window's height in pixels. Default is null (last window height) | |
| "directWrite": true, // Boolean - Enables DirectWrite font rendering system on Windows. Default is true. | |
| "defaultFontFamily": { | |
| "standard": null, //String - Defaults to "Times New Roman". | |
| "serif": null, // String - Defaults to "Times New Roman". |
| /* Update SOA records for zones having a certain IP in the content */ | |
| UPDATE records | |
| SET `content` = 'ns1.connexeon.com. domains.connexeon.com. 2017040701 1200 400 1209600 300' | |
| WHERE `id` IN | |
| (SELECT `id` | |
| FROM records_copy | |
| WHERE `type`='SOA' | |
| AND `domain_id` IN | |
| (SELECT DISTINCT `domain_id` | |
| FROM records_copy |
| Add-VpnConnection -Name "VPN Connexeon" -ServerAddress "vpn.connexeon.com" -TunnelType Pptp -EncryptionLevel Required -AuthenticationMethod MSChapv2 -AllUserConnection -RememberCredential -PassThru -UseWinlogonCredential | |
| Set-VpnConnection "VPN Connexeon" -AllUserConnection -SplitTunneling $True | |
| Add-VpnConnectionRoute -ConnectionName "VPN Connexeon" -DestinationPrefix 10.0.0.0/12 -PassThru | |
| Add-VpnConnectionRoute -ConnectionName "VPN Connexeon" -DestinationPrefix 10.111.0.0/16 -PassThru | |
| Add-VpnConnectionRoute -ConnectionName "VPN Connexeon" -DestinationPrefix 10.50.0.0/16 -PassThru |
| #!/bin/bash | |
| # | |
| # Update script for Nextbox on CentOS 7 | |
| # Releases on https://github.com/digitalocean/netbox/releases | |
| # | |
| # Example usage: | |
| # NETBOX_RELEASE=2.2.6 ./update-netbox.sh | |
| cd /opt |
| # syno-vpn-keepalive.sh | |
| # --- | |
| # Script to keep VPN alive on Synology DSM. | |
| # Checks if IP is pingable and if not: | |
| # disconnect VPN, reconnect VPN & add routes | |
| # --- | |
| # Modify vars: | |
| # - CHECKIP: IP to check to be pingable before reconnecting VPN | |
| # - NAME (Synology VPN name), | |
| # - ID (Synology VPN ID), SSH to NAS & run this to find ID |
| [ | |
| { | |
| "title": "Remote Control {{ticket.requester.firstname}}", | |
| "url": "{{ticket.requester.user_fields.remote_session_link}}" | |
| }, | |
| { | |
| "title": "{{ ticket.organization.name }} in Omega", | |
| "url": "http://xtranet.connexeon.com/CRM/Account.aspx?Id={{ticket.organization.organization_fields.omega_account_id}}" | |
| }, | |
| { |
| # Resets the password for the default LXSS / WSL bash user | |
| $lxssUsername = (Get-ItemProperty HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss).DefaultUsername | |
| lxrun /setdefaultuser root | |
| bash -c "passwd $lxssUsername" | |
| lxrun /setdefaultuser $lxssUsername |