install packages first:
yay -S xl2tpd strongswan networkmanager-l2tpref: https://wiki.archlinux.org/index.php/Openswan_L2TP/IPsec_VPN_client_setup
install packages first:
yay -S xl2tpd strongswan networkmanager-l2tpref: https://wiki.archlinux.org/index.php/Openswan_L2TP/IPsec_VPN_client_setup
| function t(orgKey, newKey, c) { | |
| C = "C,C#,D,D#,E,F,F#,G,G#,A,A#,B".split(','); | |
| C = C.concat(C); | |
| var orgIndex = C.indexOf(orgKey); | |
| var newIndex = C.indexOf(newKey); | |
| newIndex = orgIndex > newIndex ? C.lastIndexOf(newKey) : newIndex; | |
| for(i=c.length; i--;) { | |
| var extension = c[i].indexOf('#') !== -1 ? c[i].slice(c[i].indexOf('#') + 1, c[i].length) : c[i].slice(1, c[i].length); | |
| c[i] = c[i].replace(extension, ""); | |
| c[i] = C[C.indexOf(c[i]) + Math.abs(orgIndex - newIndex)] + extension; | 
| <?php | |
| return [ | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Validation Language Lines | |
| |-------------------------------------------------------------------------- | |
| | | |
| | The following language lines contain the default error messages used by | 
| // Kudos to Grumdrig | |
| // http://stackoverflow.com/questions/1207008/how-do-i-lock-the-orientation-to-portrait-mode-in-a-iphone-web-application | |
| $(document).ready(function () { | |
| function reorient(e) { | |
| var portrait = (window.orientation % 180 == 0); | |
| $("body > div").css("-webkit-transform", !portrait ? "rotate(-90deg)" : ""); | |
| } | |
| window.onorientationchange = reorient; | |
| window.setTimeout(reorient, 0); |